Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Roundcube update: FILE NOT FOUND error [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 463
Location: Canberra Australia

PostPosted: Tue Oct 03, 2023 9:56 pm    Post subject: Roundcube update: FILE NOT FOUND error [SOLVED] Reply with quote

I have updated roundcube from 1.5.2 to 1.6.3. I get the following on my browser now when I navigate to the site:
Quote:
FILE NOT FOUND
The requested resource was not found.
Please contact your server administrator.
Failed request: mysite.com.au/mail/?_task=mail&_mbox=INBOX

I get the following in my log:
Quote:
roundcube: <2gsd312t> PHP Error: Error loading template for mail in /var/www/localhost/htdocs/roundcube/program/include/rcmail_output_html.php on line 804 (GET /mail/?_task=mail&_mbox=INBOX)

I have tried running ./bin/indexcontacts.sh and ./bin/update.sh as instructed, but I still get the error
I have these USE flags set: mysql spell ssl -change-password -enigma -exif -fileinfo -ldap -postgres -sqlite -vhosts -zip

Can anyone help?


Last edited by Robert S on Sat Oct 21, 2023 9:51 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Tue Oct 03, 2023 10:54 pm    Post subject: Reply with quote

This is the problem
Code:

 // read template file
 801         if (!$path || ($templ = @file_get_contents($path)) === false) {
 802             rcube::raise_error([
 803                     'code' => 404,
 804                     'line' => __LINE__,
 805                     'file' => __FILE__,
 806                     'message' => 'Error loading template for '.$realname
 807                 ], true, $write);
 808
 809             $this->skin_paths = array_slice($this->skin_paths, count($plugin_skin_paths));
 810             return false;
 811         }


Something with the skins.
See this
https://github.com/roundcube/roundcubemail-docker/issues/90
First check inside the <roundcube>/config/defaults.inc.php
Code:

/ Skin name: folder from skins/
$config['skin'] = 'elastic';

Try changing "elastic" to "Elastic" or vice versa and see if it helps.
_________________
:)
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 463
Location: Canberra Australia

PostPosted: Wed Oct 04, 2023 11:08 am    Post subject: Roundcube update: FILE NOT FOUND error [SOLVED] Reply with quote

I've managed to get it working by changing the skin in config.inc.php (not defaults.inc.php).

Unfortunately the elastic theme seems to be the only one available in version 1.6.3. I've managed to get the 'classic' one from github. Is there a "Gentoo" way of downloading this, or is it likely to appear in an upcoming version?


Last edited by Robert S on Sat Oct 21, 2023 9:51 am; edited 1 time in total
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1051
Location: Somewhere in Denmark

PostPosted: Wed Oct 04, 2023 8:31 pm    Post subject: Reply with quote

Elastic-theme is the only official supported theme for 1.6.x - https://roundcube.net/screens/

Classic and Larry are available on https://packagist.org/?type=roundcube-skin (but may not be optimized for latest Roundcube-release (classic is at 1.6.0 and Larry at 1.6.1 it seems)
Am using Larry for my Roundcube 1.6.3 - dunno if I'm mising any features really...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum