Mysql errors after upgrading


Hi y’all, I am facing the following problem with gogs binary linux 64bit, after upgrading from 0.9: when I do git push origin master, I get lots of remote: Gogs: Internal error, and when I check xorm.log on the server, I see many errors similar to this one:

Table public_key Column created_unix db default is NULL, struct default is (space at the end)

I checked, and in the MySQL tables, the default is indeed NULL. So I assume gogs is expecting something that it cannot get from the DB.

I am using mysql for the DB, and the internal SSH server.

I hope I’ve provided enough info, thanks!




Hi, aside from xorm.log, you should be able find error log directly produced by Gogs under path/to/gogs/log/ directory.