[GeoNode-users] geonode install in 12.04 in Docker fails

Gavin Fleming gavin at kartoza.com
Wed Mar 4 18:52:17 PST 2015


Ariel

On 04/03/2015 18:40, Ariel Nunez wrote:
> Gavin, a few things:
>
> 1) There is no need to do "RUN paver setup", you can remove that line.
>
> 2) You only need to expose port 80 (Apache), there is a proxy for
> GeoServer there at host:80/geoserver/
>
> 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.
>
> RUN apt-get -f -y install software-properties-common
> RUN add-apt-repository -y ppa:geonode/testing
> RUN apt-get update -y
I do this all manually inside the container, then still get this at the
end of the geonode install:

Setting up tomcat7 (7.0.52-1ubuntu0.1) ...

Creating config file /etc/default/tomcat7 with new version
Adding system user `tomcat7' (UID 103) ...
Adding new user `tomcat7' (UID 103) with group `tomcat7' ...
Not creating home directory `/usr/share/tomcat7'.

Creating config file /etc/logrotate.d/tomcat7 with new version

Processing triggers for ureadahead (0.100.0-16) ...
Setting up geoserver-geonode (2.0+201501230745) ...
 * Starting Tomcat servlet engine
tomcat7                                                                                                      
[fail]
dpkg: error processing package geoserver-geonode (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of geonode:
 geonode depends on geoserver-geonode | geoserver; however:
  Package geoserver-geonode is not configured yet.
  Package geoserver is not installed.

dpkg: error processing package geonode (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
Processing triggers for python-support (1.0.15) ...
Processing triggers for ca-certificates (20130906ubuntu2) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
done.
Errors were encountered while processing:
 geoserver-geonode
 geonode
E: Sub-process /usr/bin/dpkg returned an error code (1)

> 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.
> geonode createsuperuser
> geonode-updateip <your ip>
> Good luck,
> -a
>
> On Wed, Mar 4, 2015 at 10:43 AM, Gavin Fleming <gavin at kartoza.com
> <mailto:gavin at kartoza.com>> wrote:
>
>     Hola Ariel
>
>     On 04/03/2015 13:56, Ariel Nunez wrote:
>>
>>     On Wed, Mar 4, 2015 at 6:49 AM, Gavin Fleming <gavin at kartoza.com
>>     <mailto:gavin at kartoza.com>> wrote:
>>
>>         invoke-rc.d: policy-rc.d denied execution of start.
>>
>>      
>>     Also, is this a fresh machine or an existing one?
>     Docker (i.e. fresh)
>>
>>     The best way to go about getting started is to use Ubuntu 14.04
>>     and GeoNode 2.4 beta (ppa:geonode/testing)
>>
>>
>     just tried that, getting the same error:
>     https://gist.github.com/gubuntu/c18d657a27a7780a4c20
>
>     Chao
>
>     Gavin
>
>     _______________________________________________
>     geonode-users mailing list
>     geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>
>     http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>


-- 
------------------------------------------------------------------------------------------
Gavin Fleming Joint MD PGP 1234
Visit http://kartoza.com <http://kartoza.com/>to find out about open source:
* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services
Skype: phlemingo
-------------------------------------------------------------------------------------------
Kartoza = Linfiniti ∪ Afrispatial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150305/a64e9c22/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaWebBanner.png
Type: image/png
Size: 22131 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150305/a64e9c22/attachment-0001.png>


More information about the geonode-users mailing list