New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker pull update , app.ini isn't work,redirect to install page #5933
Comments
|
My gogs contained gets updated automatically to latest with watchtower. This morning gogs was reported down, because it's listening on port 3000 while Traefik would expect it to run on port 3001 (per my gogs config file). gogs is not using my config file anymore and it apparently expects my config file to be located somewhere else:
My volume has always been mounted as |
|
Thanks for the report! I'm looking into it. |
|
The problem seems it is not reading |
|
Patch pushed: d3ecd22, waiting for Docker Hub to build the image. |
|
Image is up! Please do another Sorry about down time, doing a lot refactoring recently. |
|
Thanks for the quick patch! It works, I'm back in business :-) |
|
@unknwon Thank you for the fix!
Thanks in advance! |
Yes, it is safe to pin back to 0.11.91.
Good idea, I'll think about it next time cutting a release |
|
Great, thank you! |
Thank you, 0.11.91 will be much better. I check my |
|
I made cron jobs to pull gogs/gogs:latest like this: And I found this issue and thought the tag latest was not designed to be stable ,then I drop cron jobs. |
|
Hi, I am facing a similar problem on Centos 8 version 0.12.3 But on the web interface, when I try to access a folder, it says: http 500 So i tryed to fix writing some code in the folder to see if it goes away. But when I try this. The following message appears: Gogs is running with git user. git user does not have a folder with profile. Does not have GOGS_CUSTOM set anywhere. I have fixed the issue. How? Copying the /opt/gogs/custom/conf/app.ini to /etc/gogs/conf/ When I push a commit, it spawns a new process? that uses the GOGS_CUSTOM. Is there a proper way to solve this? Not by duplicating the config file? |
Describe the bug
I did some task like these steps:
docker pull gogs/gogs
// mounted /data to volumes and docker-compose up again
After docker container up,when open gogs login page,browser was redirect to /install (install page).
But change docker-compose image from gogs/gogs:last to gogs/gogs:0.11, it works.
Last good version i know is 0.12.0-dev.
Gogs version or commit
On branck master near 2020-2-22 15:31:01 ,I think.
Git version
Operating system
Database
To Reproduce
Steps to reproduce the behavior:
Can you reproduce the bug at https://try.gogs.io?
No.It seems to be ok now.
Expected behavior
Docker image update safely.
Actual behavior
It seems to be something wrong with app.ini,app conf didn't work.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: