I tried recreating a VPS from scratch, reinstalling MiaB, and restoring the backup I made just before, and I get the same error.
On a new VPS, version 73 installs correctly; the problem appears as soon as my users.sqlite file is included.
Can you help me?
I can’t afford to lose emails.
Thank you.
The install/update command is run from user “ubuntu”, not “root”. The “sudo -i” command is probably not a good idea. I don’t know if that’s causing your problem, but I’ve heard of similar.
It may be that’s it’s gone too far to be easily fixed, in which cause new install and restore from backup is the safest course. There are instructions for doing that on the website.
The error looks like it is part of the new functionality to set quotas for users. Somehow, your database already has the required table structure. Did you in the past already try that functionality? (it has been in beta very long)
You might get away with this by either:
Editing /home/user-data/mailinabox.version. It should contain 14, set it to 15
Edit your sqlite database directly, removing the quota column.
No guarantees, and of course make sure you have backups.