A solution for the error Webmail File Not Found in Roundcube which appeared after a update of packages on the server. Address /webmail
is very used for accessing email service from Web interface. Even if it is more professional to use Outlook, Thunderbird, webmailThe method remains within the reach of many users.
Access email service in the browser it is possible only if on the email server we have installed a web software such as Roundcube. It is preferable to be functional.
Content
Fix Webmail File Not Found in Roundcube (VestaCP / CentOS)
As I said above, after a update from software al Roundcube, the service could not be accessed. In my case it's about Roundcube on VestaCP, but error is also common on other systems hosting management. The same can happen on cPanel or on a server running Ubuntu or another distribution Linux.
FILE NOT FOUND
The requested resource was not found!
Please contact your server-administrator.
Failed request: example.com/webmaill
It's not a scary errorEven if Roundcube it is no longer functional. AdministratorThe servers can resolve the error in just 2 minutes.
Why does the File Not Found error appear when accessing Roudcube Webmail?
As he tells us in error message webmail. the resources of Roundcube were not found. “The requested resource was not found!“. Following the update Roundcube at the new interface (design), the skin present on the server did not match the one in the configuration Roundcube.
We execute the command line in the server and try to access /webmail:
tail -f /var/log/roundcubemail/errors.log
In errors.log
we find the following error:
PHP Error: Error loading template for login in /usr/share/roundcubemail/program/include/rcmail_output_html.php on line 804 (GET /webmail/)
Line 804 is the one that queries the template Roundcube and cannot find the skin set in config.inc.php
.
resolving error Roundcube: The requested resource was not found!
Time required: 2 minutes
We replace the name of the old skin Roundcube with the new name.
- We identify the skin name Roundcube
We execute the command in the server:ls -all /usr/share/roundcubemail/skins
- We are editing the configuration file of Roundcube
With the editor
nano
, we will correct the skin name Roundcube inconfig.inc.php
. On the last line we must have:$config['skin'] = 'elastic';
.nano /etc/roundcubemail/config.inc.php
After saving the change, access /webmail si Roundcube it will work again.
This solves the problem! thanks
Great!
Thanks for the article this fixed my issue! happy holidays from Canada!
Thank you very much