Author Topic: Upgrading to 1.5.x results in empty views  (Read 686 times)

Offline Akratana

  • Newbie
  • *
  • Posts: 1
Upgrading to 1.5.x results in empty views
« on: June 10, 2022, 03:16:30 PM »
I have been trying to upgrade from RC 1.4.11 to a newer version of Roundcube for a while, and even though the upgrade succeeds, every view is empty (the emails list, the settings, etc.), so I always end up reverting to 1.4.11. My method of upgrade is to copy the roundcube folder to a new one and run the bin/installto.sh script on the new folder.

My installation comes from iRedMail and has been upgraded successfully from around 1.2.x up to 1.4.11.

I have tried enabling debug in the config file and didn't see anything suspicious that I remember.

I am using a custom theme (I simply changed some CSS classes and compiled my own Elastic), so I also switched back to the bundled Elastic, and it didn't help.

I checked the browser console and there was nothing there (except a message about an unhandled promise, which also appears on 1.4.11 which works).

I am at a loss, can anyone please suggest alternative routes?

I can provide other details as well, please let me know!

Offline amunro

  • Newbie
  • *
  • Posts: 1
Re: Upgrading to 1.5.x results in empty views
« Reply #1 on: September 08, 2022, 03:35:37 PM »
I had this, and also with 1.6.0. I downgraded php to 7.4 and all was fine. I use fpm in apache so did it that way:

Code: [Select]
  # Lock roundcube to php7.4
  # Roundcube 1.6.0 does not like php8.1 so use php7.4
  <Directory /var/www/roundcube/>
    <FilesMatch "\.php$">
      SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"
#      SetHandler "proxy:unix:/var/run/php/php8.1-fpm.sock|fcgi://localhost"
    </FilesMatch>
  </Directory>