|
本帖最后由 mushan099 于 2020-7-3 20:43 编辑
使用的是一键部署脚本安装的,升级也是使用介绍的升级方式
https://github.com/haiwen/seafile-server-installer-cn
版本升级
关闭 seafile-server 相关服务
切换为 seafile 用户
下载高版本的安装包到 /opt/seafile 目录,并解压
进入安装包下的 upgrade 目录,执行相关的升级脚本,具体可参考 https://download.seafile.com/published/seafile-manual/upgrade/upgrade.md
启动 seafile-server 相关服务
升级完就这样了
这个是nginx 的部分日志
2020/07/03 07:55:58 [error] 1743#0: *4040 open() "/opt/seafile/seafile-server-latest/seahub/media/custom/mylogo.png" failed (13: Permission denied), client: 192.168.96.204, server: seafile.example.com, request: "GET /media/custom/mylogo.png HTTP/1.1", host: "192.168.102.225", referrer: "http://192.168.102.225/accounts/login/?next=/"
2020/07/03 07:55:58 [error] 1743#0: *4040 open() "/opt/seafile/seafile-server-latest/seahub/media/custom/login-bg.jpg" failed (13: Permission denied), client: 192.168.96.204, server: seafile.example.com, request: "GET /media/custom/login-bg.jpg HTTP/1.1", host: "192.168.102.225", referrer: "http://192.168.102.225/accounts/login/?next=/"
2020/07/03 07:55:58 [error] 1743#0: *4040 open() "/opt/seafile/seafile-server-latest/seahub/media/custom/favicon.ico" failed (13: Permission denied), client: 192.168.96.204, server: seafile.example.com, request: "GET /media/custom/favicon.ico HTTP/1.1", host: "192.168.102.225", referrer: "http://192.168.102.225/accounts/login/?next=/"
已解决,谢谢大佬帮助
修改/etc/nginx/nginx.conf
user nginx nginx 改成
user seafile seafile 就好了 |
|