<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Ariel<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></pre>
</div>
</div>
</blockquote>
I do this all manually inside the container, then still get this at
the end of the geonode install:<br>
<br>
Setting up tomcat7 (7.0.52-1ubuntu0.1) ...<br>
<br>
Creating config file /etc/default/tomcat7 with new version<br>
Adding system user `tomcat7' (UID 103) ...<br>
Adding new user `tomcat7' (UID 103) with group `tomcat7' ...<br>
Not creating home directory `/usr/share/tomcat7'.<br>
<br>
Creating config file /etc/logrotate.d/tomcat7 with new version<br>
<br>
Processing triggers for ureadahead (0.100.0-16) ...<br>
Setting up geoserver-geonode (2.0+201501230745) ...<br>
* Starting Tomcat servlet engine
tomcat7
[fail] <br>
dpkg: error processing package geoserver-geonode (--configure):<br>
subprocess installed post-installation script returned error exit
status 1<br>
dpkg: dependency problems prevent configuration of geonode:<br>
geonode depends on geoserver-geonode | geoserver; however:<br>
Package geoserver-geonode is not configured yet.<br>
Package geoserver is not installed.<br>
<br>
dpkg: error processing package geonode (--configure):<br>
dependency problems - leaving unconfigured<br>
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...<br>
Processing triggers for python-support (1.0.15) ...<br>
Processing triggers for ca-certificates (20130906ubuntu2) ...<br>
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.<br>
Running hooks in /etc/ca-certificates/update.d....<br>
done.<br>
done.<br>
Errors were encountered while processing:<br>
geoserver-geonode<br>
geonode<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>
<blockquote
cite="mid:CALh6R-Q=Dm-26PW+06GAq6uPe8VQPvDVga1dK944MTV9Su-HOQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<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-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.01090207.01070408@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>