1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00
* 4.11.0

* Auto-update README

* Upgrade to php8 (#82)

* Auto-update README

* [autopatch] Add Common Platform Enumeration id to `manifest.json` (#81)

* Testing (#80)

* 4.11.0

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* [autopatch] Add Common Platform Enumeration id to `manifest.json`

Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>

* Auto-update README

* Auto-update README

* Update manifest.json

* Auto-update README

* fix upgrade : Missing phpversion var definition, later used around line 117

* Update upgrade

* Add php config (#85)

* Update manifest.json

* Auto-update README

* 4.12.0 (#87)

* 4.12.0

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Update install

* 4.12.1

* Auto-update README

* 4.12.2

* Auto-update README

* 4.12.3

* Auto-update README

* PHP setup

* 4.13.1

* Auto-update README

* 4.13.2

* Auto-update README

* 4.13.3

* Auto-update README

* V2 (#99)

* v2

* v2

* Fix

* Auto-update README

* Update manifest.toml

* fix

* Auto-update README

* Update tests.toml

* Auto-update README

* Update manifest.toml

* Update POST_INSTALL_fr.md

* Fix

* Auto-update README

* fix

* Update tests.toml

* Update manifest.toml

* Auto-update README

* Update doc/POST_INSTALL.md

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update upgrade

* fix

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update upgrade

* fix

* Update manifest.toml

* Auto-update README

* Update manifest.toml

* Fix

* Update install

* fix

* Update manifest.toml

* Update manifest.toml

* cleaning

* Update manifest.toml

* Auto-update README

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Éric Gaspar 2023-04-18 13:38:40 +02:00 committed by GitHub
parent 73bc6a6030
commit 1f026fae26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 47 deletions

View file

@ -21,7 +21,7 @@ Matomo is the leading Free/Libre open analytics platform. At the end of the five
Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in! Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in!
**Shipped version:** 4.14.0~ynh1 **Shipped version:** 4.14.2~ynh1
**Demo:** https://demo.matomo.org **Demo:** https://demo.matomo.org

View file

@ -21,7 +21,7 @@ Matomo is the leading Free/Libre open analytics platform. At the end of the five
Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in! Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in!
**Version incluse :** 4.14.0~ynh1 **Version incluse :** 4.14.2~ynh1
**Démo :** https://demo.matomo.org **Démo :** https://demo.matomo.org

View file

@ -5,7 +5,7 @@ name = "Matomo"
description.en = "Open source analytics platform for measuring Web statistics" description.en = "Open source analytics platform for measuring Web statistics"
description.fr = "Plateforme d'analyse open source de mesure de statistiques Web" description.fr = "Plateforme d'analyse open source de mesure de statistiques Web"
version = "4.14.0~ynh1" version = "4.14.2~ynh1"
maintainers = ["Anmol Sharma"] maintainers = ["Anmol Sharma"]
@ -17,7 +17,7 @@ admindoc = "https://matomo.org/docs"
code = "https://github.com/matomo-org/matomo" code = "https://github.com/matomo-org/matomo"
[integration] [integration]
yunohost = ">= 11.1.15" yunohost = ">= 11.1.17"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
@ -48,8 +48,8 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://builds.matomo.org/matomo-4.14.0.tar.gz" url = "https://builds.matomo.org/matomo-4.14.2.tar.gz"
sha256 = "76400edaa4d281b63faa1d6e15497438c5e66011d5807bd98bcf4bc4589cdc1d" sha256 = "8cfb3fe1b82ded5a9e4a878b9f01ebf85238dba84087088ff117224033700a9a"
[resources.system_user] [resources.system_user]

View file

@ -38,21 +38,9 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
#=================================================
# SPECIFIC SETUP
#=================================================
# SETUP A CRON
#=================================================
ynh_script_progression --message="Setuping a cron..." --weight=1
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app" chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"

View file

@ -17,21 +17,9 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
# Remove the dedicated NGINX config # Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
# Remove the dedicated PHP-FPM config # Remove the dedicated PHP-FPM config
ynh_remove_fpm_config ynh_remove_fpm_config
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
# Remove a cron file # Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app" ynh_secure_remove --file="/etc/cron.d/$app"

View file

@ -20,21 +20,6 @@ ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=2
# Restore the file first, so it can have a backup if different
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE
#================================================= #=================================================
@ -43,9 +28,14 @@ ynh_script_progression --message="Restoring the MySQL database..." --weight=1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
#================================================= #=================================================
# RESTORE VARIOUS FILES # RESTORE THE PHP-FPM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Restoring various files..." --weight=1 ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=2
# Restore the file first, so it can have a backup if different
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/cron.d/$app" ynh_restore_file --origin_path="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app" chown root: "/etc/cron.d/$app"