Im seafile-Verzeichnis mit der Struktur
dccnet conf installed logs pids pro-data seafile-data seafile-pro-server-6.2.13 seafile-server-latest -> seafile-pro-server-6.2.13 seahub-data
das aktuelle Paket laden und entpacken:
dccnet conf installed logs pids pro-data seafile-data seafile-pro-server-6.2.13 seafile-pro-server-6.3.9 seafile-server-latest -> seafile-pro-server-6.2.13 seahub-data
Den seafile– und seahub-Server stoppen:
$ seafile-server-latest/seahub.sh stop $ seafile-server-latest/seafile.sh stop
Das Upgrade-Skript laufen lassen:
$ seafile-server-latest/upgrade/upgrade_6.2_6.3.sh ------------------------------------------------------------- This script would upgrade your seafile server from 6.2 to 6.3 Press [ENTER] to contiune ------------------------------------------------------------- Updating seafile/seahub database ... [INFO] You are using MySQL [INFO] updating ccnet database... /path-to/seafile-pro/seafile-pro-server-6.3.9/upgrade/db_update_helper.py:354: Warning: Table 'LDAPConfig' already exists cursor.execute(sql) /path-to/seafile-pro/seafile-pro-server-6.3.9/upgrade/db_update_helper.py:354: Warning: Table 'GroupStructure' already exists cursor.execute(sql) [INFO] updating seafile database... /path-to/seafile-pro/seafile-pro-server-6.3.9/upgrade/db_update_helper.py:354: Warning: Table 'SeafileConf' already exists cursor.execute(sql) /path-to/seafile-pro/seafile-pro-server-6.3.9/upgrade/db_update_helper.py:354: Warning: Table 'RepoInfo' already exists cursor.execute(sql) [INFO] updating seahub database... /path-to/seafile-pro/seafile-pro-server-6.3.9/upgrade/db_update_helper.py:354: Warning: Table 'organizations_orgmemberquota' already exists cursor.execute(sql) [WARNING] Failed to execute sql: (1061, "Duplicate key name 'ix_event_timestamp'") [WARNING] Failed to execute sql: (1061, "Duplicate key name 'ix_FileAudit_timestamp'") [WARNING] Failed to execute sql: (1061, "Duplicate key name 'ix_FileUpdate_timestamp'") [WARNING] Failed to execute sql: (1061, "Duplicate key name 'ix_UserTrafficStat_month'") Done migrating avatars ... Done updating /path-to/seafile-pro/seafile-server-latest symbolic link to /path-to/seafile-pro/seafile-pro-server-6.3.9 ... ----------------------------------------------------------------- Upgraded your seafile server successfully. -----------------------------------------------------------------
Starten des Seahub-Servers:
$ seafile-server-latest/seafile.sh start ** Message: seafile-controller.c(1155): loading seafdav config from /path-to/seafile-pro/conf/seafdav.conf [05/14/19 21:27:18] ../common/session.c(139): using config file /path-to/seafile-pro/conf/ccnet.conf [05/14/19 21:27:18] ../common/license.c(406): Loading license file /path-to/seafile-pro/seafile-license.txt .. [05/14/19 21:27:18] ../common/license.c(409): License file /path-to/seafile-pro/seafile-license.txt does not exist, allow at most 3 trial users License file /path-to/seafile-pro/seafile-license.txt does not exist, allow at most 3 trial users Starting seafile server, please wait ... ** Message: seafile-controller.c(1155): loading seafdav config from /path-to/seafile-pro/conf/seafdav.conf Seafile server started Done. $ seafile-server-latest/seahub.sh start LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 ... Seahub is started Done.
Schreibe eine Antwort