diff --git a/README.md b/README.md
index 2530f57..759443d 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Shipped version:** 29.0.5~ynh1
+**Shipped version:** 29.0.6~ynh1
**Demo:**
diff --git a/README_es.md b/README_es.md
index 33673b9..6b7c9c7 100644
--- a/README_es.md
+++ b/README_es.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Versión actual:** 29.0.5~ynh1
+**Versión actual:** 29.0.6~ynh1
**Demo:**
diff --git a/README_eu.md b/README_eu.md
index f657a4a..5f56146 100644
--- a/README_eu.md
+++ b/README_eu.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Paketatutako bertsioa:** 29.0.5~ynh1
+**Paketatutako bertsioa:** 29.0.6~ynh1
**Demoa:**
diff --git a/README_fr.md b/README_fr.md
index 064a9d9..f325e31 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -23,7 +23,7 @@ Dans le cadre de YunoHost, Nextcloud s'intègre avec le SSO / portail utilisateu
L'adresse `/.well-known` sera automatiquement configuré pour la synchronisation CalDAV et CardDAV si aucun autre service tel que Baïkal ne l'utilise déjà.
-**Version incluse :** 29.0.5~ynh1
+**Version incluse :** 29.0.6~ynh1
**Démo :**
diff --git a/README_gl.md b/README_gl.md
index 86d544f..7caea12 100644
--- a/README_gl.md
+++ b/README_gl.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Versión proporcionada:** 29.0.5~ynh1
+**Versión proporcionada:** 29.0.6~ynh1
**Demo:**
diff --git a/README_id.md b/README_id.md
index aa9d19a..5cb871a 100644
--- a/README_id.md
+++ b/README_id.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Versi terkirim:** 29.0.5~ynh1
+**Versi terkirim:** 29.0.6~ynh1
**Demo:**
diff --git a/README_ru.md b/README_ru.md
index 9442e13..782ca44 100644
--- a/README_ru.md
+++ b/README_ru.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Поставляемая версия:** 29.0.5~ynh1
+**Поставляемая версия:** 29.0.6~ynh1
**Демо-версия:**
diff --git a/README_zh_Hans.md b/README_zh_Hans.md
index 0d157c0..02dce2c 100644
--- a/README_zh_Hans.md
+++ b/README_zh_Hans.md
@@ -23,7 +23,7 @@ In the context of YunoHost, Nextcloud integrates with the SSO / user portal (Yun
The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**分发版本:** 29.0.5~ynh1
+**分发版本:** 29.0.6~ynh1
**演示:**
diff --git a/conf/systemd.service b/conf/systemd.service
index 855a294..bbe6573 100644
--- a/conf/systemd.service
+++ b/conf/systemd.service
@@ -4,6 +4,7 @@ Description = Push daemon for Nextcloud clients
[Service]
Environment=SOCKET_PATH=/var/run/__APP__/notify-push.sock
Environment=ALLOW_SELF_SIGNED=true
+RuntimeDirectory=__APP__
ExecStart=__INSTALL_DIR__/apps/notify_push/bin/__ARCH__/notify_push __INSTALL_DIR__/config/config.php
Type=notify
User=__APP__
diff --git a/doc/PRE_UPGRADE.d/28.0.3~ynh1.md b/doc/PRE_UPGRADE.d/28.0.3~ynh1.md
deleted file mode 100644
index 472d1b1..0000000
--- a/doc/PRE_UPGRADE.d/28.0.3~ynh1.md
+++ /dev/null
@@ -1,7 +0,0 @@
-#FIX this pre_upgrade notification/migration/warning
-Starting in Nextcloud 28.0.1~ynh2, we are deprecating support for MariaDB. We are moving from MariaDB to PostgreSQL database.
-
-If you are upgrading to a new major version of Nextcloud, please make sure that your Nextcloud apps are up to date from Nextcloud's administration panel beforehand.
-
-Additionally, if you installed specific Nextcloud apps, we recommend making sure that they are compatible with the new major version. YunoHost will attempt to check this automatically at the very beginning of the upgrade, but a manual check doesn't hurt either. For Nextcloud 28, this forum thread might be helpful : .
-
\ No newline at end of file
diff --git a/manifest.toml b/manifest.toml
index 92ed534..0ab98a4 100644
--- a/manifest.toml
+++ b/manifest.toml
@@ -5,7 +5,7 @@ name = "Nextcloud"
description.en = "Online storage, file sharing platform and various other applications"
description.fr = "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications"
-version = "29.0.5~ynh1"
+version = "29.0.6~ynh1"
maintainers = ["kay0u"]
@@ -71,8 +71,8 @@ ram.runtime = "512M"
[resources.sources]
[resources.sources.main]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-29.0.5.tar.bz2'
- sha256 = 'c7fe9c61e5ec30a5e599e8f152a1825df684d30e899db0caa8868c8d67b53a2c'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-29.0.6.tar.bz2'
+ sha256 = 'dc60be03fd17e30bafef2a4d4feb2d096aa77a4c6b4f21c985760e537f8401e3'
[resources.sources.28]
url = 'https://download.nextcloud.com/server/releases/nextcloud-28.0.8.tar.bz2'
diff --git a/scripts/config b/scripts/config
index 189c448..d756fa9 100644
--- a/scripts/config
+++ b/scripts/config
@@ -127,9 +127,6 @@ set__enable_notify_push() {
fi
exec_occ config:app:set notify_push base_endpoint --value https://$domain${path_url%/}/push
- mkdir -p /var/run/$app/
- chown $app: /var/run/$app/
-
case $YNH_ARCH in
amd64) arch="x86_64";;
arm64) arch="aarch64";;
diff --git a/scripts/install b/scripts/install
index 5927297..f1ef315 100755
--- a/scripts/install
+++ b/scripts/install
@@ -204,9 +204,6 @@ then
exec_occ app:install notify_push
exec_occ config:app:set notify_push base_endpoint --value https://$domain${path_url%/}/push
- mkdir -p /var/run/$app/
- chown $app: /var/run/$app/
-
case $YNH_ARCH in
amd64) arch="x86_64";;
arm64) arch="aarch64";;
diff --git a/scripts/remove b/scripts/remove
index cc81673..b4d1786 100755
--- a/scripts/remove
+++ b/scripts/remove
@@ -28,7 +28,6 @@ ynh_remove_systemd_config --service="${app}-notify-push"
ynh_exec_warn_less systemctl disable --now ${app}-notify-push-watcher.path
ynh_secure_remove --file="/etc/systemd/system/${app}-notify-push-watcher.path"
ynh_remove_systemd_config --service="${app}-notify-push-watcher"
-ynh_secure_remove --file="/var/run/$app"
# Remove a cron file
# TODO: Ensure that cron job is not running (How !?)
diff --git a/scripts/restore b/scripts/restore
index fcf8fe2..ce14c42 100755
--- a/scripts/restore
+++ b/scripts/restore
@@ -129,9 +129,6 @@ ynh_systemd_action --action=restart --service_name=fail2ban
if [ $enable_notify_push -eq 1 ]
then
- mkdir -p /var/run/$app/
- chown $app: /var/run/$app/
-
ynh_restore_file --origin_path="/etc/systemd/system/${app}-notify-push.service"
ynh_restore_file --origin_path="/etc/systemd/system/${app}-notify-push-watcher.service"
ynh_restore_file --origin_path="/etc/systemd/system/${app}-notify-push-watcher.path"
diff --git a/scripts/upgrade b/scripts/upgrade
index 0703de3..c31d60f 100755
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -422,9 +422,6 @@ then
fi
exec_occ config:app:set notify_push base_endpoint --value https://$domain${path_url%/}/push
- mkdir -p /var/run/$app/
- chown $app: /var/run/$app/
-
case $YNH_ARCH in
amd64) arch="x86_64";;
arm64) arch="aarch64";;