群晖 Synology 安装 nextcloud 官方 docker 运行出现 AH00558: apache2 错误该如何解决?

2022-12-16 17:35:29 +08:00
 Apol1oBelvedere

从群晖自带 Docker 套件的注册表中搜索 nextcloud 出现加星 4K 的 docker ,下载全部默认配置启动,启动一会后停止,报错如下,该怎么解决?

[Fri Dec 16 08:25:58.272415 2022] [mpm_prefork:notice] [pid 1] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Dec 16 08:25:46.090733 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Fri Dec 16 08:25:46.090681 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/8.1.13 configured -- resuming normal operations
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message

备注:搜索网络有人有一样的问题但是一直也没解决。

1828 次点击
所在节点    NAS
11 条回复
wbzd
2022-12-16 17:42:16 +08:00
我不懂欸,不过我觉得 Cloudreve 也蛮不错的。
defunct9
2022-12-16 17:57:26 +08:00
提示你了,照它说的改就是了
jfdnet
2022-12-16 18:01:35 +08:00
docker 部署这东西不大存在所谓的默认配置,你肯定要根据你的环境改一下配置了。建议还是研究一下它的部署指引吧。
hopingtop
2022-12-16 18:51:38 +08:00
看看 Dockerfile 是否有通过 环境变量 配置这个 ServerName
sdk234
2022-12-16 19:17:28 +08:00
你确定是这个错误导致的停止?我也有这个错误,这个不应该影响正常运行啊。
Apol1oBelvedere
2022-12-16 19:39:38 +08:00
@defunct9 @hopingtop 谢谢,在群晖的高级设置里增加 ServerName 值为 localhost 即可。
lyz1990
2022-12-16 21:33:11 +08:00
虽然可以,但是为啥要在群晖里面装 nextcloud ?
Apol1oBelvedere
2022-12-16 22:17:36 +08:00
@lyz1990 测试看看 nextcloud 的扩展,现在发现扩展没什么意思,其他功能并没有群晖自带的简洁好用。
BigTaoTao
2022-12-17 09:01:12 +08:00
@Apol1oBelvedere 搞定了 https 了吗?我卡这了。
hopingtop
2022-12-17 09:32:23 +08:00
@BigTaoTao 一般操作是,起一个 nginx 通过 acme.sh 去配置,然后通过 nginx 代理你的 nextcloud 。内部 http 访问应该不影响。没具体看 nextcloud 但是看它上面的 docker 报错,应该内部有 Apache 服务,acme.sh 也支持
mu2er
2022-12-17 13:33:15 +08:00
以前好奇 nextcloud 的功能用 docker 在群晖上部署了,但是网页太卡了,很长一段时间就连着安卓手机的 swiftbackup 备份用,也没太在意过它。
直到前不久看了看群晖的存储报告,nextcloud 文件历史版本膨胀到了 100 多 G ,还在 nextcloud 的网页 UI 找不到设置界面,只好手动进目录里删了所有文件版本。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/903017

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX