V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
工单节点使用指南
• 请用平和的语言准确描述你所遇到的问题
• 厂商的技术支持和你一样也是有喜怒哀乐的普通人类,尊重是相互的
• 如果是关于 V2EX 本身的问题反馈,请使用 反馈 节点
shierji
V2EX  ›  全球工单系统

seafile 在 arch 上安装后访问显示 Internel Server Error

  •  
  •   shierji · 2017-02-18 22:33:48 +08:00 · 2790 次点击
    这是一个创建于 2614 天前的主题,其中的信息可能已经有所发展或是发生改变。

    log 感觉没啥有意义的东西:

    -rw-r--r-- 1 root root    0 2 月  18 17:35 seahub.log
    -rw-r--r-- 1 root root 2.1K 2 月  18 22:06 seahub_email_sender.log
    -rw-r--r-- 1 root root    0 2 月  18 17:35 seahub_django_request.log
    -rw-r--r-- 1 root root  978 2 月  18 22:06 seafile.log
    -rw-r--r-- 1 root root  20K 2 月  18 22:26 seafevents.log
    -rw-r--r-- 1 root root 6.8K 2 月  18 20:06 elasticsearch.log
    -rw-r--r-- 1 root root    0 2 月  18 17:35 elasticsearch_index_search_slowlog.log
    -rw-r--r-- 1 root root    0 2 月  18 17:35 elasticsearch_index_indexing_slowlog.log
    -rw-r--r-- 1 root root 8.2K 2 月  18 20:06 controller.log
    -rw-r--r-- 1 root root 4.0K 2 月  18 20:06 ccnet.log
    

    ccnet.log 内容大致如下:

    [02/18/17 20:06:09] ../common/session.c(139): using config file /srv/seafile/conf/ccnet.conf
    [02/18/17 20:06:09] ../common/session.c(462): socket file exists, delete it anyway
    [02/18/17 20:06:09] ../common/session.c(491): Listen on /srv/seafile/ccnet/ccnet.sock for local clients
    [02/18/17 20:06:09] ../common/session.c(297): Update pubinfo file
    [02/18/17 20:06:10] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:10] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:11] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:11] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:12] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:12] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:19] ../common/session.c(405): Accepted a local client
    [02/18/17 20:06:19] ../common/peer.c(950): Local peer down
    

    其他 log 我看了下。貌似都没啥有意义的输出。。。

    另外发的这里的一个重要原因是在 https://bbs.seafile.com/ 注册的时候,因为收不到激活邮件,没法完成注册。。。。

    所以有 seafile 的在 v 站么

    5 条回复    2017-02-19 10:50:50 +08:00
    Quaintjade
        1
    Quaintjade  
       2017-02-18 22:50:38 +08:00 via Android   ❤️ 1
    海文互知很久前来发过招聘帖,但这里开工单估计没用。

    Seafile 我记得设置时路径比较搞,尤其是用子目录(而不是直接用域名)的情况下。
    socks 不了解,我是直接照英文官网教程在 centos 架设 apache+php-fpm 的。
    avichen
        2
    avichen  
       2017-02-19 07:52:26 +08:00   ❤️ 1
    禁用 selinux 试试
    zent00
        3
    zent00  
       2017-02-19 09:26:10 +08:00 via iPhone   ❤️ 1
    @avichen arch 默认安装后哪里来的 selinux
    shierji
        4
    shierji  
    OP
       2017-02-19 10:49:24 +08:00
    @avichen
    @zent00 seafile 依赖 libselinux 。不过没看到哪儿有配置的, arch 默认是不会装 selinux 的。。。= =
    shierji
        5
    shierji  
    OP
       2017-02-19 10:50:50 +08:00
    @Quaintjade seahub 默认通过 gunicorn 运行,上 https 才需要 nginx 吧- -
    而且 seahub 貌似是 python 写的吧,不会用到 php 的说
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   977 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:22 · PVG 04:22 · LAX 13:22 · JFK 16:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.