roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.88k stars 1.64k forks source link

install-jsdeps.sh fails to get TinyMCE #6694

Closed JintoAntony closed 5 years ago

JintoAntony commented 5 years ago

It shows error when trying to update tinymce

Installing jQuery... Wrote file /var/lib/roundcube/program/js/jquery.min.js Done.

Installing jsTimezoneDetect... Wrote file /var/lib/roundcube/program/js/jstz.min.js Done.

Installing PublicKey.js... Wrote file /var/lib/roundcube/program/js/publickey.js Done.

Installing tinymce... Fetching http://download.ephox.com/tinymce/community/tinymce_4.5.8.zip ERROR: Incorrect sha1 sum of /var/lib/roundcube/temp/js_cache/tinymce-4.5.8.zip. Expected: 08b0757264adb86066940bbafb7aa9ec0c7c6685, got:

alecpl commented 5 years ago

Looks like that URL is now different and the page redirects to new location. The installation script uses curl without -L argument, so it does not use redirect.

So, there are two ways to fix this. I think we'll just update the download URL in jsdeps.json file. ^The new URL is https://download.tiny.cloud/tinymce/community/tinymce_4.5.8.zip.

alecpl commented 5 years ago

Fixed.