NethServer Version: 6.9
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:
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
Afterwards I changed both again with
db networks setprop enp0s3 ipaddr 192.168.10.1
Looks much more better now.
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
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.
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:
OMD Network Monitoring Howto
EDIT - 26.1.2018
changed code blocks for better viewing
EDIT - 16.10.2017
added config changes to access all sites via http auth
added mail notification configuration
added nethserver-xinetd and nano install
added optional tags and nethserver 6 compatibility
changed from blockquotes to code blocks for better copy/paste, changed from bold text to headings
OMD is a web-manageable, feature-rich monitoring system. I know that there are better ways to integrate apps…
Or Zabbix, as alternative, scroll down to get the newest update:
discussed about monitoring here and got interested in Zabbix:
So I installed it and want to share my installation experience:
community module is ready for testing
added 3.4 source and commands
removed “-uroot” from “mysql” as it is obsolete
optional PHP configuration
added application link
Repository and Packages installation
Download repo and install packages for Zabbix
rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/…
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.
Adagios is another nice monitoring tool:
￼Some good news from monitoring world: new
Adagios version is out and now - finally - supports Nagios 4!
Here’s the steps to go through the installation:
Install additional repos and update them:
rpm -ihv http://opensource.is/repo/ok-release.rpm
rpm -Uvh https://labs.consol.de/repo/stable/rhel7/x86_64/labs-consol-stable.rhel7.noarch.rpm
yum update -y ok-release
yum install -y git acl libstdc++-static python-setuptools pnp4nagios
Install Nagios 4 and Livestat…
Thats what I’ve used with nethserver6 :-). Thank you.