-
Notifications
You must be signed in to change notification settings - Fork 475
Error while running docker-compose up(installation steps) #172
Comments
Umm, currently the stable tag Docker image is not uploaded, sorry about that. And thanks for reporting. For now, you can change the line 6 in docker-compose.yml and change the tag to
|
And I am not sure if the |
As far as we can tell, this is a bug with Docker Hub. The repo below should automatically update, but it has not done so for two weeks. https://hub.docker.com/r/freecodecamp/mail-for-good/ We've reported it to Docker, who have said they're looking into it. We won't be able to make any progress on this one until we hear back. |
@karuppiah7890 Am I setting this up right? |
Like @AndrewGHC mentioned, there are some problems in the freecodecamp Docker Hub repository due to issues on Docker Hub side, so the Docker images aren't updated. You can try a version that I uploaded recently for using in a server (but it's not the latest), by changing line 6 to
|
@karuppiah7890 I followed your instruction, then ran The server booted up, I went to This is what the logs show:
Any idea what I'm doing wrong? Thanks a lot! |
Not sure if it's related, but at first I didn't set a
Then I changed the Maybe there's something wrong with establishing a database connection and that's why it blows up after receiving the Google oAuth callback? Please let me know if there's anything I can do to help investigate to contribute a fix for this. Thanks! |
@hsribei I wouldn't be able to advise until Docker get back to us. I've spoken with @QuincyLarson about this and might be able to build this manually if I can get permissions to the Hub repo. We're haven't heard back from the Docker team yet. The problem is simply that there was a bit of a frenzy in terms of updating and changing various bits of the app, so I can't vouch for the version that Docker Hub is currently frozen at. I'm a fan of @karuppiah7890's suggestion to run docker in development to resolve OS/environment issues once and for all. While I'm working pretty much flat out this week I'll have a good amount of time next week to address these issues. Watch this space! |
@hsribei Are you using my Docker image ? I just tried the whole thing with my Docker image, and it does work. The Postgresql is not really creating issues. I think it's your Google API keys configuration that's creating issues. And even I get a "relation doesn't exist" error, but then the application works. I believe sequelize creates the relation later. The |
@ashish-y Does it work for you now ? |
Oh sorry, I was trying to comment using my phone and clicked on "close issue" by mistake. |
@karuppiah7890 I found the error! I had set up the Google+ API on Google API Manager, but after setting it up it remained disabled. I enabled it, then things worked :) Now on to setting up Amazon SES. |
@AndrewGHC I think this issue can be closed, since the Docker images look fine and work well. |
I also can't get it to work. Using the stable tag I get the following error at the end.
|
@arashsoheili Umm, it's an error which occurs while running the application for the first time, but the error doesn't crash the App. It can be ignored for now ( we have to fix it so that it doesn't pop up unnecessarily like in this case ). You can try the Application in the browser and it will work. Try it out and let us know if any other error pops up! |
@karuppiah7890 Yes, it is working. I was confused as the console shows that it's running on port 8080 and that's what I was expecting in my host browser. But it seems that host port 80 is mapped to 8080. I think it would be better if host port 8080 was matched to the container port 8080 instead. Also the local deploy guide incorrectly states localhost:8080 as well. |
@arashsoheili Yeah, sorry about that. Thing is, we recently changed some configurations (like mapping host port 80 to container port 8080) - so that people can run the system in production without changing config. But we didn't change it in the guide. |
I have created an issue #194 to address it. Thanks @arashsoheili for notifying this 😄 |
@karuppiah7890 Okay, that's fair. But this can be better solved by having different docker compose files like |
True, I agree @arashsoheili , we actually plan to have even a development version of the docker-compose file for development purposes |
After installing Docker and doing the necessary steps
when I run
docker-compose up
Getting this error message:
manifest for freecodecamp/mail-for-good:stable not found
The text was updated successfully, but these errors were encountered: