安装 Pentaho CTool 时出错



我正在尝试通过ctools-installer将CTools安装到biserver-ce-4.8.0-stable中,但它总是以同样的方式失败。我cd到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!

有什么建议吗?

提前致谢

嗯,问题解决了!问题是我用sh运行脚本,它本来是用bash运行的,所以shopt不起作用。

相关内容

  • 没有找到相关文章

最新更新