Roundcube gives blank page after login

Aar

Verified User
Joined
Feb 10, 2005
Messages
210
Location
Netherlands
I have a problem with Roundcube, and i don't know how i can debug this.
When i login in Roundcube, it gives a blank page.

I don't see any errors in /var/www/html/roundcube/logs/errors
Also the general Apache Error log on /var/log/httpd/error_log doesn't give a hint with an error.

I have also tried to ./build roundcube again , but it doesn't works.
I have installed PHP 7.3.16 on the first PHP option.
 
Aar
Was it working and stopped or is this all new and never worked?

try
Code:
cd /usr/local/directadmin/custombuild
./build clean   
./build update
./build exim   
./build dovecot
./build roundcube
./build exim_conf     
./build dovecot_conf
 
@bdacus01
It used to work fine until I updated roundcube. Than Roundcube gives a blank page after a succesfull login.

The mail is working fine.
Can you explain why you are re-build exim and dovecot?
 
Can you explain why you are re-build exim and dovecot?
Exim is managing mailboxes which Roundcube reads to look at the mail. One never knows.
Dovecot is not needed, think just to be sure, can't do any harm.

Edit: Try some other browsers, sometimes a browser gives a hint to what can be wrong. Long shot, but again, one never knows.
Is it happening with all domains or only 1 domain?
 
The real old Squirrelmail is just working. I think the problem is not in exim ;-)?
 
Ah you didn't mention that before. So Roundcube has it with all domains?
Hmmz.. Should be done by the rebuild, but did you do this already?
Code:
chown webapps:webapps /var/www/html/redirect.php
chown webapps:webapps /var/www/html/roundcubemail-1.4.4
if not done yet.

Since when did the problem start occuring? What was done/changed/updated before?
 
It was happened when i have updated Roundcube.
It gives a 500 error, where i can't find the error log, and a rebuild doesn't makes sense.
I can try to check the owners.....
 
It gives a 500 error, where i can't find the error log,
Yeah good question, as far as I can see you already catched the appropriate error logs.
Maybe the mysql log or so? I'm starting to wonder if Roundcube is still connecting to it's database.
Owner check can always be good.

Anders moeten je even op smtalk of iemand wachten of ticket inschieten. Succes alvast.
 
  • Like
Reactions: Aar
A late reply, i don't often use the webmail ;)

I have figured it out:
- The ownership was 'webapps'. This seems good!
- Tried a new build with a new version. It was NOT working
- And the error in the log was:
[04-Aug-2020 17:49:41 UTC] PHP Warning: strtotime(): Invalid date.timezone value 'n/a', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.4.7/program/lib/Roundcube/session/db.php on line 110
[04-Aug-2020 17:49:41 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'n/a', we selected the timezone 'UTC' for now. in /var/www/html/roundcubemail-1.4.7/program/lib/Roundcube/rcube_user.php:542

I've solved it to add my timezone to php.ini (and restarted the php service). It wasn't correctly filled in (n/a).
Now it is Europe/Amsterdam. :)
 
Last edited:
I've solved it to add my timezone to php.ini (and restarted the php service). It wasn't correctly filled in (n/a).
This is nowadays filled in correctly when installing directadmin, date/timezone is asked.

Also in the custombuild options.conf file this will appear, you can also add it yourself:
php_timezone=Europe/Amsterdam
 
  • Like
Reactions: Aar
Back
Top