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

Merge branch 'testing' into PostgreSQL

This commit is contained in:
Éric Gaspar 2023-04-10 16:01:23 +02:00 committed by GitHub
commit 05db215d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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