From c40310a03763e1d9defa870a2874881ca6306a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 15 Oct 2023 13:38:34 +0200 Subject: [PATCH] cleaning --- doc/PRE_UPGRADE.md | 2 ++ scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/PRE_UPGRADE.md diff --git a/doc/PRE_UPGRADE.md b/doc/PRE_UPGRADE.md new file mode 100644 index 0000000..5bbce58 --- /dev/null +++ b/doc/PRE_UPGRADE.md @@ -0,0 +1,2 @@ +n8n deprecated MySQL and MariaDB as backend databases in version 0.227.0. n8n recommends using PostgreSQL. +This upgrade does not convert the database MySQL to PostgreSQL. \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index ff31e45..d2a4fa3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -80,7 +80,7 @@ ynh_script_progression --message="Installing $app..." --weight=2 # Download, check integrity, uncompress and patch the source from app.src pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm update n8n@${n8n_version} + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@${n8n_version} popd #=================================================