-
Notifications
You must be signed in to change notification settings - Fork 415
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安装完成后访问ip:port返回HTTP500 #259
Comments
查看docker日志,部分截取和全文如下:
|
你的配置的数据库用户 |
修好了,不能一开始起容器的时候就配置volume选项,需要先进入一次页面然后安装相关依赖并填写配置项,正常安装完成后才可以重新配置容器并启用volume导出 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in https://github.com/MoeNetwork/Tieba-Cloud-Sign/discussions/258
Originally posted by AlexanderWolfZhang December 28, 2023
Ubuntu22.04.3版本,对照docker compose中的环境变量手动配置添加了容器,启动后访问ip:端口出现http500报错。数据库使用了服务器上原本的数据库(docker部署,mariadb:latest),host、用户名和库名都填写了,tiebacloud的docker中可以ping通数据库的docker,并且如果故意在env中填错数据库名的话还会提示“对数据库xx的访问被拒绝”,也说明数据库是可以连上的,但是只要把数据库名修改为正确的名称则访问就会出现500报错,查看数据库里也没有数据表。
docker的配置和问题相关截图如下图所示
The text was updated successfully, but these errors were encountered: