I found out this error when I opened my web preparing to initiate the site. I didn’t know how to fix it, any one can help me pls
You got this error when doing a standard install? Or you are rebuilding a site that was working?
How much ram and swap do you have?
Development version, I think I only got 2GB ram…
Not rebuilding, I am now building the site
So Install Discourse for development using Docker or a native install?
I don’t think you can have a development machine with just 2gb.
native install…
The thing is that I want to install discourse for production, but my machine cannot support docker install as the swap is not enough. So I changed to development and I initally thought I can do this on a 2gb ram machine LOL
If you want people who are not sitting at your computer to use it, you want a production install. If you can’t increase your swap to at least 2GB (which you should be able to do) then you’ll need to use a different VM.
i have this issue too in my mac intel. I try native macos installation and in docker too. Both same issue.
Do you have any plugins installed?
No, i simply was going to do a clean dev install. That happens just after admin account created and trying to go first time to localhost:3000. I am also in a mac recently installed.
wait, just when i was writing the reply i saw myswlf i was using port 3000 and not 4200, i just tried port 4200 and it works. Maybe the other user that started the thread had same problem.
This article helped for me Guide to Setting Up Discourse Development Environment - Windows 11
It appears that you should run this:
DISCOURSE_HOSTNAME=localhost UNICORN_LISTENER=localhost:3000 bin/ember-cli -u
it starts:
- rails server
- sidekiq
- ember-cli
And discourse becomes available at localhost:4200
It’s a shame that this is not mentioned in DEVELOPMENT-OSX-NATIVE nor in DEVELOPER-ADVANCED.md