Closed Yrobot closed 10 months ago
排查了好久定位到这里。看了日志好像也没什么有效信息。求大佬帮助。
lsky-pro | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
lsky-pro | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
lsky-pro | [Wed Jan 17 03:47:10.735206 2024] [mpm_prefork:notice] [pid 15] AH00163: Apache/2.4.57 (Debian) PHP/8.1.27 configured -- resuming normal operations
lsky-pro | [Wed Jan 17 03:47:10.735267 2024] [core:notice] [pid 15] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
lsky-pro | 192.168.0.33 - - [17/Jan/2024:03:47:10 +0000] "GET /install HTTP/1.1" 404 492 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
lsky-pro | 192.168.0.33 - - [17/Jan/2024:03:47:11 +0000] "GET /install HTTP/1.1" 404 491 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
lsky-pro | 192.168.0.33 - - [17/Jan/2024:03:48:02 +0000] "-" 408 0 "-" "-"
现在的镜像对于日志处理确实不友好。你部署用的数据库是MySql,Sqlite还是其他数据库呢?
现在的镜像对于日志处理确实不友好。你部署用的数据库是MySql,Sqlite还是其他数据库呢?
hello, 目前用docker cli 直接部署 还没到 配置数据库的步骤, 后续打算是在 install 界面 配置 Postgres 数据库。以下是我的docker cli command:
docker run -d \
--name lsky-pro \
--restart unless-stopped \
-p 8089:8089 \
-v /DATA/lsky:/var/www/html\
-e WEB_PORT=8089 \
halcyonazure/lsky-pro-docker:latest
先尝试使用下SqLite排除看看是否是数据库的问题,同时你的-v /DATA/lsky:/var/www/html\
这里,html
和\
之间缺少了一个空格,加上空格试试:
docker run -d \
--name lsky-pro \
--restart unless-stopped \
-p 8089:8089 \
-v /DATA/lsky:/var/www/html \
-e WEB_PORT=8089 \
halcyonazure/lsky-pro-docker:latest
放弃了,用另一个 lsky-pro的docker包也这样,配置了volume就会404。和这边应该关系不大,我先把issue关了吧。
好吧,如果后续需要远程协助可以在tg上联系我 :wink: :https://t.me/HalcyonAzure
去除 volume后可以正常展示
添加 volume后就会 404,当前为 /install