Hi, I have now installed Discourse as a standalone, but now I get this error:
PG::UndefinedTable: ERROR: relation “groups” does not exist
The user Justman10000 encountered a PG::UndefinedTable error during a standalone Discourse installation, followed by a NameError related to Discourse::SiteSetting. After realizing the database migration was incomplete, they sought help from Falco, who clarified that the standard install guide—using Docker—is the only officially supported method for production environments. Justman10000 expressed a desire for a standalone production setup, but Falco explained that supporting non-Docker installations would be impractical. pfaffman reinforced that Docker is the production standard, tested, and supported, while other setups are unsupported.
Hi, I have now installed Discourse as a standalone, but now I get this error:
PG::UndefinedTable: ERROR: relation “groups” does not exist
Apparently not the only relation that is missing
Ah, forgot to migrate discourse_development! But now this error:
lib/discourse.rb:534:in `current_hostname’: uninitialized constant Discourse::SiteSetting (NameError)
Can you help me?
Is this a developer environment?
Yes… Whereas I actually want a production
So you need to install it following the standard install guide where this error cannot happen.
Yes, that is the Docker version! However, I would prefer the standalone! It must be possible to install Discourse as a standalone in a productive environment.
While everything is possible in software we only support installs that follow our standard install guide, as providing support for the infinite combinations of free style installs wouldn’t be a productive use of our time.
Why then does one not produce an official manual for a standalone variant?
Because the docker version is what discourse.org uses in production. That’s what’s tested and supported. Anything else and your mostly on your own.