Ispconfig 3 admin panel Email left links not working

Discussion in 'Installation/Configuration' started by Ivan Sussanin, Feb 10, 2020.

Tags:
  1. Ivan Sussanin

    Ivan Sussanin New Member

    Hi,
    after successful move to new server, Ispconfig3 web admin interface left links in Email panel not working. This behaviour is only in Email panel, everything else including services working well. Apache log shows:
    [Mon Feb 10 10:55:35.796684 2020] [php7:error] [pid 32463] [client 1.2.3.4:55583] script '/var/lib/roundcube/mail_domain_list.php' not found or unable to stat, referer: myispconfigserver:8080/index.php
    And so on:
    ...script '/var/lib/roundcube/mail_alias_list.php' not found...
    ...script '/var/lib/roundcube/mail_user_list.php' not found...
    ...script '/var/lib/roundcube/mail_domain_list.php' not found...

    etc.
    Linked to Roundcube folder... :D How is the correct way to repair this? For example can I just find all wrong linkings in MariaDB table dbispconfig and replace with real locations for example /var/www/ispconfig/mail/(mail_domain_list.php) etc?
    -
    (Ubuntu 18.04.4 LTS (Bionic Beaver)) ISPConfig 3.1.15p2
    Moved from Debian Squeeze (latest Ispconfig3, squirrelmail) to Ubuntu 18.04 LTS (latest Ispconfig3, roundcube), the same network/domain/user conf - changed only OS and hardware. Installed clean Ispconfig3 from ispconfig.org/ispconfig/download/ and imported old server MySQL table dbispconfig to new server MariaDB table dbispconfig.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The installation tutorial told you to create an alias /webmail, you seem to have created and alias /mail for RoundCube and that's the reason for your error.
     
  3. Ivan Sussanin

    Ivan Sussanin New Member

    Yeah you are right... I was on the wrong road - uncommented Alias /roundcube... and created alias /mail instead of /webmail to shorten webmail path...
    Alias /mail must be reserved for Ispconfig3 admin panel Email section. Everything worked after I renamed alias /mail to /webmail in
    /etc/apache2/conf-enabled/roundcube.conf and restarted apache2.
    Thank you, Till, for excellent work and care with Ispconfig!
     
    till likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Basically you are free to use any alias you want, but when selecting an alias, you must ensure that no website on the whole server is using a folder with the name of the chosen alias. ISPConfig web UI is basically just a website and as it contains a folder 'mail', the mail system fails when using /mail as alias because all requests intended for the ispconfig mail part are then redirected to RoundCube :) So if you would have chosen e.g. an alias /wp-content then all WordPress sites on the whole server would fail, just as example.
     

Share This Page