What app is this about, and its version: 32.0.6~ynh2 What YunoHost version are you running: 12.1.39 What type of hardware are you using: VPS bought online
Describe your issue
I encountered an error while updating.
(nextcloud) 32.0.6~ynh2 ile 33.0.1~ynh1 versiyon
Share relevant logs or error messages
Hata: “500”
Eylem: “PUT” /yunohost/api/apps/nextcloud/upgrade
Hata mesajı:
Aborting the upgrade, because a safety backup could not be created (Failed to collect files to be backed up)
Eylem gerçekleştirilirken sunucu şunları söyledi:
Collecting files to be backed up for nextcloud…
Declaring files to be backed up…
/home/yunohost.app/nextcloud will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
File or folder ‘/etc/php/8.3/fpm/pool.d/nextcloud.conf’ to be backed up does not exist
Failed to collect files to backed up for nextcloud.
My upgrade failed because of an incompatible app. But then the restoration also is failing because of another app: Memories. It is now stuck in the terminal during mysql database restoration: Info: [#####++…] > Restoring the MySQL database… Warning: -------------- Exception in thread Thread-35: Traceback (most recent call last): File “/usr/lib/python3.11/threading.py”, line 1038, in _bootstrap_inner self.run() File “/usr/lib/python3/dist-packages/yunohost/utils/process.py”, line 157, in run self.queue.put((self.log_callback, line.decode(“utf-8”).strip(“\n”))) ^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xe6 in position 39: invalid continuation byte Warning: INSERT INTO memories_planet_geometry VALUES
I canceled using ctrl-c and then it rolled back the restoration so that Nextcloud was cleanly uninstalled. I then started the restoration manually and it worked! At least I have my old Nexcloud back and running now.
I got an error upgrading to NC 33, saying that the Memories app is incompatible with NC 33. The script then tried to restore from pre-upgrade backup, but failed, without a clear error at the end, but seemingly stuck in a loop. I then tried to manually restore from backup via CLI using `sudo yunohost backup restore nextcloud-pre-upgrade1 --apps nextcloud`. This failed as well, again without an error, but seemingly stuck. Logs attached. Now trying restore from webadmin, but it is still working.
sudo -u www-data php /var/www/nextcloud/occ status
Cannot write into “config” directory!
This can usually be fixed by giving the web server write access to the config directory.
But, if you prefer to keep config.php file read only, set the option “config_is_read_only” to true in it.
See Configuration Parameters — Nextcloud latest Administration Manual latest documentation
{“reqId”:“Xx7I7Uiaz4ohTjLruJWY”,“level”:3,“time”:“2026-04-01T07:10:21+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“PHP”,“method”:“”,“url”:“–”,“scriptName”:“/var/www/nextcloud/occ”,“message”:“fopen(/var/www/nextcloud/config/config.php): Failed to open stream: Permission denied at /var/www/nextcloud/lib/private/Config.php#210”,“userAgent”:“–”,“version”:“”,“occ_command”:[“/var/www/nextcloud/occ”,“status”],“data”:{“app”:“PHP”}}
EDIT2:
I fixed the permissions, and set the “config_is_read_only” to true in the config file, and now it’s working again!
Warning: Command "/var/www/nextcloud/cron.php" is not defined.
Warning: Command "/var/www/nextcloud/cron.php" is not defined.
Warning: Command "/var/www/nextcloud/cron.php" is not defined.
Warning: Command "/var/www/nextcloud/cron.php" is not defined.
2026-04-02 07:55:21,412: ERROR - Failed to upgrade nextcloud: An error occurred inside the app upgrade script : The following apps are not (yet?) compatible with Nextcloud 33. You should make sure to upgrade the app, or disable it, or wait for it to become compatible before running this upgrade : memories