I dirty moved the server with rsync that I have done numerous times with other servers, so just have a few specific questions.
Obviously, I can’t access anything over the web on this server. I have done db networks command and signal-event. db networks show has the correct info.
I can get in and out of the server without issue. It’s all the web services I can’t access. The web interface on port 980 or nextcloud. System adjust command didn’t yield any results. Same issue.
After all files have been copied, run rsync again just to make sure its updated, then do the items below and reboot
After editing /etc/sysconfig/network-scripts, /etc/hosts and running db networks everything works as its supposed to. Shorewall will need to be disabled temporarily while changing these items with shorewall stop and shorewall clear.
Also, would be wise to grep for old IP in /etc folder as some modules hardcode the IP for example docker does.
db networks set eth0 ethernet role green ipaddr YOUR_PUBLIC_IP netmask YOUR_NETMASK network YOUR_NETWORK_ADDR onboot yes bootproto static
I ultimately didn’t want to reconfigure everything. Took awhile to get it exactly the way I wanted it to be and prolly forgot half of what I did with it originally. I did see that article but I saw SME and skipped right over it. I just used this method to copy 4 VPSs to new hosts. Other than IP issue I haven’t had a problem doing this method.
thank to share your experience, we could change the topic of this post to Nethserver rsync migration with an accepted solution on your post with the command. It could help others, what do you think ?