Upgrade from 0.5 to 0.51 error

If your NextCloud update failed during upgrade, then this is what I did to get the upgrade to complete:

  1. In /user-name/mailinabox/setup is the nextcloud.sh script. You need to comment out the line
    echo "ALTER TABLE oc_flow_operations ADD COLUMN entity VARCHAR;" | sqlite3 $STORAGE_ROOT/owncloud/owncloud.db by adding a # in front of it
  2. Edit /usr/local/lib/owncloud/config/config.php and change the last line to
    'maintenance' => false,
  3. Re-run curl -s https://mailinabox.email/setup.sh | sudo -E bash

It should complete without error

1 Like