Setting up php5-common (5.5.9+dfsg-1ubuntu4.21) ... dpkg: error processing package php5-common (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: php5-common E: Sub-process /usr/bin/dpkg returned an error code (1)
Having trouble trying to upgrade to 0.23. Had some issues with updates not working at all for a while, and I managed to fix that but in the process have created a problem above where I can’t install php5-common, and therefore I can’t install the MiaB upgrade to 0.23 (and my MiaB is mostly broken).
My recommendation is to backup the /home/user-data stuff, reinstall the machine to a fresh 14.04 LTS, restore the /home/user-data and then install mail-in-a-box anew. This will keep all of the mail-in-a-box related things the same. Anything you’ve done manually, though, will be lost.
Trying this… but now I’ve got a problem with OwnCloud/NextCloud not installing due to my existing version/data being too old. I don’t know how to step-through versions for OwnCloud or MiaB.
You can use https://github.com/mail-in-a-box/mailinabox/releases to get older releases. Extract it to /root/mailinabox and then run mailinabox. You probably need to run it one by one for 0.20, 0.21c, 0.22 and 0.23a. Good luck!
I’m not quite sure what you’re saying. v0.19 installed fine using the method I pointed out? And now you can’t run that curl command successfully to upgrade further than that? In that case you can delete /root/mailinabox again and then run the curl command.