<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I've now tried it using
phusion/baseimage (<a class="moz-txt-link-freetext" href="https://github.com/phusion/baseimage-docker">https://github.com/phusion/baseimage-docker</a>)
and still get the same errors. <br>
<br>
Thinking the problem is the failing inits I added this to the
Dockerfile, which phusion/baseimage provides:<br>
<pre><code> CMD ["/sbin/my_init"]</code></pre>
but still get these errors during the install every time it needs
to restart apache, postgresql, tomcat etc. <br>
<br>
invoke-rc.d: policy-rc.d denied execution of start.<br>
<br>
I have successfully installed geonode/testing on my 14.10 host
machine so I think the errors in Docker have something to do with
the Docker environment. <br>
<br>
On 04/03/2015 18:40, Ariel Nunez wrote:<br>
</div>
<blockquote
cite="mid:CALh6R-Q=Dm-26PW+06GAq6uPe8VQPvDVga1dK944MTV9Su-HOQ@mail.gmail.com"
type="cite">
<div dir="ltr">Gavin, a few things:
<div><br>
</div>
<div>1) There is no need to do "<span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">RUN
paver setup", you can remove that line.</span></div>
<div><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre"><br>
</span></div>
<div><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">2)
You only need to expose port 80 (Apache), there is a proxy
for GeoServer there at host:80/geoserver/</span></div>
<div><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre"><br>
</span></div>
<div><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">3)
Can you run the first 3 commands via docker and then shell
into the docker machine and do the "apt-get install geonode"
manually? That way we get a better error that could give us
a hint.</span></div>
<div><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre"><br>
</span></div>
<div>
<pre class="" style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;width:748px;color:rgb(51,51,51);line-height:16.799999237060547px"><div class="" id="file-gistfile1-txt-LC6">RUN apt-get -f -y install software-properties-common
</div><div class="" id="file-gistfile1-txt-LC7">RUN add-apt-repository -y ppa:geonode/testing
</div><div class="" id="file-gistfile1-txt-LC8">RUN apt-get update -y</div><div class="" id="file-gistfile1-txt-LC8">
</div><div class="" id="file-gistfile1-txt-LC8">4) After you have successfully installed GeoNode you need to create a super user and then call geonode-updateip with the right url before the instance is usable.</div><div class="" id="file-gistfile1-txt-LC8">
</div><div class="" id="file-gistfile1-txt-LC8">geonode createsuperuser</div><div class="" id="file-gistfile1-txt-LC8">geonode-updateip <your ip></div><div class="" id="file-gistfile1-txt-LC8">
</div><div class="" id="file-gistfile1-txt-LC8">Good luck,</div><div class="" id="file-gistfile1-txt-LC8">-a</div></pre>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 4, 2015 at 10:43 AM, Gavin
Fleming <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:gavin@kartoza.com" target="_blank">gavin@kartoza.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hola Ariel<span class=""><br>
<br>
On 04/03/2015 13:56, Ariel Nunez wrote:<br>
</span></div>
<span class="">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 4, 2015 at
6:49 AM, Gavin Fleming <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:gavin@kartoza.com"
target="_blank">gavin@kartoza.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">invoke-rc.d:
policy-rc.d denied execution of start.<br>
</div>
</blockquote>
<div> </div>
</div>
Also, is this a fresh machine or an existing one?</div>
</div>
</blockquote>
</span> Docker (i.e. fresh)<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">The best way to go about
getting started is to use Ubuntu 14.04 and GeoNode
2.4 beta (ppa:geonode/testing)</div>
<div class="gmail_extra"><br>
</div>
<br>
</div>
</blockquote>
</span> just tried that, getting the same error: <a
moz-do-not-send="true"
href="https://gist.github.com/gubuntu/c18d657a27a7780a4c20"
target="_blank">https://gist.github.com/gubuntu/c18d657a27a7780a4c20</a><br>
<br>
Chao<span class="HOEnZb"><font color="#888888"><br>
<br>
Gavin<br>
</font></span></div>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users"
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div style="text-align:center">
------------------------------------------------------------------------------------------</div>
<div style="text-align:center"><img
src="cid:part6.01020706.05060106@kartoza.com" height="40"
width="200"></div>
<div style="text-align:center">Gavin Fleming Joint MD PGP 1234</div>
<div style="text-align:center"><span style="text-align:start">Visit
</span><a href="http://kartoza.com/" style="text-align:start"
target="_blank">http://kartoza.com</a><span
style="text-align:start"> to find out about open source:</span><br
style="text-align:start">
<span style="text-align:start"> * Desktop GIS programming
services</span><br style="text-align:start">
<span style="text-align:start"> * Geospatial web development</span></div>
<div style="text-align:center"><span style="text-align:start">*
GIS Training</span></div>
<div style="text-align:center"><span style="text-align:start">*
Consulting Services</span></div>
<div style="text-align:center">
<div>Skype: phlemingo</div>
<div style="text-align:start">
<div style="text-align:center">-------------------------------------------------------------------------------------------</div>
<div style="text-align:center"><span style="text-align:start">Kartoza
= Linfiniti ∪ Afrispatial</span></div>
</div>
</div>
</div>
</body>
</html>