V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Apol1oBelvedere
V2EX  ›  NAS

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

  •  1
     
  •   Apol1oBelvedere · 2022-12-16 17:35:29 +08:00 · 1785 次点击
    这是一个创建于 468 天前的主题,其中的信息可能已经有所发展或是发生改变。

    从群晖自带 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
    
    

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

    11 条回复    2022-12-17 13:33:15 +08:00
    wbzd
        1
    wbzd  
       2022-12-16 17:42:16 +08:00
    我不懂欸,不过我觉得 Cloudreve 也蛮不错的。
    defunct9
        2
    defunct9  
       2022-12-16 17:57:26 +08:00 via iPhone
    提示你了,照它说的改就是了
    jfdnet
        3
    jfdnet  
       2022-12-16 18:01:35 +08:00
    docker 部署这东西不大存在所谓的默认配置,你肯定要根据你的环境改一下配置了。建议还是研究一下它的部署指引吧。
    hopingtop
        4
    hopingtop  
       2022-12-16 18:51:38 +08:00
    看看 Dockerfile 是否有通过 环境变量 配置这个 ServerName
    sdk234
        5
    sdk234  
       2022-12-16 19:17:28 +08:00 via Android
    你确定是这个错误导致的停止?我也有这个错误,这个不应该影响正常运行啊。
    Apol1oBelvedere
        6
    Apol1oBelvedere  
    OP
       2022-12-16 19:39:38 +08:00
    @defunct9 @hopingtop 谢谢,在群晖的高级设置里增加 ServerName 值为 localhost 即可。
    lyz1990
        7
    lyz1990  
       2022-12-16 21:33:11 +08:00
    虽然可以,但是为啥要在群晖里面装 nextcloud ?
    Apol1oBelvedere
        8
    Apol1oBelvedere  
    OP
       2022-12-16 22:17:36 +08:00
    @lyz1990 测试看看 nextcloud 的扩展,现在发现扩展没什么意思,其他功能并没有群晖自带的简洁好用。
    BigTaoTao
        9
    BigTaoTao  
       2022-12-17 09:01:12 +08:00
    @Apol1oBelvedere 搞定了 https 了吗?我卡这了。
    hopingtop
        10
    hopingtop  
       2022-12-17 09:32:23 +08:00
    @BigTaoTao 一般操作是,起一个 nginx 通过 acme.sh 去配置,然后通过 nginx 代理你的 nextcloud 。内部 http 访问应该不影响。没具体看 nextcloud 但是看它上面的 docker 报错,应该内部有 Apache 服务,acme.sh 也支持
    mu2er
        11
    mu2er  
       2022-12-17 13:33:15 +08:00 via iPhone
    以前好奇 nextcloud 的功能用 docker 在群晖上部署了,但是网页太卡了,很长一段时间就连着安卓手机的 swiftbackup 备份用,也没太在意过它。
    直到前不久看了看群晖的存储报告,nextcloud 文件历史版本膨胀到了 100 多 G ,还在 nextcloud 的网页 UI 找不到设置界面,只好手动进目录里删了所有文件版本。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5365 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:29 · PVG 15:29 · LAX 00:29 · JFK 03:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.