Roundcube Community Forum

Release Support => Pending Issues => Topic started by: mabu on September 11, 2019, 11:03:38 PM

Title: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: mabu on September 11, 2019, 11:03:38 PM
I'm running CentOS 7

with

roundcubemail.noarch               1.1.12-2.el7                      @epel

I recently upgraded php from 5.6 to 7.2, which apparently broke my Roundcube implementation.

What is the easiest way to fix this?   The only note I get in my http log files is this:

[php7:warn] [pid 62443] [client xxxx:64458] PHP Warning:  Declaration of rcmail::get_instance($env = '') should be com
patible with rcube::get_instance($mode = 0, $env = '') in /usr/share/roundcubemail/program/include/rcmail.php on line 30, referer: xxxx

Any help would be most appreciated!

Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: JohnDoh on September 12, 2019, 03:05:24 AM
you need to update your version of roundcube. 1.1 is currently in LTS and does not support PHP7. PHP7 compatibility was added in 1.2
Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: mabu on September 12, 2019, 10:01:10 AM
Where are there instructions on how to update this?    When I run yum update, it says it's up to date.   
Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: JohnDoh on September 12, 2019, 10:32:17 AM
I think you'd have to ask in the Centos community about if there is a more upto date package available. There are no offical roundcube packages for any OS, the package you are using is likely maintained by someone in the Centos community. If there isn't a more recent package available you might consider installing Roundcube yourself, you can find some information on that here: https://github.com/roundcube/roundcubemail/wiki/Installation
Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: mabu on September 12, 2019, 10:52:41 AM
What is the better choice?    Installing manually or using a package manager?

Anybody else here use CentOS?   Have some recommendations?

If I manually install, do I have to completely wipe the existing install?
Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: mabu on September 12, 2019, 11:05:51 AM
Here's my current setup...   I installed roundcube from the epel repository but I am using the remi-php72 repository to update to php72 - I wonder if there is an alternate repository that has a compatible version of roundcube on it?   

Name        : roundcubemail
Arch        : noarch
Version     : 1.1.12
Release     : 2.el7
Size        : 12 M
Repo        : installed
From repo   : epel
Summary     : Round Cube Webmail is a browser-based multilingual IMAP client
URL         : http://www.roundcube.net
License     : GPLv3+ with exceptions and GPLv3+ and GPLv2 and LGPLv2+ and CC-BY-SA and (MIT or GPLv2)
Description : RoundCube Webmail is a browser-based multilingual IMAP client
            : with an application-like user interface. It provides full
            : functionality you expect from an e-mail client, including MIME
            : support, address book, folder manipulation, message searching
            : and spell checking. RoundCube Webmail is written in PHP and
            : requires a database: MySQL, PostgreSQL and SQLite are known to
            : work. The user interface is fully skinnable using XHTML and
            : CSS 2.

Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: SKaero on September 12, 2019, 12:51:44 PM
I haven't seen any continuously updated/maintained Roundcube packages for any distro. I would highly recommend installing Roundcube manually instead.
Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: mabu on September 14, 2019, 02:42:06 PM
Thanks.    I decided to bite the bullet and do a fresh install.

Let me ask you guys... what are the proper/minimum/necessary file ownership/permissions for the roundcube installation?

The CentOS script set temp and logs to 777, which to me seems a bit liberal.   I have them owned by the web server user with write permissions on user only and that appears to be ok.

Is there any reason to create a unique user/group for roundcube?

Title: Re: Updated from php 5.6 to 7.2 - Roundcube shows blank screen on login
Post by: JohnDoh on September 17, 2019, 02:05:03 AM
As long as the webserver user has write permission to the logs and temp dirs and the files in those dirs then you should be fine.