安装 Pentaho CTools 时出错
Error installing Pentaho CTools
我正在尝试安装 CTools into biserver-ce-4.8.0-stable through ctools-installer,但总是以同样的方式失败。我 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 没有用。
我正在尝试安装 CTools into biserver-ce-4.8.0-stable through ctools-installer,但总是以同样的方式失败。我 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 没有用。