V0.41 to v0.43 Upgrade Issues

Hi,

My upgrade keeps choking. I’m apt-get upgraded and have tried a reboot.

I don’t use Nextcloud, so I’m wondering if that’s where my upgrade issues stem from. Any ideas?

Primary Hostname: mail.xxxx.com
Public IP Address: xxxx
Private IP Address: yyyy
Mail-in-a-Box Version: v0.43

Updating system packages…
Installing system packages…
Initializing system random number generator…
Firewall is active and enabled on system startup
Installing nsd (DNS server)…
Installing Postfix (SMTP server)…
Installing Dovecot (IMAP server)…
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
PHP Notice: Undefined index: version in Command line code on line 1
Upgrading Nextcloud — backing up existing installation, configuration, and database to directory to /home/user-data/owncloud-backup/2019-11-02-18:12:19…

Upgrading to Nextcloud version 15.0.8

Nextcloud is not installed - only a limited number of commands are available

Command “upgrade” is not defined.

root@mail:~#

Well, I certainly wish I recorded what in the world I did when I noted the same problem back here:

Since you’re not using Nextcloud anyway, try deleting the directory /home/user-data/owncloud and then re-running setup.

If this fails, I suggest modifying the install code to not attempt to install NC. Let’s see what happens here first…

Looking better already.

Mail-in-a-Box Version:  v0.43

Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup
Installing nsd (DNS server)...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
expired old bayes database entries in 5 seconds
180070 entries kept, 15158 deleted
token frequency: 1-occurrence tokens: 72.92%
token frequency: less than 8 occurrences: 13.25%
Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...
Upgrading Nextcloud --- backing up existing installation, configuration, and database to directory to /home/user-data/owncloud-backup/2019-11-04-09:24:17...

Upgrading to Nextcloud version 15.0.8

Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)...
Installing Mail-in-a-Box system management daemon...
Installing Munin (system monitoring)...
updated DNS: ....xxxxxxx.com
web updated

-----------------------------------------------

Your Mail-in-a-Box is running.

Please log in to the control panel for further instructions at:

Hrm, so maybe there’s some wonkiness skipping from 0.41 directly to 0.43?

If you’re not using NextCloud, it’s not a big deal. If you do use it, you want to make sure you have it synced somewhere before you clear it out, then just sync it back.

Can confirm, I don’t use the nextcloud portion. This server is mail only. Thank you.