diff --git a/README.md b/README.md index e4cbf66..00564c6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Shipped version:** 0.8.7~ynh1 +**Shipped version:** 0.8.8~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index 225802a..f3aad71 100644 --- a/README_es.md +++ b/README_es.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Versión actual:** 0.8.7~ynh1 +**Versión actual:** 0.8.8~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index e47965a..9508c23 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Paketatutako bertsioa:** 0.8.7~ynh1 +**Paketatutako bertsioa:** 0.8.8~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index a59137d..5e176c5 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. FitTrackee vous permet de suivre vos activités de plein air (séances d'entraînement) à partir de fichiers gpx et de conserver vos données sur votre propre serveur. Aucune application mobile n'a encore été développée, mais plusieurs applications mobiles existantes peuvent stocker localement les données des séances d'entraînement et les exporter dans un fichier gpx. -**Version incluse :** 0.8.7~ynh1 +**Version incluse :** 0.8.8~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index ee7ac07..02fe28b 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Versión proporcionada:** 0.8.7~ynh1 +**Versión proporcionada:** 0.8.8~ynh1 ## Capturas de pantalla diff --git a/README_id.md b/README_id.md index c3af37c..b9fec58 100644 --- a/README_id.md +++ b/README_id.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Versi terkirim:** 0.8.7~ynh1 +**Versi terkirim:** 0.8.8~ynh1 ## Tangkapan Layar diff --git a/README_ru.md b/README_ru.md index 68a7035..91dc27b 100644 --- a/README_ru.md +++ b/README_ru.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**Поставляемая версия:** 0.8.7~ynh1 +**Поставляемая версия:** 0.8.8~ynh1 ## Снимки экрана diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 538a503..1495869 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. -**分发版本:** 0.8.7~ynh1 +**分发版本:** 0.8.8~ynh1 ## 截图 diff --git a/manifest.toml b/manifest.toml index 580fa83..594df66 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ description.gl = "Rexistra as túas actividades ao aire libre 🚴" description.ca = "Seguiment d'activitats a l'aire lliure autoallotjat 🚴" description.fr = "Traqueur d’activités extérieures auto-hébergé 🚴" -version = "0.8.7~ynh1" +version = "0.8.8~ynh1" maintainers = ["Thovi98"] diff --git a/scripts/change_url b/scripts/change_url index 7ca224a..26618d1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -10,9 +10,8 @@ source /usr/share/yunohost/helpers admin=$(ynh_user_get_info --username=$admin --key=username) admin_mail=$(ynh_user_get_info --username=$admin --key=mail) -ynh_app_setting_set_default --key=weather_api_provider --value=$weather_provider - -ynh_app_setting_set_default --key=weather_api_key --value=$weather_key +ynh_app_setting_set_default --key=weather_api_provider --value=$weather_api_provider +ynh_app_setting_set_default --key=weather_api_key --value=$weather_api_key ynh_app_setting_set_default --key=redis_db --value=$(ynh_redis_get_free_db) diff --git a/scripts/install b/scripts/install index e1b7f74..bcd52ee 100755 --- a/scripts/install +++ b/scripts/install @@ -23,6 +23,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles" # Use logrotate to manage application logfile(s) ynh_config_add_logrotate +touch /var/log/$app/$app.log +touch /var/log/$app/${app}_workers.log +chown -R $app:www-data /var/log/$app/ #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE diff --git a/scripts/restore b/scripts/restore index 835cca0..5d85694 100644 --- a/scripts/restore +++ b/scripts/restore @@ -15,6 +15,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles" # Use logrotate to manage application logfile(s) ynh_config_add_logrotate +touch /var/log/$app/$app.log +touch /var/log/$app/${app}_workers.log +chown -R $app:www-data /var/log/$app/ #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index b01404b..83aac2c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -80,6 +80,14 @@ ynh_script_progression "Upgrading NGINX web server configuration..." # Create a dedicated NGINX config ynh_config_add_nginx +#================================================= +# LOGROTATE +#================================================= +#temporary fix for installations with wrong permissions for logs +touch /var/log/$app/$app.log +touch /var/log/$app/${app}_workers.log +chown -R $app:www-data /var/log/$app/ + #================================================= # SETUP SYSTEMD #================================================= diff --git a/tests.toml b/tests.toml index 443bf3b..63ffd2c 100644 --- a/tests.toml +++ b/tests.toml @@ -21,4 +21,5 @@ test_format = 1.0 test_upgrade_from.2c6b69d.name = "0.8.3" test_upgrade_from.fb74b14.name = "0.8.4" test_upgrade_from.853024c.name = "helpers_v1 + 0.8.5" - test_upgrade_from.ec414ce.name = "0.8.6" \ No newline at end of file + test_upgrade_from.ec414ce.name = "0.8.6" + test_upgrade_from.064f8a4.name = "0.8.7" \ No newline at end of file