I was out for some weeks and got back and wanted to update my old NS6.9 to NS7.4. This was something I wanted to do since some weeks. No I had the time and was happy to get started.
I downloaded the iso and began to install. Everything was fine. After installation I did all updates and prepared to to upgrade via rsync. (to update was a failure, but I didn’t realize it at this point!!)
- step of rsync went fine, no problem so far
- step of rsync: restore config failed.
I tried it a second time and a third time. No chance to restore the config.
O.k. back to start and lets try it via backup. Restore config failed again??
Again back to start and try it again with rsync. This time I watched the process exactly and recongized that the installation of modules stoped at nethserver-ups (exactlier at restore nut, which complained about some libraries). So remove nethserver-ups from source machine and start again.
This time restore config stoped at restore nethserver-cgp. So remove nethserver-statistik and start once more. Heureca, restore config passed finally and stop with a message “to few arguments”.
Exit from screen doesn’t give any more hint about. A look at restore-config.log only says: “retsore-config failed 256”. Hmmmm. O.k. lets check modules. All modules seem to be installed and system is running in ldap-mode. The signal-event post-restore-data worked. O.k. the cgp-module is mentioned in “discontinued modules”, but a hint, that this has to be removed before upgrade would be really fine.
Next step is to upgrade from ldap to AD. This procedure stoped at 50% which tells me “activating services” nothing more. Process hangs. After some hours of serching and thinking I had the right idea.
A look at
journalctl -M nsdc tells me, that provisioning failed because there are users and groups with the same name.
Luckilly this is all on a VM, so rollback to previous state and try to remove the groups that block the provisioning. The next two hours I was blind. I didn’t see the easy way to delete the groups via GUI.
o.k. my fault! Fortunately I have only 15 users on this system, so it took me about 10 minutes to remove each group manually. But I though by my self, what if I had some hundret users?!?
@davidep told me this could happen with a customized setup, with user created on commandline. I searched my source machine and found anly two things. I installed virtulabox, which is not a ns-module and I installed EAP-controller from a HowTo, which works really great. IMO this should be no problem for a upgarde.
Starting upgarde to local AD again finally worked. Wow, I had a working NS 7 with all my users and all my data and all events in Sogo. Finally everything seemed to be fine.
Now I wanted to install some modules which I wanted. One of them is the nDPI-module.
Installed it from softwarecenter and then I got the message “please use a kernel that supports DPI”.
At this point I realized that I had no subsciption on this machine and so I accidentally updated to V7.5 with kernel 188.8.131.522, which doesn’t support the current stable nethserver-ndpi-module.
Reboot and start with kernel 184.108.40.2063 worked. All my work endedup in a machine with an unstable alpha release. I couldn’t belief it!
The conclusion of all this is, if I try to install a new nethserver-machine without subsciption I have two options:
- to install an old software from iso and do not update. So I have an old system with old modules which maybe are buggy and have some incompatibilities (regarding to github 497 issues are solved on V7 so far - don’t know which state the iso has), which results in an unstable machine
- to install from iso and update and get an unstable alpha-release.
Both options are not acceptable. If this is the way nethserver wants to force users to buy subsciptions, I totally disagree with this policy.
Let me suggest 2 Options to solve this:
- always release an iso with the latest stable version, so an immediately update is not necesarry
- put a automatic trial-subsciption into the iso, so an update it possible to a stable up-to-date version
The 3. option, to install a trial subsciption before update the new installation is a really hard one for those how only want to try this software. I don’t think that this will lead to many newcommers.
So my honest plea is, that you overthink your update/subsciption policy/stategy.