diff --git a/conf/config.php b/conf/config.php index d43192a..9c15695 100644 --- a/conf/config.php +++ b/conf/config.php @@ -168,7 +168,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/install b/scripts/install index 3371e04..33a910e 100644 --- a/scripts/install +++ b/scripts/install @@ -16,6 +16,7 @@ ynh_script_progression --message="Setting up source files..." --weight=7 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +#ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration" echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt" chmod -R o-rwx "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index baed63b..51fd702 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,6 +43,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" + #ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source_id="data_migration" echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt" fi @@ -79,7 +80,8 @@ 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" diff --git a/tests.toml b/tests.toml index ee39c34..6a9347a 100644 --- a/tests.toml +++ b/tests.toml @@ -6,5 +6,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.009f9564.name = "Upgrade from 20220606" - + #test_upgrade_from.009f9564.name = "Upgrade from 20220606"