1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

Upgrade 9.0 10.0 (#5374)

* upgrade_9.0_10.0

* seafile-monitor.sh

* rm seahub-extra in scripts

* rm seafile_auth_token
This commit is contained in:
欢乐马
2023-02-13 10:57:55 +08:00
committed by GitHub
parent f086d4705b
commit 78ba95f82f
20 changed files with 444 additions and 79 deletions

View File

@@ -135,11 +135,7 @@ class DBUpdater(object):
@staticmethod
def get_ccnet_mysql_info(version):
if version > '5.0.0':
config_path = env_mgr.central_config_dir
else:
config_path = env_mgr.ccnet_dir
config_path = env_mgr.central_config_dir
ccnet_conf = os.path.join(config_path, 'ccnet.conf')
defaults = {
'HOST': '127.0.0.1',
@@ -172,11 +168,7 @@ class DBUpdater(object):
@staticmethod
def get_seafile_mysql_info(version):
if version > '5.0.0':
config_path = env_mgr.central_config_dir
else:
config_path = env_mgr.seafile_dir
config_path = env_mgr.central_config_dir
seafile_conf = os.path.join(config_path, 'seafile.conf')
defaults = {
'HOST': '127.0.0.1',