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:
parent
0a30324a09
commit
5d834f192c
2 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@
|
||||||
// if you experience weird errors and tt-rss failing to start, blank pages
|
// if you experience weird errors and tt-rss failing to start, blank pages
|
||||||
// after login, or content encoding errors, disable it.
|
// 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.
|
// Comma-separated list of plugins to load automatically for all users.
|
||||||
// System plugins have to be specified here. Please enable at least one
|
// System plugins have to be specified here. Please enable at least one
|
||||||
// authentication plugin here (auth_*).
|
// authentication plugin here (auth_*).
|
||||||
|
|
|
@ -97,7 +97,7 @@ then
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading the database..." --weight=2
|
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
|
fi
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
|
|
Loading…
Add table
Reference in a new issue