Fix install

This commit is contained in:
Josué Tille 2023-11-24 12:45:03 +01:00
parent d283c566e4
commit ad182b52b7
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -53,17 +53,20 @@ ynh_script_progression --message="Configuring application..." --weight=3
# Run install script # Run install script
set_permission set_permission
ynh_replace_special_string --match_string 'seafile_config.seafile_dir = seafile_config.validate_seafile_dir(seafile_dir)' \
--replace_string 'seafile_config.seafile_dir = seafile_dir' \
--target_file $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.py
sudo -u $YNH_APP_ID bash $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.sh auto \ sudo -u $YNH_APP_ID bash $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.sh auto \
--server-name "$server_name" \ --server-name "$server_name" \
--server-ip $domain \ --server-ip $domain \
--fileserver-port $port_fileserver \ --fileserver-port $port_fileserver \
--use-existing-db 0 \ --use-existing-db 1 \
--mysql-host localhost \ --mysql-host localhost \
--mysql-port 3306 \ --mysql-port 3306 \
--mysql-user $db_user \ --mysql-user $db_user \
--mysql-user-passwd "$db_pwd" \ --mysql-user-passwd "$db_pwd" \
--seafile-db "$db_name" \ --seafile-db "$db_name" \
--seafile-db ccnetdb \ --ccnet-db ccnetdb \
--seahub-db seahubdb --seahub-db seahubdb
# Retrive values from auto generated config file # Retrive values from auto generated config file