I encountered this too. It happens when upgrading from a Nextcloud version 22 or older. The solution mentioned in the second post is not needed/valid anymore, it has been fixed by the team now. But the CRC error remains, together with 2 new errors… I’ve created a bug report on them.
But in the meantime, this is how I solved it:
To fix the bug mentioned in the first post you must manually refresh the mailinabox files (at least until they publish a new release)
cd ~/mailinabox
sudo git pull
Next edit the nextcloud file:
sudo nano setup/nextcloud.sh
Go down to the line that says:
# Extract ownCloud/Nextcloud
unzip -q /tmp/nextcloud.zip -d /usr/local/lib
Change it to:
unzip -q /tmp/nextcloud.zip -d /usr/local/lib -x nextcloud/core/doc/admin/configuration_files/external_storage/local.html
This will fix the bad CRC
error (this is Nextcloud’s fault).
Go further down to this part:
if [[ ${CURRENT_NEXTCLOUD_VER} =~ ^22 ]]; then
InstallNextcloud 23.0.12 7aa5d61632c1ccf4ca3ff00fb6b295d318c05599 4.1.0 697f6b4a664e928d72414ea2731cb2c9d1dc3077 3.2.2 ce4030ab57f523f33d5396c6a81396d440756f5f 3.0.0 22cabc88b6fc9c26dad3b46be1a652979c9fcf15
CURRENT_NEXTCLOUD_VER="23.0.12"
fi
And change the long line to this:
InstallNextcloud 23.0.12 9b766a33b5d863ade22ee4ee34585d7df93552da 4.1.0 697f6b4a664e928d72414ea2731cb2c9d1dc3077 3.2.2 ce4030ab57f523f33d5396c6a81396d440756f5f 3.0.0 0df781b261f55bbde73d8c92da3f99397000972f
This will fix two computed checksum did not match
errors (those are MIAB’s fault).
(use ctrl+O and ctrl+X to save and exit)
Hope I got all that code correct and that it works for you too