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/manifest.toml b/manifest.toml index 29b9bab..c7a02b4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -43,6 +43,10 @@ ram.runtime = "50M" url = "https://git-gitea.tt-rss.org/fox/tt-rss/archive/cddbf5bf5a7e2c433275a3bec089f318d4f211af.tar.gz" sha256 = "41df4c5902a7604acbe330f70a2fbef961338f6cf8798156de10adbc321f8e37" + [resources.sources.data_migration] + url = "https://dev.tt-rss.org/tt-rss/ttrss-data-migration/archive/6dac32af20dc303ea2e6e03f3a9492ee3ace6a8a.tar.gz" + sha256 = "dba5638f44820393e795e8dbf5ffdafeb061913aef245ce630ddddfbc26c32c4" + [resources.system_user] [resources.install_dir] diff --git a/scripts/upgrade b/scripts/upgrade index bf47995..e22afbc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,6 +62,8 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" echo "$(ynh_app_upstream_version)" > "$install_dir/version_static.txt" + + ynh_setup_source --dest_dir="$install_dir/plugins.local/data_migration" --source="data_migration" fi chmod -R o-rwx "$install_dir"