J'essaye d'installer le CTools dans biserver-ce-4.8.0-stable par ctools-installer, mais cela échoue toujours de la même manière. Je cd dans le biserver-ce-4.8.0-stable, et là, je lance, disons, pour installer CDF:
sh /home/andy/ctools-installer.sh -s pentaho-solutions -w tomcat/webapps/pentaho -c cdf -y
il télécharge le cdf, mais quand il essaie de l'installer, cela montre:
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:
andy@GDAI-Laptop ~/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éponses:
0 pour la réponse № 1Eh bien, le problème est résolu! Le problème était que je courais le script avec sh, et il était destiné à être exécuté avec frapper, alors shopt n'a pas fonctionné.