Comment 0 for bug 1364680

Revision history for this message
Matt Bruzek (mbruzek) wrote :

While testing the liferay charm I found that it does not install.

The install hook is trying to call ch_get_file and that comand/function does not exist.

Here is the unit-liferay.log

2014-09-02 23:54:31 INFO juju-log Fetching latest upstream Liferay release from http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-tomcat-6.1.1-ce-ga2-20120731132656558.zip/download with expected hash f88ad198dc9bc154528f67d64291ad4762333df5
2014-09-02 23:54:31 INFO install /var/lib/juju/agents/unit-liferay-0/charm/hooks/install: line 17: ch_get_file: command not found
2014-09-02 23:54:31 INFO worker.uniter.jujuc server.go:102 running hook tool "juju-log" ["Failed to retrieve http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-tomcat-6.1.1-ce-ga2-20120731132656558.zip/download"]
2014-09-02 23:54:31 DEBUG worker.uniter.jujuc server.go:103 hook context id "liferay/0:install:6499797840946805776"; dir "/var/lib/juju/agents/unit-liferay-0/charm"
2014-09-02 23:54:31 INFO juju-log Failed to retrieve http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-tomcat-6.1.1-ce-ga2-20120731132656558.zip/download
2014-09-02 23:54:31 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1

Could we replace ch_get_file with wget?