安装Pentaho CTools时出错

时间:2017-08-25 16:04:21

标签: pentaho pentaho-ctools

我正在尝试通过CToolsctools-installer安装到 biserver-ce-4.8.0-stable 中,但它始终以相同的方式失败。我进入 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 个答案:

答案 0 :(得分:0)

嗯,问题解决了!问题是我使用 sh 运行脚本,并且它意味着使用 bash 运行,因此 shopt 无效。< / p>