On 20/06/2023 08:43, Tomas Hlavaty wrote:
Hi,
I have a roundcube 1.3.6 (with sqlite3) installed on Ubuntu 18.04.6 LTS
and I would like to upgrade it to roundcube 1.5.0 (with sqlite3) on
Ubuntu 22.04.2 LTS:
roundcube/bionic,now 1.3.6+dfsg.1-1 all [installed,automatic]
->
roundcube/jammy,jammy 1.5.0+dfsg.1-2 all
The upgrading wiki and guide seem to deal with installation from tarball
and not from deb packages.
What do I need to do to upgrade properly?
For example, do I need to manually upgrade the sqlite3 database, or will
this happen automatically?
Is there anything else I should be careful about?
I did a similar upgrade as part of upgrading my Debian server from
Bullseye to Bookworm and it did not go well.
After the upgrade roundcube failed to work and said resource not found.
I got it working by taking a backup of /etc/roundcube as a zip file,
then running apt purge roundcube* to fully remove everything roundcube
related.
I then re-installed roundcube (with apt install), but when it asked me
if I wanted to setup the database I said no, I then populated the new
roundcube config files in /etc/roundcube with settings and passwords
from the backup I took. Then it started working.
I suspect, that as part of upgrading roundcube, the SQL schema got
updated, but other things where done wrong. For that reason I think you
need to first upgrade, and then purge and re-install the upgraded
roundcube packages. It might not work if you try to just purge the old
and install the new.
On 21/06/2023 16:37, Benny Pedersen wrote:
Tomas Hlavaty skrev den 2023-06-20 09:43:
Is there anything else I should be careful about?
no
in the bin dir you have many scripts that helps keep roundcube updated
I don't think this is good advice. The issue is that the roundcube
tarball assumes that everything gets unpacked into the same directory,
but the Debian way is to distribute files to their "correct" locations,
eg all config into /etc, binaries into /usr/bin and so on. I would not
trust those upgrade scripts to do the right thing with an install of a
Debian derived distro. The Debian package maintainer should have got the
install & upgrade process working, but if they have not then you will
have to fix it the Debian way.
--
David
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users