roudcube upgrade fails

Discussion in 'Installation/Configuration' started by dan-v, May 31, 2026 at 6:43 AM.

  1. dan-v

    dan-v Member

    Unattended-upgrades of Debian12 Bookworm fails while processing roundcube. The following error is reported:

    Code:
    INFO: Running /usr/share/roundcube/bin/update.sh as user 'www-data'
    PHP Parse error:  syntax error, unexpected '|', expecting ';' or '{' in /usr/share/roundcube/program/lib/Roundcube/rcube_utils.php on line 431
    Fatal error: Please check the Roundcube error log and/or server error logs for more information.
    Any insights on how to correct this ?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What shows command
    Code:
    apt policy roundcube
    
    What is in line 431 of that file /usr/share/roundcube/program/lib/Roundcube/rcube_utils.php ? Show two or three lines before and after that line.
    What is in /var/log/dpkg.log and unatted-upgrades log?
     

Share This Page