Page 1 of 1

Roundcube doesn't load CSS and JS

Posted: Tue Aug 25, 2020 12:26 pm
by frostbite
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...

Re: Roundcube doesn't load CSS and JS

Posted: Tue Aug 25, 2020 3:40 pm
by myVesta