Tuesday, June 21, 2011

CTools installer - Making things *fast*


Jos Van Dongen kept insisting that there should be an easier way to install the CTools. We work on a very fast pace, and the words "upgrade CDF|CDE|CDA|CCC" happen far to frequently.


And he's right. So I built a script that allows to install and upgrade all the plugins. Without further delay, you can get it here:


https://github.com/pmalves/ctools-installer


ctools-installer.sh is a shell script to install / update the different ctools into a pentaho installation. Currently supports CDF, CDA and CDE and pentaho 3.6 to 3.8

Requirements: Linux, macintosh or windows with cygwin, wget, unzip, diff (if you're administrating any server and don't have this, you don't deserve ctools anyway ;) )

Usage: ctools-installer.sh

Please backup your solution, we're not resposible by any harm this does to your server. Also note that if you have a changes in the plugin directories (eg: cdf templates) you'll need to back them up.

Thanks Analytical Labs for hosting the continuous integration


UPDATE: Yogaraj Khanal made a blog post with detailed instructions of how to use the installer in windows. Check it here, and thank you!

16 comments:

  1. Thanks to Webdetails for asking if you could leach my bandwidth! ;)

    ReplyDelete
  2. Thanks. Ran installer it successfully installed CDE and Saiku.

    ReplyDelete
  3. Thanks Pedro for posting my link.Happy to share my findings to community.
    Yogaraj Khanal

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. I used the script to install CDE for pentaho 3.9 and it apparently works with a little CDE icon on the top bar, but I cant't se any Saiku icon.
    Let me know if there is a way to make it work with 3.9 version or if I have to downgrade.

    ReplyDelete
  6. Hello,
    It's possible to install ctool for pentaho 4.5 ?
    Sabe si es possible de poner ctool con pentaho 4.5 ?
    Thanks

    ReplyDelete
  7. I am getting errors while unzipping the downloaded CDA files. Any ideas why?


    Downloading files

    Downloading CDF... Done
    Downloading CDA... End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    unzip: cannot find zipfile directory in one of .tmp/cda/dist.zip or
    .tmp/cda/dist.zip.zip, and cannot find .tmp/cda/dist.zip.ZIP, period.
    Done
    Downloading CDE... Done
    Downloading CGG... Done
    Downloading Saiku... Done
    Downloading Saiku Adhoc... Done

    Installing files

    unzip: cannot find or open .tmp/dist/cda-??.??.??*zip, .tmp/dist/cda-??.??.??*zip.zip or .tmp/dist/cda-??.??.??*zip.ZIP.

    No zipfiles found.
    unzip: cannot find or open .tmp/dist/cda-samples-*zip, .tmp/dist/cda-samples-*zip.zip or .tmp/dist/cda-samples-*zip.ZIP.

    No zipfiles found.

    Done!

    ReplyDelete
  8. Hi, could not replicate the issue you're having.
    Just tested this and all plugins downloaded and installed correctly. Could you try again?
    If it still doesn't work, let us know and let us know the os you're running. thanks!

    ReplyDelete
  9. I use the script and all done well but when a try to create a new CDE file the layout don’t show well and I can’t do anything. I tried in Firefox and IE and neither work.

    I have pentaho ce 4.5.

    I will appreciate the help. Thanks

    ReplyDelete
    Replies
    1. Hi, Jose Fernando, I'm in the same case, Pentaho CE 4.5, CTools installed, but CDE Editor doesn't work, it doesn't create a new file. Could yo fix it?

      Any idea?

      Thanks.

      Delete
    2. I have the same problem!

      the problem is CDE do not work corretly in browser IE (internet explorer);

      CDE work corretly in browser Mozzilla Firefox

      Delete
  10. Olá pessoal.

    Eu fiz uma alteração em /tomcat/webapps/pentaho para /tomcat/webapps/outro. Também fiz a alteração em WEB-INF/web.xml de "localhost:8080/pentaho/" para "localhost:8080/outro/".

    Problema: Sumiu alguns botões no CDE! Botões de "delete", "move down", "move up" ... e outros.

    Alguém por gentileza pode me ajudar?

    Obrigado
    Eder

    ReplyDelete
  11. I am also facing the same issue what ever FantasyOwner is facing like:

    Installing files

    unzip: cannot find or open .tmp/dist/cda-??.??.??*zip, .tmp/dist/cda-??.??.??*zip.zip or .tmp/dist/cda-??.??.??*zip.ZIP.

    ReplyDelete
  12. Hi guys,

    I got this error only in Terminal Command line, when i use Konsole command line, its installed properly.

    ReplyDelete