IT技术之家 网络技术 seafile 7.1.12专业版升级到seafile 8.0.11专业版教程

seafile 7.1.12专业版升级到seafile 8.0.11专业版教程

seafile 8.0.11专业版新功能

  1. 添加与 IE11 的兼容性
  2. 您可以设置资料库中包含的文件的最大数量
  3. 添加二维码分享链接
  4. 支持共享可上传下载链接,之前上传链接和下载链接是分开的,现在支持合并共享。
  5. 将 Django 升级到 2.2 版本

版本变更

你不能从 Seafile 7.0.x 直接升级到 8.0.x。

如果你当前正在运行的 Seafile 版本不是 7.1.x, 你必须先下载 7.1.x 安装包并 升级到 7.1.x。然后才能继续升级到 8.0.x。

部署环境升级

Ubuntu 18.04/20.4

apt-get install libmysqlclient-dev  
sudo pip3 install future mysqlclient  sqlalchemy==1.4.3

Debian 10

sudo apt update
apt-get install default-libmysqlclient-dev
sudo pip3 install future mysqlclient sqlalchemy==1.4.3

CentOS 7.X

yum install python3-devel mariadb-devel gcc gcc-c++ -y
sudo pip3 install future
sudo pip3 install mysqlclient==2.0.1  sqlalchemy==1.4.3

CentOS 8.X

yum install python3-devel mysql-devel gcc gcc-c++ -y
sudo pip3 install future mysqlclient  sqlalchemy==1.4.3

升级到 8.0.11

Ubuntu 18.04/20.4

#切换到seafile安装目录 
#比如安装到/opt/seafile 为例 
cd /opt/seafile 
#运行升级脚本 
wget -O update_to_8_ubuntu.sh https://yun.ittel.cn:1443/f/11e9fa819f2c4aed936a/?dl=1 && sh update_to_8_ubuntu.sh
# 如果您配置了 Memcached 缓存服务,则需要重启该服务来清空 seahub 缓存。
systemctl restart memcached

CentOS 7/8

#切换到seafile安装目录
#比如安装到/opt/seafile 为例
cd /opt/seafile
#运行升级脚本
wget -O update_to_8_centos.sh https://yun.ittel.cn:1443/f/9ac03dc2014d457daf6c/?dl=1 && sh update_to_8_centos.sh
# 如果您配置了 Memcached 缓存服务,则需要重启该服务来清空 seahub 缓存。
systemctl restart memcached

中间提示,按回车键确认升级

升级脚本没有ERROR即升级成功

如果您配置了 Memcached 缓存服务,则需要重启该服务来清空 seahub 缓存。

验证是否升级成功

启动服务,验证是否升级成功

Debian、Centos 7/8 启动服务

systemctl start seafile
systemctl start seahub

Ubuntu 18.04/20.4 启动服务

service seafile-server start

升级成功

其他说明

对于配置了企业微信(钉钉)部门导入功能的用户,从7.1.x升级到8.0.x版本之后要执行下下面脚本。

切换到用户目录,并更新企业微信、钉钉配置
su - seafile
cd /opt/seafile/seafile-server-latest/
./seahub.sh python-env seahub/manage.py fix_work_weixin_departments_sync
./seahub.sh python-env seahub/manage.py fix_dingtalk_departments_sync

技术支持

需要安装,支持可以联系我

 

1、如果您发现本站资源已经失效不能下载请评论留言反馈,谢谢支持
2、友情提醒:部分内容来自网络,如有侵犯您的权益,请速与我联系! 如有转载请注明出处:https://www.ittel.cn/archives/11643.html
guest
17 评论
内联反馈
查看所有评论
lu
lu
1 年 前

8版本的总算出来啦  :mrgreen:   :mrgreen: 

chenghong
chenghong
1 年 前

升级后,之前激活的失效
另外就是无法预览文档了

hxjhxj163
hxjhxj163
1 年 前

7.12版本激活了,升级后用7.12的激活脚本无法激活成功。

plx
plx
1 年 前

666

yangmengyu1997
yangmengyu1997
1 年 前

求更新ubuntu 20.04

yangmengyu1997
yangmengyu1997
1 年 前
回复给  无欢不爱

ubuntu 20.04.5 LTS 按照操作步骤无报错,启动服务时
root@seafile:/etc/init.d# ./seafile-server start
** Message: 03:04:39.495: seafile-controller.c(932): loading seafdav config from /opt/seafile/conf/seafdav.conf

failed to run “seaf-server -t” [65280]

yangmengyu1997
yangmengyu1997
1 年 前
回复给  yangmengyu1997

查看报错日志好像是因为没有激活的问题,在求一个Ubuntu能用的激活

yangmengyu1997
yangmengyu1997
1 年 前
回复给  yangmengyu1997

2022-11-23 03:14:17 ../common/seaf-utils.c(409): Use database Mysql
2022-11-23 03:14:17 http-server.c(230): fileserver: worker_threads = 10
2022-11-23 03:14:17 http-server.c(243): fileserver: backlog = 32
2022-11-23 03:14:17 http-server.c(258): fileserver: fixed_block_size = 8388608
2022-11-23 03:14:17 http-server.c(273): fileserver: web_token_expire_time = 3600
2022-11-23 03:14:17 http-server.c(288): fileserver: max_indexing_threads = 1
2022-11-23 03:14:17 http-server.c(303): fileserver: max_index_processing_threads= 3
2022-11-23 03:14:17 http-server.c(325): fileserver: cluster_shared_temp_file_mode = 600
2022-11-23 03:14:17 http-server.c(403): fileserver: enable_async_indexing = 0
2022-11-23 03:14:17 http-server.c(415): fileserver: async_indexing_threshold = 700
2022-11-23 03:14:17 http-server.c(427): fileserver: fs_id_list_request_timeout = 300
2022-11-23 03:14:17 http-server.c(440): fileserver: max_sync_file_count = 100000
2022-11-23 03:14:17 ../common/license.c(718): License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users
License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users
2022-11-23 03:14:17 ../common/user-mgr.c(131): The number of users exceeds limit, max 3, current 15
2022-11-23 03:14:17 seafile-session.c(408): Failed to init user manager.

yangmengyu1997
yangmengyu1997
1 年 前
回复给  无欢不爱

联系我们

联系我们

QQ:877196754

在线咨询: QQ交谈

邮箱: 877196754@qq.com

工作时间:周一至周日,8:00-21:00
关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部