1 (edited by Nameless 2022-05-30 05:19:08)

Topic: Failing to upgrade Roundcube from 1.4.x to 1.5.x

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer (0.9.x)
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I've left my iRedMail installation unupgraded for a while, but today I decided to upgrade to the latest. It all worked well between 1.3.2 and 1.4.2, but when I tried to upgrade to 1.5.0, the upgrade of Roundcube doesn't exactly work. The script runs fine, but then when I load the Webmail UI, no email appears on the list and I get the following error in the browser console:

Uncaught (in promise) Error: The message port closed before a response was received.

The thing is, in the upgrade guide there's also an SQL correction for MySQL but not for PGSQL, and I wonder whether one was necessary but was missed.

Or, alternatively, if something else is wrong, where iRedMail is the cause.

Note that I've tried to upgrade Roundcube on its own before, and I've encountered the exact same error, but since I didn't upgrade iRedMail too, I thought perhaps there was something in the iRedMail upgrade that I was missing. But now I performed the iRedMail upgrade too so I wonder what's up!

EDIT: I forgot to say one thing: I'm on Debian 9 (stretch), so I also couldn't perform the Nginx part of the upgrade from iRedMail 1.4.2 to 1.5.0. Perhaps that plays a role.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Failing to upgrade Roundcube from 1.4.x to 1.5.x

I investigated further and realized the console error is irrelevant: it also appears when I switch back to 1.4.11, which works. Something else is the matter.

3

Re: Failing to upgrade Roundcube from 1.4.x to 1.5.x

What's the issue now?

4

Re: Failing to upgrade Roundcube from 1.4.x to 1.5.x

ZhangHuangbin wrote:

What's the issue now?

Sorry if I was unclear. When I upgrade Roundcube to any 1.5.x version, all views are empty (no email on the list, settings empty, etc.). When I switch back to 1.4.11, everything is back to normal.

I upgrade by downloading the complete Roundcube package, copying my Roundcube folder into a new one, and then use the bin/installto.sh script to upgrade the new folder. I then switch the symlink in /opt/www/ to point to the new Roundcube installation. I switch back by reverting the symlink.

To be honest, I'm not 100% certain this is an iRedMail rather than a Roundcube issue. I'm just lost as to what it could be.