1 (edited by dave.opc 2024-08-13 17:46:31)

Topic: calendar shares dissapeared after upgrade

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

On weekend i upgraded iredmail from 1.6.8 to 1.7.1 and adminpro 5.5 to 5.6
and users reported that in sogo their shared calendars are dissapeared, it's empty.
the only thing regarding sogo was to add:
OCSAdminURL = "mysql://sogo:SOVtHQXsnYOb3CqnYe5sH52fiYTvaYZT@127.0.0.1:3306/sogo/sogo_admin";
and upgrade to version 5.10.0 (mine is still 5.5.1, can be an issue?)

Anyone faced this issue?
How to recover missing shares? (i still have a snapshot of this vm, and i am able to start it and copy needed settings)

----

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

2

Re: calendar shares dissapeared after upgrade

Do you mean you didn't upgrade SOGo packages add OCSAdminURL in config file?
SOGo 5.5.1 doesn't support OCSAdminURL parameter, please check sogo log file (/var/log/sogo/sogo.log) to make sure it didn't report any error.

3

Re: calendar shares dissapeared after upgrade

Yes, i have a problem upgrading sogo to latest, as it gives me error:

root@mail:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
sogo : Depends: libsope-appserver4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: libsope-core4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: libsope-gdl1-4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: libsope-ldap4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: libsope-mime4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: libsope-xml4.9 (>= 4.9.r1664.20240813) but it is not installed
        Depends: sope4.9-libxmlsaxdriver but it is not installed
        Depends: sope4.9-db-connector
sogo-activesync : Depends: libwbxml2-0 (>= 0.11.2) but it is not installed
                   Depends: libsope-appserver4.9 (>= 4.9.r1664.20240813) but it is not installed
                   Depends: libsope-core4.9 (>= 4.9.r1664.20240813) but it is not installed
                   Depends: libsope-gdl1-4.9 (>= 4.9.r1664.20240813) but it is not installed
                   Depends: libsope-ldap4.9 (>= 4.9.r1664.20240813) but it is not installed
                   Depends: libsope-mime4.9 (>= 4.9.r1664.20240813) but it is not installed
                   Depends: libsope-xml4.9 (>= 4.9.r1664.20240813) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

and when i try to apt --fix-broken install it end with errors:

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../1-libsope-core4.9_4.9.r1664.20240813_amd64.deb ...
Unpacking libsope-core4.9 (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/1-libsope-core4.9_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libEOControl.so.4.9.74', which is also in package libsope1 5.5.1-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../2-libsope-mime4.9_4.9.r1664.20240813_amd64.deb ...
Unpacking libsope-mime4.9 (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/2-libsope-mime4.9_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libNGMime.so.4.9.3', which is also in package libsope1 5.5.1-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../3-libsope-appserver4.9_4.9.r1664.20240813_amd64.deb ...
Unpacking libsope-appserver4.9 (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/3-libsope-appserver4.9_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/GNUstep/SoProducts-4.9/SoCore.sxp/Resources/Info-gnustep.plist', which is also in package libsope1 5.5.1-1
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../4-libsope-gdl1-4.9_4.9.r1664.20240813_amd64.deb ...
Unpacking libsope-gdl1-4.9 (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/4-libsope-gdl1-4.9_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libGDLAccess.so.4.9.63', which is also in package libsope1 5.5.1-1
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../5-libsope-ldap4.9_4.9.r1664.20240813_amd64.deb ...
Unpacking libsope-ldap4.9 (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/5-libsope-ldap4.9_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libNGLdap.so.4.9.35', which is also in package libsope1 5.5.1-1
No apport report written because MaxReports is reached already
                                                              Preparing to unpack .../6-sope4.9-libxmlsaxdriver_4.9.r1664.20240813_amd64.deb ...
Unpacking sope4.9-libxmlsaxdriver (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/6-sope4.9-libxmlsaxdriver_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/GNUstep/SaxDrivers-4.9/libxmlSAXDriver.sax/Resources/Info-gnustep.plist', which is also in package libsope1 5.5.1-1
No apport report written because MaxReports is reached already
                                                              Preparing to unpack .../7-sope4.9-gdl1-mysql_4.9.r1664.20240813_amd64.deb ...
Unpacking sope4.9-gdl1-mysql (4.9.r1664.20240813) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/7-sope4.9-gdl1-mysql_4.9.r1664.20240813_amd64.deb (--unpack):
trying to overwrite '/usr/lib/GNUstep/GDLAdaptors-4.9/MySQL.gdladaptor/MySQL', which is also in package libsope1 5.5.1-1
No apport report written because MaxReports is reached already
                                                              Preparing to unpack .../8-libwbxml2-0_0.11.8-1_amd64.deb ...
Unpacking libwbxml2-0 (0.11.8-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-c7yeNs/8-libwbxml2-0_0.11.8-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libwbxml2.so.1', which is also in package libwbxml2-1 0.11.7+dfsg-1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
/tmp/apt-dpkg-install-c7yeNs/0-libsope-xml4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/1-libsope-core4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/2-libsope-mime4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/3-libsope-appserver4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/4-libsope-gdl1-4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/5-libsope-ldap4.9_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/6-sope4.9-libxmlsaxdriver_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/7-sope4.9-gdl1-mysql_4.9.r1664.20240813_amd64.deb
/tmp/apt-dpkg-install-c7yeNs/8-libwbxml2-0_0.11.8-1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

But that's not the case here. it might not work with OCSAdminURL parameter, but why shared calendars dissapeared?
I don't see any critical errors in sogo log file. Sogo itself is working, it's just calendars that were shared with other users are missing