What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.17 What app is this about: Piped
Describe your issue
I’m trying to update Piped from version 2025.06.15~ynh1 to 2025.06.22~ynh1, but the package update script fails while attempting to clear old Gradle files.
Similar to this thread, except running sudo yunohost tools basic-space-cleanup and deleting old backups to make more storage space, didn’t help.
Share relevant logs or error messages
WARNING - rm: cannot remove '/var/www/piped/.gradle/caches/modules-2': Directory not empty
ERROR - Could not upgrade piped: An error occurred inside the app upgrade script
Manually deleting the folder helped. Now I get a new error
userdel: user piped is currently used by process 131046
deluser: `/usr/sbin/userdel piped' returned error code 8. Exiting.
Warning: Failed to deprovision system_user : Failed to delete system user for piped
Info: Deprovisioning sources...
Error: Failed to delete system user for piped
Warning: rm: cannot remove ‘/var/www/piped/.gradle/caches/modules-2’: Directory not empty
Error: Could not upgrade piped: An error occurred inside the app upgrade script
I don’t know why it would have made any difference – apt cleanup and yunohost tools basic-space-cleanup didn’t actually remove much, and I’d tried rebooting before already. But the update finally worked this time.