From 5d834f192cd2ec9659aa3195948bc44488d08c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 Mar 2023 15:25:08 +0100 Subject: [PATCH] data_migration --- conf/config.php | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/config.php b/conf/config.php index a3c291b..8098d2c 100644 --- a/conf/config.php +++ b/conf/config.php @@ -172,7 +172,7 @@ // if you experience weird errors and tt-rss failing to start, blank pages // after login, or content encoding errors, disable it. - putenv('TTRSS_PLUGINS=auth_internal, note'); + putenv('TTRSS_PLUGINS=auth_internal, note, data_migration'); // Comma-separated list of plugins to load automatically for all users. // System plugins have to be specified here. Please enable at least one // authentication plugin here (auth_*). diff --git a/scripts/upgrade b/scripts/upgrade index bf47995..7a4a6bb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,7 +97,7 @@ then ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" ynh_script_progression --message="Upgrading the database..." --weight=2 - ynh_exec_as $app php${phpversion} ${install_dir}/update.php --update-schema=force-yes + ynh_exec_as $app php$phpversion $install_dir/update.php --update-schema=force-yes fi chmod 400 "$install_dir/config.php"