Ошибка установки Pentaho CTools

Я пытаюсь установить CTools в biserver-ce-4.8.0-stable через ctools-installer, но он всегда терпит неудачу одинаково. Я перехожу в biserver-ce-4.8.0-stable и там, например, запускаю установку CDF:

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

он загружает cdf, но когда он пытается установить, показывает это:

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.

Полный след здесь:

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!

Любое предложение?

заранее спасибо

1 ответ

Решение

Ну, проблема решена! Проблема заключалась в том, что я запускал скрипт с sh, и он должен был запускаться с bash, поэтому shopt не работал.

Другие вопросы по тегам