1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
invidious_ynh/scripts/install

118 lines
4.1 KiB
Text
Raw Normal View History

2020-11-09 22:28:22 +01:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# RETRIEVE ARGUMENTS FROM THE MANIFEST
#=================================================
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
key=$(ynh_string_random --length=24)
2022-01-20 15:40:49 +01:00
registration_enabled="true"
login_enabled="true"
captcha_enabled="true"
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
enable_user_notifications="true"
banner=""
2022-01-20 15:40:49 +01:00
2020-11-09 22:28:22 +01:00
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================
ynh_script_progression --message="Storing installation settings..." --weight=2
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
ynh_app_setting_set --app="$app" --key=key --value="$key"
ynh_app_setting_set --app="$app" --key=registration_enabled --value=$registration_enabled
ynh_app_setting_set --app="$app" --key=login_enabled --value=$login_enabled
ynh_app_setting_set --app="$app" --key=captcha_enabled --value=$captcha_enabled
ynh_app_setting_set --app="$app" --key=enable_user_notifications --value=$enable_user_notifications
ynh_app_setting_set --app="$app" --key=banner --value="$banner"
2020-11-09 22:28:22 +01:00
#=================================================
# INSTALL DEPENDENCIES
#=================================================
2021-05-23 12:01:50 +02:00
ynh_script_progression --message="Installing dependencies..." --weight=15
2020-11-09 22:28:22 +01:00
2021-10-04 00:01:07 +02:00
ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --channel=stable
2020-11-09 22:28:22 +01:00
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=4
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
mkdir -p "$install_dir"
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
chown -R "$app:www-data" "$install_dir"
Testing (#111) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-02-14 21:24:21 +01:00
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
git config --system --add safe.directory "$install_dir"
Testing (#111) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-02-14 21:24:21 +01:00
2020-11-10 23:21:34 +01:00
# Download, check integrity, uncompress and patch the source from GitHub
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
# note: we can't use resources.sources instead of git because Invidious is
# expecting to be in a git environment for the building step...
# see: https://github.com/YunoHost-Apps/invidious_ynh/pull/127
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
git clone https://github.com/iv-org/invidious "$install_dir" --quiet
2020-11-09 22:28:22 +01:00
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
pushd "$install_dir"
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
git reset --hard --quiet "$version_commit"
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
make
2021-07-29 23:38:52 +02:00
popd
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
chmod -R o-rwx "$install_dir"
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
chown -R "$app:www-data" "$install_dir"
2021-05-23 12:01:50 +02:00
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
# MODIFY A CONFIG FILE
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
ynh_script_progression --message="Modifying a config file..." --weight=1
2020-11-09 22:28:22 +01:00
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
ynh_add_config --template="config.yml" --destination="$install_dir/config/config.yml"
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
chmod 600 "$install_dir/config/config.yml"
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
chown "$app:$app" "$install_dir/config/config.yml"
2020-11-09 22:28:22 +01:00
#=================================================
# SPECIFIC SETUP
#=================================================
# INSTALL INVIDIOUS
#=================================================
2021-05-23 12:01:50 +02:00
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
2020-11-09 22:28:22 +01:00
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
pushd "$install_dir"
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
./invidious --migrate
2021-10-04 00:01:07 +02:00
popd
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
# SYSTEM CONFIGURATION
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
ynh_script_progression --message="Adding system configurations related to $app ..." --weight=10
2020-11-09 22:28:22 +01:00
Testing (#122) * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * Update _common.sh * remove Crystal * Auto-update README * cleaning * upgrade to upstream * Update manifest.toml * Auto-update README * fix * Update _common.sh * Update manifest.toml * Auto-update README * update * Auto-update README * 04.05.23 * Auto-update README * cleaning * Update nginx.conf * Update config.yml * Update _common.sh * Update manifest.toml * Auto-update README * Update install * Update install * Sql (#123) * Auto-update README * Update install * fix * fix * Delete .DS_Store * Update install * Update install * Update install * Update install * Update config.yml * Update DESCRIPTION_fr.md * Auto-update README * Update manifest.toml * Auto-update README * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * cleaning * Update upgrade * fix --------- Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-05-20 18:09:04 +02:00
# Create a dedicated NGINX config
ynh_add_nginx_config
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
ynh_add_config --template="cron_invidious" --destination="/etc/cron.d/$app"
2021-10-04 00:01:07 +02:00
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
2020-11-09 22:28:22 +01:00
ynh_use_logrotate
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
ynh_add_systemd_config
2020-11-09 22:28:22 +01:00
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
yunohost service add "$app" --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
# START SYSTEMD SERVICE
2020-11-09 22:28:22 +01:00
#=================================================
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
ynh_script_progression --message="Starting a systemd service..." --weight=2
2020-11-09 22:28:22 +01:00
Testing (#113) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 * Upgrade to upstream * Auto-update README * Update check_process * 22.03.03 * Auto-update README * Add admin (#74) * Add admin * add email * Auto-update README * Fix * Update upgrade * Update _common.sh * Update _common.sh * Update manifest.json * Auto-update README * Fix * Update install * Fix * Fix * Auto-update README * Update upgrade * Revert "Update upgrade" This reverts commit a1dce069b4968f00bbaa59bc09ac0ecc9a37fcdb. * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Auto-update README * Upgrade to upstream * Auto-update README * upgrade * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Revert "Upgrade to upstream" This reverts commit dc91a2696e197755cfa6a002350f59c9f850db6a. * Update _common.sh * Update manifest.json * Auto-update README * Upgrade to upstream * Auto-update README * upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade to upstream * Auto-update README * Upgrade * Auto-update README * Upgrade to upstream * Auto-update README * Auto-update README * Upgrade to upstream * Auto-update README * Fix * Auto-update README * Fix * Update to upstream * Auto-update README * Update install * Update install * Update install * Auto-update README * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install * upgrade to upstream * Auto-update README * Update upgrade * Version 2 (#112) * v2 * v2 * Auto-update README * Update manifest.toml Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install * fix * Update manifest.toml * Fix * Fix * Auto-update README * Update manifest.toml * Update manifest.toml * Update tests.toml * Update upgrade * Fix --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update install --------- Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: Georgelemental <georgelemental@gmail.com> Co-authored-by: Jules-Bertholet <jules.bertholet@gmail.com> Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: Yunohost-Bot <> Co-authored-by: Jens Diemer <github.com@jensdiemer.de> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com>
2023-03-12 08:58:03 +01:00
# Start a systemd service
2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * fix * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
2024-01-04 19:18:16 +01:00
ynh_systemd_action --service_name="$app" --action=start --log_path=systemd
2020-11-09 22:28:22 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Installation of Invidious completed" --last