Skip to content

[Bug] 群晖上面部署后无法正常工作 #484

Description

@Satiakura

问题描述

如题。初步排查了一圈,定位问题出在数据库模块无法正常工作

附相关日志

mario.log

docker_safeline-mario.log

postgresql-2023-11-30_042950.json

webserver.log

nginx.log

版本号

3.13.2

复现方法

1、使用的在线安装脚本部署,首先遇到的问题是部分必需目录没有自动创建。
手动创建各个目录后 docker-compose up -d 可以正常启动所有容器

2、进入后台页面后各个请求均报502错误,页面内容无法正常显示,功能无法正常运作。如下图所示

微信图片_20231130140533

3、docker ps 查看 safeline-mario 每隔几分钟会重启一次

4、查看 mario.log 发现连接数据库时始终报 timeout

5、进入 safeline-tengine 容器中ping了一下 postgresql 的ip可以连通

5、手动开启 postgresql 日志记录功能截取日志,保存为 postgresql-2023-11-30_042950.json

6、docker logs safeline-mario 截取日志保存为 docker_safeline-mario.log

期望的结果

能正常工作

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions