I'm trying to run Forem locally using docker on a Macbook M1 but am getting the following error on firing the command bin/container-setup
Problem with dial: dial tcp 172.18.0.6:3000: connect: connection refused. Sleeping 20s
I'm looking forward to make some contributions, so please help me figure out this issue so that I can run locally.
Top comments (4)
Hey @vivek7405 ! Thank you for wanting to contribute to Forem!
I am going to try to help you debug this error. I have a few suggestions but first can you send a screenshot of the full output from when you started the setup containers script to when you saw the connection error. This will help us see if there were any other earlier errors and make it easier to give you the right suggestions to fix this issue. Thanks! π
Hello @coffeecraftcode !
I am having the same issue as Vivek - can you kindly assist and let me know how to resolve this issue. This link has a screenshot of terminal output cln.sh/ZS2T1B
Thank you,
Issam
Hello again!
Based on the above I took the following steps (keep in mind I am still running on macOS Catalina v 10.15.7 with xcode 12.4 / pwd /Users//Tutorial/forem/local/forem):
But still getting an error (see screen shot cln.sh/FieOoq45FLumt3EyjP1s) - any assistance will be highly apperciated. As I wish to run Forem locally in order to see how it works and if it is the right fit for us.
Hope to hear from you soon.
Hey @issam - welcome to forem.dev!
For Forem Self-host, we recommend you follow the self-host guide, and can only offer troubleshooting support for this version of Forem installation.
The installation guide at developers.forem.com is intended for contributing developers, rather than for functioning Forems. You won't have the same experience using a development installation of Forem, and it probably won't give you an accurate reflection of how a cloud-based Forem instance will function.
We recommend using one of the methods described in the self-host guide, and setting your Forem to be a private Forem to test it out.