-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Database changes in 0.12.11? #7724
Comments
... and soon you will be upgrading to 0.13, hopefully :) Anyway, I have no idea when the database was changed, and why the automatic procedure failed, since I'm just a humble user with little to zero experience in hacking the complex Gogs code. However, it's clear that this error is thrown by MySQL when there is a problem with a missing or mistyped column. Looking at the Gogs source code documentation for developers, it does indeed seem that table So maybe all you need to do is to manually add that column with the specified parameters and see what happens?... note that adding columns should be pretty much harmless, just wasting a bit of space on the database. It's missing columns that's dangerous! |
Discussed in #7723
Originally posted by tcroes April 10, 2024
We recently upgraded from 0.11.34 to 0.11.91 and then to 0.12.11 (in the same evening - in the event timing is an issue). We also use an external LDAP authentication source. We're using mysql.
We are seeing a 500 error when trying to set the LDAP authentication method as default:
Error 1054: Unknown column 'is_default' in 'field list'
We see the same error if we try to add a new LDAP auth method.
Could we have missed a set of necessary database migration changes?
The text was updated successfully, but these errors were encountered: