1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

data_migration

This commit is contained in:
Éric Gaspar 2023-03-18 15:25:08 +01:00
parent 0a30324a09
commit 5d834f192c
2 changed files with 2 additions and 2 deletions

View file

@ -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_*).

View file

@ -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"