NextCloud Upgrade Workaround - Issues Upgrading

When Upgrading, if you received this error, please make a backup of the file (or a similar error), delete it from your mailinabox system, and then try the upgrade command again.

root@box:~/mailinabox# curl -s https://mailinabox.email/setup.sh | sudo bash
Updating Mail-in-a-Box to v0.53 . . .
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
error: Your local changes to the following files would be overwritten by checkout:
setup/nextcloud.sh
Please commit your changes or stash them before you switch branches.
Aborting
Update failed. Did you modify something in /root/mailinabox?
root@box:~/mailinabox#

1 Like