[SOLVED] Upgrade from v0.27 to v0.48

See this post why you need to update major version one by one

and this one

List of version/Tags:

#v0.41 - OK
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v40
sudo git clone -b v0.41 GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Nextcloud from 13.0.6 to 14.0.6.

#v0.42 - OK
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v41
sudo git clone -b v0.42 GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Nextcloud from 14.0.6 to 15.0.8 (with Contacts from 2.1.8 to 3.1.1 and Calendar from 1.6.4 to 1.6.5).

#v0.42b - ERROR Cert
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v41
sudo git clone -b v0.42b GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Nextcloud from 14.0.6 to 15.0.8 (with Contacts from 2.1.8 to 3.1.1 and Calendar from 1.6.4 to 1.6.5).

#No TLS (SSL) certificate is installed for this domain. Visitors to a website on this domain will get a security warning. If you are not serving a website on this domain, you do not need to take any action. Use the TLS Certificates page in the control panel to install a TLS certificate.

#FIX
~/mailinabox/management/ssl_certificates.py

#v0.43 - OK
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v42b
sudo git clone -b v0.43 GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Roundcube to 1.3.10.

v0.44 - OK
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v43
sudo git clone -b v0.44 GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Nextcloud from 15.0.8 to 17.0.2 (with Contacts from 3.1.1 to 3.1.6 and Calendar from 1.6.5 to 1.7.1)

#v0.45
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v44
sudo git clone -b v0.45 GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
cd mailinabox
sudo git checkout
sudo setup/start.sh

  • Upgraded Nextcloud from 17.0.2 to 17.0.6 (with Contacts from 3.1.6 to 3.3.0 and Calendar from 1.7.1 to v2.0.3)

#v0.46

#v0.47

#v0.48 - OK
cd #
~/mailinabox/management/backup.py
mv ./mailinabox ./mailinabox.v45
curl -s https://mailinabox.email/setup.sh | sudo -E bash