mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
commit
39e07192ec
2 changed files with 16 additions and 4 deletions
|
@ -20,11 +20,12 @@ GENERIC_TIMEZONE=__TIMEZONE__
|
|||
N8N_PROTOCOL=http
|
||||
N8N_LISTEN_ADDRESS=127.0.0.1
|
||||
|
||||
DB_TYPE=mysqldb
|
||||
DB_MYSQLDB_DATABASE=__DB_NAME__
|
||||
DB_MYSQLDB_HOST_FILE=localhost
|
||||
DB_MYSQLDB_PORT_FILE=3306
|
||||
DB_MYSQLDB_USER_FILE=__DB_USER__
|
||||
DB_MYSQLDB_PASSWORD_FILE=__DB_PWD__
|
||||
DB_MYSQLDB_HOST="localhost"
|
||||
DB_MYSQLDB_PORT=3306
|
||||
DB_MYSQLDB_USER=__DB_USER__
|
||||
DB_MYSQLDB_PASSWORD=__DB_PWD__
|
||||
|
||||
EXECUTIONS_DATA_SAVE_ON_ERROR=all
|
||||
EXECUTIONS_DATA_SAVE_ON_SUCCESS=none
|
||||
|
|
|
@ -65,6 +65,17 @@ ynh_script_progression --message="Making sure dedicated system user exists..." -
|
|||
# Create a dedicated user (if not existing)
|
||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
if ynh_compare_current_package_version --comparison le --version 0.169.0~ynh1
|
||||
then
|
||||
ynh_die --message="Upgrade from version 0.169.0~ynh1 is not possible is not possible yet because data migration is not supported. Please let us know you encounter this message in this issue: https://github.com/YunoHost-Apps/n8n_ynh/issues/18"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue