Migrate from 6.9 to 7.4

NethServer Version: 6.9
Module: Backup
Hello,
hopefully you can help me with the migration from 6.9 to 7.4.
I used the documentation but still it won’t work.

I did an fresh install in an VM-Environment. Followed the wizard, gave the system the same name and installed the Backup Module. But I get struggling with the sentence "Restore the configuration backup using the web interface"
In 7.4 I have only a button for uploading the configuration. But where do I get this one?

Thank you for your help!

The config backup file is /var/lib/nethserver/backup/backup-config.tar.xz on your NS6.

@mrmarkuz Thanks a lot! I could restore my config.
Next step is restore-data. But after executing restore-data I get only a failure in the logs. Event: pre-restore-data FAILED.

The /var/log/messages file does not contain any hint what’s going wrong.

In the meantime I did an signal-event post-restore-data which worked successfully.

Checking now if anything works right…

  • Webserver Modul include complete configuration and data is missing
  • Mailconfig is also completely missing

Seems that this upgrade procedure isn’t working very safely.

Is there a better way to migrate?

You may try restore one more time (maybe something was not working in first step) or use rsync:

http://docs.nethserver.org/en/latest/upgrade.html#upgrade-from-product-6

Hey there,
I used now the syncing method as described in the documentation.
With this method the interfaces won’t come up.

So I changed them to a other IP via the following commands and restarted the network

vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
vi /etc/sysconfig/network-scripts/ifcfg-enp0s8
/etc/init.d/network restart

Afterwards I changed both again with

db networks setprop enp0s3 ipaddr 192.168.10.1
signal-event interface-update

Looks much more better now.

Failures:

  • Mailconfig is all changed from IMAP to POP3 at POP3-Connector

I give an update with other problems and solutions as far as I have checked it

Update:

  • Pop3-Connector Settings are wrong(Protocol, Download Intervall, Delete Settings)
  • Web Host Settings are redesigned and now missing
  • IPS has to be readjusted due to a new software

All settings can be adjusted manually, so not a big problem.

Missing functions:

  • Adagios is missing -> Is there an alternative?

Function Tests will follow. But will take some time.

You may have a look into OMD if you like nagios, icinga etc:

Or Zabbix, as alternative, scroll down to get the newest update:

After a long time the migration has been successfull completed.
I used the rsync-upgrade -u method to a virtual machine and then the backup und restore method to the baremetal system back again.

Monitoring is now the next thing. Thanks @mrmarkuz for the hints.

1 Like

Adagios is another nice monitoring tool:

Thats what I’ve used with nethserver6 :-). Thank you.