What type of hardware are you using: RPi5
What YunoHost version are you running: yunohost 12.0.10
What app is this about: nextcloud 30.0.4
Describe your issue
Trying to restore a nextcloud backup, I ran into issues with php. Restore operation gives :Erreur: “500”
Action: “PUT” /yunohost/api/backups/20250113-151422/restore
The following critical error happened during restoration: None
Pendant le traitement de l’action, le serveur a dit :
Préparation de l’archive pour restauration…
Restauration de nextcloud…
Provisioning sources…
Provisioning system_user…
Provisioning install_dir…
Provisioning data_dir…
Provisioning permissions…
Provisioning apt…
Job for php8.3-fpm.service failed because the control process exited with error code.
See “systemctl status php8.3-fpm.service” and “journalctl -xeu php8.3-fpm.service” for details.
invoke-rc.d: initscript php8.3-fpm, action “start” failed.
dpkg: error processing package php8.3-fpm (–configure):
installed php8.3-fpm package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of php
… I am sharing the logs below using yunopaste
### Share relevant logs or error messages
Journalctl gives:
Failed to start php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager.
php8.3-fpm.service: Scheduled restart job, restart counter is at 8.
Stopped php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager.
php8.3-fpm.service: Start request repeated too quickly.
php8.3-fpm.service: Failed with result ‘exit-code’.
sudo ls -al /var/www
Nothing regarding nextcloud
-sudo systemctl status php8.3-fpm.service
× php8.3-fpm.service
Loaded: not-found (Reason: Unit php8.3-fpm.service not found.)
Active: failed (Result: exit-code)
$ sudo apt-cache policy php
php:
Installed: (none)
Candidate: 2:8.2+93
Version table:
2:8.3+95+0~20240927.54+debian12~1.gbpe0084c -1
500 Index of /php/ bookworm/main arm64 Packages
500 Index of /php/ bookworm/main armhf Packages
2:8.2+93 500
500 Index of /debian bookworm/main arm64 Packages
500 Index of /debian bookworm/main armhf Packages
Yunopaste logs: https://paste.yunohost.org/raw/icaqutoxuc
So I understand that php 8.3 did not install. Unclear to me what to do? Force php8.3 installation using cli? Is the php version common to all yunohost applications or is it specific to nextcloud?
Solved when restoring BOTH nextcloud and System Configuration!