My YunoHost server
Hardware: Old laptop or computer
YunoHost version: 4.1.7.1 (stable)
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
` I was recently having an issue upgrading my system and two apps, NextCloud being one of them. NextCloud still worked, I just couldn’t upgrade it. After following the guidance from Update Errors, also on fix commands! I was able to change the disk and perform system upgrades. However, I am still unable to upgrade NextCloud and it is giving me a 404 error after the fix was performed from that thread. Here is the log from when I try to perform the upgrade:
2021-02-20 16:23:35,297: WARNING - 1772 Source path '/etc/nginx/conf.d/mydomain.tld.d/nextcloud.conf' does not exist
2021-02-20 16:23:35,298: DEBUG - 1772 + echo -e 'Source path '\''/etc/nginx/conf.d/mydomain.tld.d/nextcloud.conf'\'' does not exist'
2021-02-20 16:23:35,298: DEBUG - 1773 + '[' 0 == 0 ']'
2021-02-20 16:23:35,299: DEBUG - 1773 + echo /etc/nginx/conf.d/mydomain.tld.d/nextcloud.conf
2021-02-20 16:23:35,299: DEBUG - 1773 + grep --quiet /etc/fail2ban
2021-02-20 16:23:35,299: DEBUG - 1774 + return 1
2021-02-20 16:23:35,300: DEBUG - 1774 + ynh_exit_properly
2021-02-20 16:23:35,300: DEBUG - 1774 + local exit_code=1
2021-02-20 16:23:35,300: DEBUG - 1774 + '[' 1 -eq 0 ']'
2021-02-20 16:23:35,301: DEBUG - 1775 + trap '' EXIT
2021-02-20 16:23:35,301: DEBUG - 1775 + set +o errexit
2021-02-20 16:23:35,301: DEBUG - 1775 + set +o nounset
2021-02-20 16:23:35,302: DEBUG - 1776 + sleep 0.5
2021-02-20 16:23:35,704: DEBUG - 2177 + type -t ynh_clean_setup
2021-02-20 16:23:35,704: DEBUG - 2178 + exit 1
2021-02-20 16:23:35,804: DEBUG - 2317 action [11144.1] executed in 2.117s
2021-02-20 16:23:35,805: WARNING - 2316 Could not back up nextcloud
2021-02-20 16:23:35,805: WARNING - 2317 Nothing to save
2021-02-20 16:23:35,906: DEBUG - + '[' 1 -eq 0 ']'
2021-02-20 16:23:35,907: WARNING - Backup failed, the upgrade process was aborted.
2021-02-20 16:23:35,907: DEBUG - + ynh_die '--message=Backup failed, the upgrade process was aborted.'
2021-02-20 16:23:35,911: DEBUG - + ret_code=1
2021-02-20 16:23:35,911: DEBUG - + echo 'Backup failed, the upgrade process was aborted.'
2021-02-20 16:23:35,911: DEBUG - + exit 1
2021-02-20 16:23:36,051: ERROR - Could not upgrade nextcloud: An error occurred inside the app upgrade script