Page MenuHomePhorge

Elastic: Garbled calendar view at Roundcube
Closed, ResolvedPublic

Description

I'm getting the following garbled calendar view at Roundcube using elastic skin (Chromium 65 and 66):

image.png (630×1 px, 80 KB)

Used version(s):
roundcubemail-plugin-kolab_activesync-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-acl-skin-elastic-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-libkolab-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-jqueryui-skin-elastic-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_tags-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-calendar-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_activesync-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_files-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-managesieve-skin-elastic-assets-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_notes-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-tasklist-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_tags-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_delegation-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-acl-skin-elastic-assets-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_delegation-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_addressbook-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-managesieve-skin-elastic-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_files-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-skin-elastic-assets-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-skin-elastic-1.4-47.4.el7.kolab_wf.noarch
roundcubemail-plugin-libkolab-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-calendar-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_notes-skin-elastic-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-kolab_addressbook-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-tasklist-skin-elastic-assets-3.4-39.4.el7.kolab_wf.noarch
roundcubemail-plugin-jqueryui-skin-elastic-assets-1.4-47.4.el7.kolab_wf.noarch

(moved from https://github.com/roundcube/roundcubemail/issues/6375, creating a "bug report" failed with: Task priority "60" is not a valid task priority. Use a priority keyword to choose a task priority: unbreak, triage, high, normal, low, wish.)

Details

Ticket Type
Task

Event Timeline

vanmeeuwen raised the priority of this task from 40 to Normal.
vanmeeuwen added subscribers: machniak, vanmeeuwen.

This can be reproduced reliably.

@rsc; I don't suppose you are getting a 404 on some style sheet (that I am not in my reproducing)?

@machniak: Any ideas as to why this might happen with Elastic but not any of the derived skins?

I have no idea. @rsc check browser console for errors.

@machniak; since we can reproduce this on webmail.kolabsys.com, I can verify there's no discernible error in the console.

Ok, I see now. libkolab.css is not added to the page. I don't know why yet, maybe something related to assets_dir.

@vanmeeuwen /usr/share/roundcubemail/public_html/assets/plugins/libkolab/skins/elastic/libkolab.css is missing. So, it looks like a packaging issue.

I'm seeing the same issue. Other than switching skin, is there any workaround for this?

@chaser these are the steps I took get get it working in a test environment on Ubuntu 18.04. This is assuming your running Roundcube installation is at /var/www/html/roundcubemail so you may have to adjust the commands if it is somewhere else.

cd /opt
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
git checkout dev/elastic
cd /opt/roundcubemail-plugins-kolab
apt install node-less
ln -s /var/www/html/roundcubemail/skins /opt/roundcubemail-plugins-kolab/
./less-build.sh
cp plugins/libkolab/skins/elastic/libkolab.min.css plugins/libkolab/skins/elastic/libkolab.css
chown www-data. /opt/roundcubemail-plugins-kolab
ln -s /opt/roundcubemail-plugins-kolab/plugins/libkolab /var/www/html/roundcubemail/plugins/
ln -s /opt/roundcubemail-plugins-kolab/plugins/calendar /var/www/html/roundcubemail/plugins/
ln -s /opt/roundcubemail-plugins-kolab/plugins/libcalendaring /var/www/html/roundcubemail/plugins/
cd /var/www/html/roundcubemail
nano config/config.inc.php # Add 'calender', 'libcalendaring', 'libkolab' to plugins array

@dlford Thank you for posting and giving me the necessary pointers. I now have the calendar working. These were the steps I took on my CentOS 7 setup:

cd /opt
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
cd /opt/roundcubemail-plugins-kolab
git checkout dev/elastic
yum install nodejs-less
ln -s /var/www/html/roundcubemail/skins /opt/roundcubemail-plugins-kolab/
./less-build.sh
cp plugins/libkolab/skins/elastic/libkolab.min.css /var/www/html/roundcubemail/plugins/libkolab/skins/elastic/libkolab.css
This comment was removed by chaser.

This should be resolved in packaging.

This should now have been resolved in packaging.