-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
After update to version 1.20.0 Gitea refused to start #25995
Comments
Try to modify app.ini from
to
|
@lunny This bug report is about missing log entries, incorrect information and the incomplete change log, which may prevent people from finding the configuration error easily.
|
Be aware that you have to remove or comment (using ;) the old setting. |
Can this also be added to the upgrade documentation? I just ran into this issue while upgrading and took a lot of searching to find this post. |
I tried to create a pull request to update the installation/upgrade instructions, but couldn't create a request due to not being a collaborator. Can someone add the above file to a pull request? |
Reasonable. I think we can add a step for upgrade which is check your admin panel top bar. Some deprecated configurations will be displayed there, if you couldn't resolve them, Gitea may cannot started after upgrade. I will create a PR for that. |
…ions (#26451) fix #25995 (comment) --------- Co-authored-by: silverwind <me@silverwind.io>
…ions (go-gitea#26451) fix go-gitea#25995 (comment) --------- Co-authored-by: silverwind <me@silverwind.io>
…ions (#26451) (#26452) Backport #26451 by @lunny fix #25995 (comment) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
Description
Start with
systemctl start gitea
fails.The log configured in
app.ini
does not give any hint about the cause of the error (neither didjournalctl
).Starting Gitea interactively from the terminal revealed the cause:
This information should probably also be written to configured log file. Also "v1.19.0" in the error message does not seem to be correct. And it may be added to the list of breaking changes (https://github.com/go-gitea/gitea/releases/tag/v1.20.0).
Gitea Version
1.20.0
Can you reproduce the bug on the Gitea demo site?
No
How are you running Gitea?
Download from GitHub; run as a Systemd service.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: