Unable to run Deployment First run from Docker
oaguy1 opened this issue · comments
I ran the command docker-compose up
to bring up the web app. After the docker machines are brought up, I was able to navigate to http://localhost:5000 and saw the login screen. I set a password in appsettings.json for "FirstTimeDeploymentPassword," I then went to http://localhost:5000/Deployment. I keep getting a 500 response with the app console reading:
web_1 | warn: GoNorth.Controllers.DeploymentController[0]
web_1 | User tried to access first time deployment page while not valid.
Any idea on what can resolve this?
Attached is a screenshot with my current docker version running on macOS 10.13.3 (17D47).
Did you set the "FirstTimeDeploymentPassword" before, or after the docker-compose up
? If you did it after, you'll need to run docker-compose up --build
.
If that doesn't fix it for you, what does your appsettings.json
file look like?
Ah! That would probably do it. Probably just going to wait until #7 gets merged at this point, as I want the persistent deploy data and the key fix.
Still having an issue after pulling the latest master and running docker-compose up --build
. I made sure my appsettings.json file had a FirstTimeDeploymentPassword password. Any further advice?
Do you still just get the error message User tried to access first time deployment page while not valid.
. If so, did you also adjust the appsettings.docker.json file and then run the docker-compose up --build
command? Do you have a longer log to see more context?