最新版本 v1.10.21-lts 无法安装 PostgreSQL 数据库

最新版本 v1.10.21-lts 无法安装 PostgreSQL 数据库,点击安装之后直接跳转到登录界面,安装 PostgreSQL 其它版本也一样。

和我已经安装了 MySQL 数据库有关系吗?

麻烦提供一下系统日志
/opt/1panel/log/1Panel.log

[2024-12-02 00:00:00] [INFO] clear monitor website log task in progress ...  
[2024-12-02 00:00:00] [INFO] Website scheduled task in progress ...  
[2024-12-02 00:00:00] [INFO] Website scheduled task has completed  
[2024-12-02 00:00:00] [INFO] The scheduled certificate update task is currently in progress ...  
[2024-12-02 00:00:00] [INFO] The scheduled certificate update task has completed  
[2024-12-02 00:00:01] [INFO] clear monitor website log  task has completed  
[2024-12-02 00:05:00] [DEBUG] [xpack] sync license successful!  
[2024-12-02 01:30:00] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/backup -type s -printf '%P
' | sed 's|^|./|') -zcf /opt/1panel/backup/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2/1panel/1panel_backup.tar.gz  --exclude ./system --exclude ./system_snapshot -C /opt/1panel/backup .  
[2024-12-02 01:30:00] [DEBUG] docker save 1panel/openresty:1.21.4.3-3-3-focal halcyonazure/lsky-pro-docker:latest mysql:8.4.3 corentinth/it-tools:2024.10.22-7ca5933 cloudreve/cloudreve:3.8.3 | gzip -c > /opt/1panel/backup/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2/docker/docker_image.tar  
[2024-12-02 01:33:00] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel -type s -printf '%P
' | sed 's|^|./|') -zcf /opt/1panel/backup/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2/1panel/1panel_data.tar.gz  --exclude ./tmp --exclude ./log --exclude ./cache --exclude ./db/1Panel.db-* --exclude ./backup --exclude .*.sock -C /opt/1panel .  
[2024-12-02 01:33:30] [DEBUG] tar --warning=no-file-changed --ignore-failed-read --exclude-from=<(find /opt/1panel/backup/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2 -type s -print) -zcf  - -C /opt/1panel/backup/system snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2 | openssl enc -aes-256-cbc -salt -k 'charles3ng16' -out /opt/1panel/tmp/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2.tar.gz  
[2024-12-02 01:34:03] [DEBUG] compress successful! size of file: 832.13M  
[2024-12-02 01:34:03] [DEBUG] remove snapshot file /opt/1panel/backup/system/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2  
[2024-12-02 01:34:03] [DEBUG] start upload snapshot to LOCAL, path: system_snapshot/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2.tar.gz  
[2024-12-02 01:34:19] [DEBUG] upload to LOCAL successful  
[2024-12-02 01:34:19] [DEBUG] start upload snapshot to OSS, path: 1panel/system_snapshot/snapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2.tar.gz  
[2024-12-02 01:35:20] [DEBUG] upload to OSS failed, err: Put "http://pengjiayou-cn.oss-cn-shanghai.aliyuncs.com/1panel%2Fsystem_snapshot%2Fsnapshot_1panel_v1.10.21-lts_amd64_202412020130004r7q2.tar.gz?partNumber=1&uploadId=6FE18B2C14B54B928CA035563C86E5BA": write tcp 192.168.4.60:36986->106.14.228.163:80: i/o timeout  
[2024-12-02 02:23:00] [INFO] AppStore scheduled task in progress ...  
[2024-12-02 02:23:00] [INFO] Starting synchronization with App Store...  
[2024-12-02 02:23:00] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip  
[2024-12-02 02:23:00] [INFO] Starting synchronization of application details...  
[2024-12-02 02:23:03] [INFO] Synchronization of application details Success  
[2024-12-02 02:23:03] [INFO] Synchronization with the App Store was successful!  
[2024-12-02 02:23:03] [INFO] AppStore scheduled task has completed  

我看了,貌似没有记录安装 PostgreSQL 的记录。

BTW,我在拷贝这个日志之前试着安装过,就是没有记录。

继续补充,我的面板是通过 OpenResty 反代的,不知道和这个有没有关系,有空我用 ip 访问 1panel 试试看。

后端服务没有 panic 重启,大概率就是这个反代的配置问题,可以直接用 ip 试试

找到原因了,确实是因为使用反向代理,安装 PostgreSQL 的时候被自带的 WAF 拦截了。