My YunoHost server
YunoHost version: 11.2.22
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: privatebin v1.7.4~ynh1
Description of my issue
Upgrading privatebin from v1.7.3 to v1.7.4 fails during backup step of the upgrade.
Full log here: https://paste.yunohost.org/raw/dujiqipuki
End of log with error:
2024-07-20 16:22:16,402: WARNING - /var/cache/yunohost/app_tmp_work_dirs/app_9r8iw9sd/scripts/backup: line 34: phpversion: unbound variable
2024-07-20 16:22:16,402: DEBUG - ++ ynh_exit_properly
2024-07-20 16:22:16,403: DEBUG - ++ [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2024-07-20 16:22:16,902: DEBUG - ++ exit 1
2024-07-20 16:22:17,904: DEBUG - Could not run script: /var/cache/yunohost/app_tmp_work_dirs/app_9r8iw9sd/scripts/backup
2024-07-20 16:22:17,906: ERROR - Could not back up privatebin