2017-08-25 3 views
0

J'essaie d'installer le CTools en biserver-ce-4.8.0-stable à ctools-installer, mais il échoue toujours de la même manière. I cd dans le biserver-ce-4.8.0-stable, et là, je cours, disons, pour installer CDF:Erreur lors de l'installation de Pentaho CTools

sh /home/andy/ctools-installer.sh -s pentaho-solutions -w tomcat/webapps/pentaho -c cdf -y 

il télécharge cdf, mais quand il essaie d'installer, montre ceci:

unzip: cannot find or open .tmp/dist/pentaho-cdf-+([0-9.]).zip, .tmp/dist/pentaho-cdf-+([0-9.]).zip.zip or .tmp/dist/pentaho-cdf-+([0-9.]).zip.ZIP. 

La trace complète est ici:

[email protected] ~/biserver-ce $ sh /home/andy/ctools-installer.sh -s pentaho-solutions -w tomcat/webapps/pentaho -c cdf -y 
/home/andy/ctools-installer.sh: 199: /home/andy/ctools-installer.sh: shopt: not found 

Downloading files 

Downloading CDF...--2017-08-25 11:45:12-- http://ctools.pentaho.com/files/cdf/15.10.26/4.x/dist.zip  
    The file is already fully retrieved; nothing to do.  
Done  
Installing files  
unzip: cannot find or open .tmp/dist/pentaho-cdf-+([0-9.]).zip, .tmp/dist/pentaho-cdf-+([0-9.]).zip.zip or .tmp/dist/pentaho-cdf-+([0-9.]).zip.ZIP. 

No zipfiles found. 
unzip: cannot find or open .tmp/dist/pentaho-cdf-samples-+([0-9.])*zip, .tmp/dist/pentaho-cdf-samples-+([0-9.])*zip.zip or .tmp/dist/pentaho-cdf-samples-+([0-9.])*zip.ZIP. 

No zipfiles found. 
cleanup 

Done! 

Toute suggestion?

Merci d'avance

Répondre

0

Eh bien, le problème a été résolu! Le problème était que je courais le script avec sh, et il devait être exécuté avec bash, donc shopt ne fonctionnait pas.