A user, ratnamraj_raj, encountered the error “Ember CLI is Required in Development Mode” after manually installing Discourse on Ubuntu 20.04 using nginx and Passenger — not following the official Docker-based install guide. supermathie clarified that this setup is for development only and not suitable for production, and that only Docker installations are officially supported. After switching to the Docker method, ratnamraj_raj faced a port conflict error: “address already in use” on port 80, likely due to nginx still running. RGJ and Canapin advised stopping services using ports 80/443 or starting fresh on a clean server, as recommended in the install guide. pfaffman suggested alternative guides for running Discourse alongside existing web servers like nginx or Apache. The core issue stems from dev-mode configuration and port conflicts, resolvable by adhering strictly to the Docker install guide or properly configuring reverse proxy setups.
This is happening because you already have something running on port 80. Maybe your previous nginx installation. You should start from a fresh, new server, just like the installation guide tells you to do.
Richard how you are suggested like this, for simple nginx process, we need to create new server new process, how its possible instead of fix that error ?
As long as you follow a standard install, setting up a fresh server and re-install Discourse is often the best way to make things work instead of trying to fix broken or misconfigured configurations.
If your port 80 is already used, it means that there’s software using it. Either the server you set up is pre-configured with a web server or similar software or you previously installed things on your server prior to installing Discourse.
What is your server’s provider? What version of Linux are you using?
Did you install Discourse following the official guide straight after creating the server?