Roundcube doesn't load CSS and JS

Post Reply
frostbite
Posts: 1
Joined: Tue Aug 25, 2020 12:17 pm

Debian 10, myVesta 0.9.8-26-34. If after fresh install delete domain and mail domain and create new domain, the roundcube crashes into error.

This error can be fixed by assigning read permissions 644 to all files in the folder /etc/roundcube - no error, but the roundcube doesn't load CSS and JS files.

in nginx cfg webmail.inc doesnt work:

Code: Select all

location /webmail {
    alias /var/lib/roundcube/;

    location ~ /(config|temp|logs) {
        return 404;
    }

    location ~ ^/webmail/(.*\.php)$ {
        alias /var/lib/roundcube/$1;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
    }
    location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
        alias /var/lib/roundcube/$1;
    }
}
v-rebuild-mail-domains admin - doesnt work

Same error if rebuild and rebuild mail after fresh install...
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Post Reply