【问题标题】:Error installing Pentaho CTools安装 Pentaho CTools 时出错
【发布时间】:2018-02-03 17:46:49
【问题描述】:

我正在尝试通过ctools-installerCTools 安装到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!

有什么建议吗?

提前致谢

【问题讨论】:

    标签: pentaho pentaho-ctools


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-10-30
      • 1970-01-01
      • 2015-09-09
      • 1970-01-01
      • 1970-01-01
      • 2020-09-12
      • 2013-10-05
      相关资源
      最近更新 更多