请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
Apol1oBelvedere
V2EX  ›  NAS

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

  •  1
     
  •   Apol1oBelvedere · Dec 16, 2022 · 2650 views
    This topic created in 1256 days ago, the information mentioned may be changed or developed.

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