Roundcube Community Forum

 

Roundcube 1.7.x for Ubuntu 26.04?

Started by MrQNo, August 20, 2026, 07:01:15 AM

Previous topic - Next topic

MrQNo

Hi all,

i recently updated to Ubuntu 26.04 resolute LTS:

root@bywater ~ # lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 26.04 LTS
Release:        26.04
Codename:       resolute

that contains roundcube 1.6.11:

root@bywater ~ # dpkg -l roundcube
┌── Desired=Unknown/Install/Remove/Purge/Hold
│┌─ Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
││┌ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
│││ Name           Version       Architecture Description
├┼┼─══════════════─═════════════─════════════─════════════════════════════════════════════════════════════════════
ii  roundcube      1.6.11+dfsg-1 all          skinnable AJAX based webmail solution for IMAP servers - metapackage

and also php8.5:

root@bywater ~ # dpkg -l php
┌── Desired=Unknown/Install/Remove/Purge/Hold
│┌─ Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
││┌ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
│││ Name           Version         Architecture Description
├┼┼─══════════════─═══════════════─════════════─═══════════════════════════════════════════════════════
ii  php            2:8.5+99ubuntu1 all          server-side, HTML-embedded scripting language (default)

With php8.5, roundcube 1.6.11 cannot start (known):
 roundcube-gc.service - Purge expired Roundcube sessions, caches and tempfiles
     Loaded: loaded (/usr/lib/systemd/system/roundcube-gc.service; static)
     Active: failed (Result: exit-code) since Thu 2026-08-20 12:35:00 CEST; 19min ago
 Invocation: 885d5ce3db344979b5105f057bcbbc99
TriggeredBy: ● roundcube-gc.timer
       Docs: https://github.com/roundcube/roundcubemail/wiki/Installation
    Process: 2247205 ExecStart=/usr/share/roundcube/bin/gc.sh (code=exited, status=255/EXCEPTION)
   Main PID: 2247205 (code=exited, status=255/EXCEPTION)
   Mem peak: 13.1M
        CPU: 78ms

Aug 20 12:35:00 bywater systemd[1]: Starting roundcube-gc.service - Purge expired Roundcube sessions, caches and tempfi>
Aug 20 12:35:00 bywater gc.sh[2247205]: PHP Fatal error:  Cannot redeclare function array_first() in /usr/share/roundcu>
Aug 20 12:35:00 bywater gc.sh[2247205]: Stack trace:
Aug 20 12:35:00 bywater gc.sh[2247205]: #0 /usr/share/roundcube/program/include/clisetup.php(25): require_once()
Aug 20 12:35:00 bywater gc.sh[2247205]: #1 /usr/share/roundcube/bin/gc.sh(22): require('...')
Aug 20 12:35:00 bywater gc.sh[2247205]: #2 {main}
Aug 20 12:35:00 bywater systemd[1]: roundcube-gc.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 20 12:35:00 bywater systemd[1]: roundcube-gc.service: Failed with result 'exit-code'.
Aug 20 12:35:00 bywater systemd[1]: Failed to start roundcube-gc.service - Purge expired Roundcube sessions, caches and>
~

I cannot downgrade php to 8.4 because that will break a lot of services. So i have to upgrade roundcube to 1.7.x. Ubuntu does not provide a roundcube package other than 1.6.11, and it seems to plan  to continue so for the next release. So i need a source for a recent roundcube package to avoid an install from sources. Are there any?

Kind regards,
QNo

JohnDoh

official downloads are available from the website and GitHub
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

MrQNo

Dear JohnDoh,

perhaps you might reconsider that i asked for a .deb package, official or not. I'm able to install roundcube from .tar.gz, but that breaks the automation that comes with the ubuntu package system and requires more attention to updates and new dependencies.

Kind regards,
QNo