All:
I'm new here and my *NIX chops are a bit on the rusty side, but I'm experiencing a ton of frustration and a myriad of issues migrating and upgrading my Zimbra server. I've read through a variety of documentation, including on the commercial zimbra site and nothing so far has worked. I'm not even sure where to begin, but to start off, the machine specs:
I currently have a VPS on Digital Ocean with 4 CPUs, 8GB of memory and 160GB of SSD:
$ lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 18.04.6 LTS
Release:18.04
Codename:bionic
On this server I am running the OSE/FOSS Zimbra 8.8.15. It's been working really well in the four years since I installed it, but for a variety of reasons, I need to migrate off the Digital Ocean server onto a Hetzner VPS (including it's far cheaper, literally less than half the price for better specs).
The new VPS has similar specs with 16GB of RAM, running Ubuntu 22.04, obviously with a new IP address, and I have been attempting to upgrade to Zimbra 10.4.
I have followed exactly the instructions in this post about how to migrate:
viewtopic.php?t=69746#p301880
I have rebuilt the server from scratch multiple times and run through the steps, but it's failing repeatedly on a number of fronts but two, to begin with:
From there I re-ran the installer without the -s flag and it seemed to work; the software installed successfully and all the services started up successfully but as a first test, I was unable to connect to the web interface.
I got the following 502 error:
http error 502 problem accessing zcs upstream server. cannot connect to the zcs upstream server. connection is refused. possible reasons: upstream server is unreachable upstream server is currently being upgraded upstream server is down please contact your zcs administrator to fix the problem.
There's apparently some sort of proxy issue, I gather, but I am unsure.
In addition, I discovered log entries that seemed to indicate the server thinks it's still running 8.8.15. From today's access log:
127.0.0.1 - - [13/Feb/2025:20:10:10 +0000] "POST /service/admin/soap/GetAllServersRequest HTTP/1.1" 200 11240 "-" "zmprov 8.8.15_GA_4522"
Also the IP address in main.cf is bound to the IP address of the old server, which I'm sure is causing issues, and the command that I found to change it throws an error:
The command I used:
zmprov ms mail.oceanbluedive.com zimbraMtaMyNetworks '127.0.0.0/8 [::1]/my.new.ip.address/32'
The error:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Obviously I can't edit that file by hand because it gets overwritten immediately and I can't seem to figure out, after much research, how I can get that IP address changed to the new one.
I've been pretty much pulling my hair out for the last few days and obviously I'm doing something wrong, but I need some advice/guidance about what I might be missing in the process of upgrading. Obviously dns records and such need to be swapped over while I'm even just trying out the new software to see if it works and while I've been doing it at night so as to avoid losing mail while I'm working on the new server, but I'm sure mail is getting bounced and I can't really afford to have much of that happening. I'm not the only one using this mail server, although I will say that it's pretty low traffic, relatively speaking.
I can certainly attempt a fresh install (no migration) on a new install of Ubuntu 22.04 just to make sure that it works as it should, but ultimately I simply need to get all the old mail and ldap database over as seamlessly as possible. Feels like this should be a lot easier, frankly.
Any thoughts or advice are welcome. Happy to provide output for anything that might help zero in on the problem, but I'm afraid this is beyond my capabilities at this stage. Thanks in advance.
I'm new here and my *NIX chops are a bit on the rusty side, but I'm experiencing a ton of frustration and a myriad of issues migrating and upgrading my Zimbra server. I've read through a variety of documentation, including on the commercial zimbra site and nothing so far has worked. I'm not even sure where to begin, but to start off, the machine specs:
I currently have a VPS on Digital Ocean with 4 CPUs, 8GB of memory and 160GB of SSD:
$ lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 18.04.6 LTS
Release:18.04
Codename:bionic
On this server I am running the OSE/FOSS Zimbra 8.8.15. It's been working really well in the four years since I installed it, but for a variety of reasons, I need to migrate off the Digital Ocean server onto a Hetzner VPS (including it's far cheaper, literally less than half the price for better specs).
The new VPS has similar specs with 16GB of RAM, running Ubuntu 22.04, obviously with a new IP address, and I have been attempting to upgrade to Zimbra 10.4.
I have followed exactly the instructions in this post about how to migrate:
viewtopic.php?t=69746#p301880
I have rebuilt the server from scratch multiple times and run through the steps, but it's failing repeatedly on a number of fronts but two, to begin with:
- mailbox fails on startup
- webapp fails on startup
From there I re-ran the installer without the -s flag and it seemed to work; the software installed successfully and all the services started up successfully but as a first test, I was unable to connect to the web interface.
I got the following 502 error:
http error 502 problem accessing zcs upstream server. cannot connect to the zcs upstream server. connection is refused. possible reasons: upstream server is unreachable upstream server is currently being upgraded upstream server is down please contact your zcs administrator to fix the problem.
There's apparently some sort of proxy issue, I gather, but I am unsure.
In addition, I discovered log entries that seemed to indicate the server thinks it's still running 8.8.15. From today's access log:
127.0.0.1 - - [13/Feb/2025:20:10:10 +0000] "POST /service/admin/soap/GetAllServersRequest HTTP/1.1" 200 11240 "-" "zmprov 8.8.15_GA_4522"
Also the IP address in main.cf is bound to the IP address of the old server, which I'm sure is causing issues, and the command that I found to change it throws an error:
The command I used:
zmprov ms mail.oceanbluedive.com zimbraMtaMyNetworks '127.0.0.0/8 [::1]/my.new.ip.address/32'
The error:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Obviously I can't edit that file by hand because it gets overwritten immediately and I can't seem to figure out, after much research, how I can get that IP address changed to the new one.
I've been pretty much pulling my hair out for the last few days and obviously I'm doing something wrong, but I need some advice/guidance about what I might be missing in the process of upgrading. Obviously dns records and such need to be swapped over while I'm even just trying out the new software to see if it works and while I've been doing it at night so as to avoid losing mail while I'm working on the new server, but I'm sure mail is getting bounced and I can't really afford to have much of that happening. I'm not the only one using this mail server, although I will say that it's pretty low traffic, relatively speaking.
I can certainly attempt a fresh install (no migration) on a new install of Ubuntu 22.04 just to make sure that it works as it should, but ultimately I simply need to get all the old mail and ldap database over as seamlessly as possible. Feels like this should be a lot easier, frankly.
Any thoughts or advice are welcome. Happy to provide output for anything that might help zero in on the problem, but I'm afraid this is beyond my capabilities at this stage. Thanks in advance.
Statistics: Posted by Michl — Thu Feb 13, 2025 11:43 pm