Unable to access webmail on Plesk Onyx: 404 The requested URL was not found on this server

Follow

Comments

9 comments

  • Avatar
    Mbecker Bibi (Edited )

    Hi,

    the problem exists only with Roundcube, Horde works perfect on my server, CentOS 7.

    Even if it would work the solution can't be a lasting one only up to the next update/-grade because the file zz010_psa_httpd.conf starts with the lines:

    #ATTENTION!
    #
    #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
    #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

    Any other proposal?

    Best regards

    Martin

    PS. Astonishing fact is that after running repair the file looks like this (I've deleted the beginning remarks):

    Include '/etc/httpd/conf/plesk.conf.d/server.conf'
    IncludeOptional '/etc/httpd/conf/plesk.conf.d/webmails/*.conf'
    IncludeOptional '/etc/httpd/conf/plesk.conf.d/vhosts/*.conf'
    IncludeOptional '/etc/httpd/conf/plesk.conf.d/forwarding/*.conf'
    IncludeOptional '/etc/httpd/conf/plesk.conf.d/wildcards/*.conf'

  • Avatar
    Alexandr Tumanov

    Hello, make sure that you don't have custom templates at /usr/local/psa/admin/conf/templates/custom

    Rename the folder and reconfigure again.

    If the issue persists or you don't have custom templates, please submit a ticket to support.

  • Avatar
    Mbecker Bibi

    Hello Alexandr,

    sorry, but I'm not able to submit a ticket because I use a server by Strato which is the Plesk licensee. I don't use a custom template, there are only 2 folders within /usr/local/psa/admin/conf/templates: default and pci_compliance. Within the 'webmail' folder of the 'default' folder are 6 php-files: atmail, horde, nginxWebmail, nginxWebmailPartial, roundcube and webmail. I don't have nginx installed because it's troubling with my nextcloud installation.

    I've done a 'reconfigure-all' but all remains the same, Horde webmailer is doing quite well, Roundcube delivers the error message cited within my first comment, 'The requested URL /login.php was not found on this server.'. The exact Plesk Version is 17.5.3 and OS CentOS Linux 7.4.1708 (Core). The server does a fine job since nearly 2 years regarding all other aspects.

    Best regards

    Martin

     

  • Avatar
    Alexandr Tumanov

    @Mbecker, can you please show the output of this command:

    # rpm -qa | grep roundcube

  • Avatar
    Mbecker Bibi (Edited )

    Here's it:

    [root@xxx-baxxx.de]# rpm -qa | grep roundcube
    plesk-roundcube-1.2.7-cos7.build1705171115.16.noarch

    Thanks for your patience and support.

  • Avatar
    Alexandr Tumanov

    Try to reinstall this package:

    # wget http://autoinstall.plesk.com/PSA_17.5.3/dist-rpm-CentOS-7-x86_64/opt/roundcube/plesk-roundcube-1.2.7-cos7.build1705171115.16.noarch.rpm
    # rpm -i --force plesk-roundcube-1.2.7-cos7.build1705171115.16.noarch.rpm

    If the issue persists, please provide the following output:

    # grep -ir roundcube /etc/httpd/*

  • Avatar
    Mbecker Bibi (Edited )

    Hi Alexandr,

    I did what you proposed and got the following php-error:

    Trying to upgrade Roundcube Web Based mail client configs and DB from '1.2.7' to '1.2.7'... PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/psa-roundcube/program/include/rcmail.php on line 1431

    An error I got to know with some nextcloud cli-functions before in older versions, they've now solved it. My php-cli version is:

    # php -v
    PHP 7.0.29 (cli) (built: Mar 28 2018 07:46:18) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies

    Rest of re-installation looks fine:

    # rpm -i --force plesk-roundcube-1.2.7-cos7.build1705171115.16.noarch.rpm
     Trying to start service mariadb... active
    done
     Trying to establish test connection... connected
    done
     Trying to upgrade Roundcube webmail configuration... Upgrade or repair for 'roundcube' (stage 'files') is not required
    done

    Doing installation proposal

    WARNING!
    Some problems are found during upgrade Roundcube Web Based mail client configs and DB from '1.2.7' to '1.2.7'. Run /usr/share/psa-roundcube/bin/update.sh manually to complete upgrade.(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log)

    results with the same php-error as I expected it.

  • Avatar
    Alexandr Tumanov

    @Mbecker, is the issue persists?

  • Avatar
    Mbecker Bibi (Edited )

    Good morning Alexandr,

    yes, I always get the same error message. Meanwhile I've changed my php-cli-version temporarily to 5.6.34 to get the command '/usr/share/psa-roundcube/bin/update.sh' run without a php-error. The result is:

    Executing database schema update.
    This instance of Roundcube is up-to-date.
    Have fun!

    Stupidly I don't have fun.

Please sign in to leave a comment.

Have more questions? Submit a request