-
Notifications
You must be signed in to change notification settings - Fork 353
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更新到新版本打开500错误 #69
Comments
从哪个版本升级的呢,版本跨的比较多的话,需要执行数据库表迁移
看日志的话,目前需要进入到容器中,在
|
我刚刚试过了重新部署一套没问题 把数据库导进去 就不行了 |
执行迁移(migrate)后报错这个可以这样解决,在
然后在重新执行 migrate 就可以了。 上面截图这个表应该是 |
|
6 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
192.9.98.24 - - [04/Mar/2020:04:30:23 +0000] "GET / HTTP/1.1" 500 2493 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
页面显示500 | Server Error
请问怎么看日志文件 哪里有问题了,请问数据库的字段有更改吗
The text was updated successfully, but these errors were encountered: