Topic: Get Sogo to work after using Roundcube for some years
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 22.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MARIADB
- 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 have been using Roundcube for several years, but I realize I want Calendar support so therefore consider switching to Sogo. I have already installed Sogo as it seems (can't remember when done), but my user/pass does not work so it is not connected to my mail accounts. What is the reccommended way to migrate to Sogo? Is it even possible?
Edit: Found an older topic where it was recommended to run installer with the USE_SOGO=yes. The old installer that was used originally failed. This was version 1.0. I also tried with 1.6.8, but it also failed. Below is the output.
/iRedMail-1.6.8# bash iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail-1.6.8/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-1.6.8/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-1.6.8/runtime/install.status.
[ INFO ] Add apt repo for SOGo: https://packages.sogo.nu
[ INFO ] Resynchronizing the package index files (apt update) ...
Hit:1 http://se.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://se.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://se.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://se.archive.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://apt.grafana.com stable InRelease
Hit:6 https://repos.influxdata.com/debian stable InRelease
Get:7 https://packages.sogo.nu/nightly/5/ubuntu jammy InRelease [3218 B]
Get:8 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 Packages [7195 B]
Fetched 10.4 kB in 1s (14.4 kB/s)
Reading package lists... Done
[ INFO ] Installing package(s): python3-setuptools python3-pip python3-wheel python3-requests uwsgi uwsgi-plugin-python3 postfix postfix-pcre libsasl2-modules mariadb-client mariadb-server postfix-mysql libdbd-mysql-perl php-cli php-fpm php-json php-gd php-curl mcrypt php-intl php-xml php-mbstring php-zip php-mysql nginx-full dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj nomarch cpio lzop cabextract p7zip-full rpm libmail-spf-perl unrar-free pax lrzip gpg-agent libclamunrar9 mlmmj python3-pymysql memcached sogo sogo-activesync sope4.9-gdl1-mysql python3-sqlalchemy python3-dnspython python3-pymysql python3-jinja2 python3-netifaces python3-bcrypt python3-dnspython python3-simplejson python3-pymysql fail2ban geoip-bin geoip-database zlib1g libuuid1 libmnl0 curl lm-sensors netcat bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool rsyslog nftables
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.3.1-1).
bzip2 is already the newest version (1.0.8-5build1).
cron is already the newest version (3.0pl1-137ubuntu3).
libcrypt-openssl-rsa-perl is already the newest version (0.32-1ubuntu2).
libmail-dkim-perl is already the newest version (1.20200907-1).
libmail-spf-perl is already the newest version (2.9.0-5).
libmnl0 is already the newest version (1.0.4-3build2).
logwatch is already the newest version (7.5.6-1ubuntu1).
lzop is already the newest version (1.04-2build2).
patch is already the newest version (2.7.6-7build2).
pax is already the newest version (1:20201030-1build2).
php-cli is already the newest version (2:8.1+92ubuntu1).
php-curl is already the newest version (2:8.1+92ubuntu1).
php-gd is already the newest version (2:8.1+92ubuntu1).
php-json is already the newest version (2:8.1+92ubuntu1).
php-mysql is already the newest version (2:8.1+92ubuntu1).
php-xml is already the newest version (2:8.1+92ubuntu1).
python3-bcrypt is already the newest version (3.2.0-1build1).
python3-bcrypt set to manually installed.
python3-dnspython is already the newest version (2.1.0-1ubuntu1).
python3-dnspython set to manually installed.
python3-netifaces is already the newest version (0.11.0-1build2).
python3-netifaces set to manually installed.
python3-simplejson is already the newest version (3.17.6-1build1).
python3-sqlalchemy is already the newest version (1.4.31+ds1-1build1).
altermime is already the newest version (0.3.10-12).
arj is already the newest version (3.10.22-25).
cabextract is already the newest version (1.9-3).
fail2ban is already the newest version (0.11.2-6).
geoip-bin is already the newest version (1.6.12-8).
geoip-database is already the newest version (20191224-3).
liblz4-tool is already the newest version (1.9.3-2build2).
lm-sensors is already the newest version (1:3.6.0-7ubuntu1).
mcrypt is already the newest version (2.6.8-6).
mlmmj is already the newest version (1.3.0-4).
netcat is already the newest version (1.218-4ubuntu1).
nomarch is already the newest version (1.4-5).
p7zip-full is already the newest version (16.02+dfsg-8).
php-fpm is already the newest version (2:8.1+92ubuntu1).
php-intl is already the newest version (2:8.1+92ubuntu1).
php-mbstring is already the newest version (2:8.1+92ubuntu1).
rpm is already the newest version (4.17.0+dfsg1-4build1).
tofrodos is already the newest version (1.7.13+ds-5).
unrar-free is already the newest version (1:0.0.2-0.1).
uwsgi is already the newest version (2.0.20-4).
uwsgi-plugin-python3 is already the newest version (2.0.20-4).
amavisd-new is already the newest version (1:2.12.2-1ubuntu1.1).
bsdutils is already the newest version (1:2.37.2-4ubuntu3.4).
bsdutils set to manually installed.
clamav-daemon is already the newest version (0.103.11+dfsg-0ubuntu0.22.04.1).
clamav-freshclam is already the newest version (0.103.11+dfsg-0ubuntu0.22.04.1).
cpio is already the newest version (2.13+dfsg-7ubuntu0.1).
curl is already the newest version (7.81.0-1ubuntu1.16).
dovecot-imapd is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
dovecot-pop3d is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
gpg-agent is already the newest version (2.2.27-3ubuntu2.1).
gpg-agent set to manually installed.
libsasl2-modules is already the newest version (2.1.27+dfsg2-3ubuntu1.2).
libuuid1 is already the newest version (2.37.2-4ubuntu3.4).
libuuid1 set to manually installed.
memcached is already the newest version (1.6.14-1ubuntu0.1).
memcached set to manually installed.
nftables is already the newest version (1.0.2-1ubuntu3).
nftables set to manually installed.
postfix is already the newest version (3.6.4-1ubuntu1.3).
postfix-mysql is already the newest version (3.6.4-1ubuntu1.3).
postfix-pcre is already the newest version (3.6.4-1ubuntu1.3).
python3-jinja2 is already the newest version (3.0.3-1ubuntu0.2).
python3-jinja2 set to manually installed.
python3-pymysql is already the newest version (1.0.2-1ubuntu1.22.04.1).
python3-requests is already the newest version (2.25.1+dfsg-2ubuntu0.1).
python3-requests set to manually installed.
python3-setuptools is already the newest version (59.6.0-1.2ubuntu0.22.04.1).
python3-setuptools set to manually installed.
rsyslog is already the newest version (8.2112.0-2ubuntu2.2).
rsyslog set to manually installed.
spamassassin is already the newest version (3.4.6-1ubuntu0.22.04.1).
unzip is already the newest version (6.0-26ubuntu3.2).
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).
dovecot-lmtpd is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
dovecot-managesieved is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
dovecot-mysql is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
dovecot-sieve is already the newest version (1:2.3.16+dfsg1-3ubuntu2.2).
libdbd-mysql-perl is already the newest version (4.050-5ubuntu0.22.04.1).
lrzip is already the newest version (0.651-2ubuntu0.22.04.1).
mariadb-client is already the newest version (1:10.6.18-0ubuntu0.22.04.1).
mariadb-server is already the newest version (1:10.6.18-0ubuntu0.22.04.1).
nginx-full is already the newest version (1.18.0-6ubuntu14.4).
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4).
python3-wheel is already the newest version (0.37.1-2ubuntu0.22.04.1).
python3-wheel set to manually installed.
The following packages were automatically installed and are no longer required:
libdaxctl1 libffi7 libndctl6 libpmem1 libsope1 python-six sogo-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
autotools-dev gnustep-make gobjc gobjc-11 libobjc-11-dev libsbjson2.3
libsope-appserver4.9 libsope-core4.9 libsope-gdl1-4.9 libsope-ldap4.9
libsope-mime4.9 libsope-xml4.9 libwbxml2-0 php8.1-zip
sope4.9-libxmlsaxdriver
Suggested packages:
gnustep-make-doc gobjc-multilib gobjc-11-multilib gcc-11-doc mysql-server
The following NEW packages will be installed:
autotools-dev gnustep-make gobjc gobjc-11 libclamunrar9 libobjc-11-dev
libsope-appserver4.9 libsope-core4.9 libsope-gdl1-4.9 libsope-ldap4.9
libsope-mime4.9 libsope-xml4.9 libwbxml2-0 php-zip php8.1-zip
sogo-activesync sope4.9-gdl1-mysql sope4.9-libxmlsaxdriver
The following packages will be upgraded:
libsbjson2.3 sogo
2 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 41.0 MB of archives.
After this operation, 93.9 MB of additional disk space will be used.
Get:1 http://se.archive.ubuntu.com/ubuntu jammy/main amd64 autotools-dev all 20220109.1 [44.9 kB]
Get:2 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libobjc-11-dev amd64 11.4.0-1ubuntu1~22.04 [196 kB]
Get:4 http://se.archive.ubuntu.com/ubuntu jammy/universe amd64 gobjc amd64 4:11.2.0-1ubuntu1 [862 B]
Get:5 http://se.archive.ubuntu.com/ubuntu jammy/universe amd64 gnustep-make all 2.9.0-3 [141 kB]
Get:6 http://se.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 libclamunrar9 amd64 0.103.11-0ubuntu0.22.04.1 [96.7 kB]
Get:7 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 php8.1-zip amd64 8.1.2-1ubuntu2.18 [27.1 kB]
Get:8 http://se.archive.ubuntu.com/ubuntu jammy/universe amd64 php-zip all 2:8.1+92ubuntu1 [1830 B]
Get:3 http://se.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gobjc-11 amd64 11.4.0-1ubuntu1~22.04 [9835 kB]
Get:9 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libwbxml2-0 amd64 0.11.8-1 [76.4 kB]
Get:10 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsbjson2.3 amd64 4.9.r1664.20240630 [17.5 kB]
Get:11 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-xml4.9 amd64 4.9.r1664.20240630 [175 kB]
Get:12 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-core4.9 amd64 4.9.r1664.20240630 [424 kB]
Get:13 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-mime4.9 amd64 4.9.r1664.20240630 [381 kB]
Get:14 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-appserver4.9 amd64 4.9.r1664.20240630 [1178 kB]
Get:15 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-gdl1-4.9 amd64 4.9.r1664.20240630 [199 kB]
Get:16 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 libsope-ldap4.9 amd64 4.9.r1664.20240630 [61.2 kB]
Get:17 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 sope4.9-libxmlsaxdriver amd64 4.9.r1664.20240630 [43.7 kB]
Get:18 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 sope4.9-gdl1-mysql amd64 4.9.r1664.20240630 [39.4 kB]
Get:19 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 sogo amd64 5.10.0.20240630-1 [26.8 MB]
Get:20 https://packages.sogo.nu/nightly/5/ubuntu jammy/jammy amd64 sogo-activesync amd64 5.10.0.20240630-1 [1283 kB]
Fetched 41.0 MB in 5s (7562 kB/s)
Selecting previously unselected package autotools-dev.
(Reading database ... 189963 files and directories currently installed.)
Preparing to unpack .../00-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package libobjc-11-dev:amd64.
Preparing to unpack .../01-libobjc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libobjc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gobjc-11.
Preparing to unpack .../02-gobjc-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gobjc-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gobjc.
Preparing to unpack .../03-gobjc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gobjc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package gnustep-make.
Preparing to unpack .../04-gnustep-make_2.9.0-3_all.deb ...
Unpacking gnustep-make (2.9.0-3) ...
Selecting previously unselected package libclamunrar9.
Preparing to unpack .../05-libclamunrar9_0.103.11-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libclamunrar9 (0.103.11-0ubuntu0.22.04.1) ...
Selecting previously unselected package libwbxml2-0.
Preparing to unpack .../06-libwbxml2-0_0.11.8-1_amd64.deb ...
Unpacking libwbxml2-0 (0.11.8-1) ...
Selecting previously unselected package php8.1-zip.
Preparing to unpack .../07-php8.1-zip_8.1.2-1ubuntu2.18_amd64.deb ...
Unpacking php8.1-zip (8.1.2-1ubuntu2.18) ...
Selecting previously unselected package php-zip.
Preparing to unpack .../08-php-zip_2%3a8.1+92ubuntu1_all.deb ...
Unpacking php-zip (2:8.1+92ubuntu1) ...
Preparing to unpack .../09-libsbjson2.3_4.9.r1664.20240630_amd64.deb ...
Unpacking libsbjson2.3 (4.9.r1664.20240630) over (2.3.2-4build4) ...
Selecting previously unselected package libsope-xml4.9.
Preparing to unpack .../10-libsope-xml4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-xml4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/10-libsope-xml4.9_4.9.r1664.20240630_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libDOM.so.4.9.24', which is also in package libsope1 5.5.1-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libsope-core4.9.
Preparing to unpack .../11-libsope-core4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-core4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/11-libsope-core4.9_4.9.r1664.20240630_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)
Selecting previously unselected package libsope-mime4.9.
Preparing to unpack .../12-libsope-mime4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-mime4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/12-libsope-mime4.9_4.9.r1664.20240630_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)
Selecting previously unselected package libsope-appserver4.9.
Preparing to unpack .../13-libsope-appserver4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-appserver4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/13-libsope-appserver4.9_4.9.r1664.20240630_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)
Selecting previously unselected package libsope-gdl1-4.9.
Preparing to unpack .../14-libsope-gdl1-4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-gdl1-4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/14-libsope-gdl1-4.9_4.9.r1664.20240630_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)
Selecting previously unselected package libsope-ldap4.9.
Preparing to unpack .../15-libsope-ldap4.9_4.9.r1664.20240630_amd64.deb ...
Unpacking libsope-ldap4.9 (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/15-libsope-ldap4.9_4.9.r1664.20240630_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
Selecting previously unselected package sope4.9-libxmlsaxdriver.
Preparing to unpack .../16-sope4.9-libxmlsaxdriver_4.9.r1664.20240630_amd64.deb ...
Unpacking sope4.9-libxmlsaxdriver (4.9.r1664.20240630) ...
No apport report written because MaxReports is reached already
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/16-sope4.9-libxmlsaxdriver_4.9.r1664.20240630_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
Selecting previously unselected package sope4.9-gdl1-mysql.
Preparing to unpack .../17-sope4.9-gdl1-mysql_4.9.r1664.20240630_amd64.deb ...
Unpacking sope4.9-gdl1-mysql (4.9.r1664.20240630) ...
dpkg: error processing archive /tmp/apt-dpkg-install-6TtpqH/17-sope4.9-gdl1-mysql_4.9.r1664.20240630_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 .../18-sogo_5.10.0.20240630-1_amd64.deb ...
Unpacking sogo (5.10.0.20240630-1) over (5.5.1-1) ...
dpkg: warning: unable to delete old directory '/var/log/sogo': Directory not empty
Selecting previously unselected package sogo-activesync.
Preparing to unpack .../19-sogo-activesync_5.10.0.20240630-1_amd64.deb ...
Unpacking sogo-activesync (5.10.0.20240630-1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-6TtpqH/10-libsope-xml4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/11-libsope-core4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/12-libsope-mime4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/13-libsope-appserver4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/14-libsope-gdl1-4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/15-libsope-ldap4.9_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/16-sope4.9-libxmlsaxdriver_4.9.r1664.20240630_amd64.deb
/tmp/apt-dpkg-install-6TtpqH/17-sope4.9-gdl1-mysql_4.9.r1664.20240630_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.