[GeoNode-devel] nstalling & configuring Geonode for production (Dimitris Karakostis)
Toni Schönbuchner
toni.schoenbuchner at csgis.de
Tue Jan 29 21:36:54 PST 2019
Good morning Dimitris,
I would suggest the following:
Make sure your settings has DEBUG = True
(If you set it to false and see an error 400 it means your ALLOWED_HOSTS prevents access)
Double check that your geonode.conf is enabled and all directories are pointing to correct locations
Especially the virtualenv path in first line
https://github.com/GeoNode/geonode-project/blob/master/scripts/misc/apache2/geonode.conf.sample#L1
Double check that wsgi is pointing to your correct settings in my case _local_settings
https://github.com/GeoNode/geonode-project/blob/master/project_name/wsgi.py#L38
Check if your Vagrantfile forwards Port 80
config.vm.network "forwarded_port", guest: 80, host: 80
curl from localhost and check the output
curl http://localhost
For testing you could still start the dev server by paver start ... on port 8000 (check vagrant port forwarding)
if this works I would bet it´s something with your geonode.conf.
Cheers,
Toni
> Am 29.01.2019 um 21:00 schrieb geonode-devel-request at lists.osgeo.org:
>
> Today's Topics:
>
> 1. Installing & configuring Geonode for production
> (Dimitris Karakostis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 29 Jan 2019 09:26:42 +0100
> From: Dimitris Karakostis <karakostis.dimitris at gmail.com <mailto:karakostis.dimitris at gmail.com>>
> To: geonode-devel <geonode-devel at lists.osgeo.org <mailto:geonode-devel at lists.osgeo.org>>
> Subject: [GeoNode-devel] Installing & configuring Geonode for
> production
> Message-ID:
> <CALS-6w0XjUFzWmaDjHmk+7We+R3Yv8LAYwKm9ih7q388jLp5HA at mail.gmail.com <mailto:CALS-6w0XjUFzWmaDjHmk+7We+R3Yv8LAYwKm9ih7q388jLp5HA at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> I am following the instructions from here [1] to install Geonode 2.8 in a
> Vagrant machine (ubuntu 16.04). I manage to complete all the steps without
> any error but in the end of the installation & configuration process the
> geonode page is not accessible (localhost or localhost:8000). But I am able
> to access tomcat and geoserver (http://localhost:8080/geoserver/web/ <http://localhost:8080/geoserver/web/>). I
> have also followed the steps from Toni's video [2] and I have made sure
> that I use the right user (in my case is "ubuntu" instead of "geo" or
> "vagrant"). Also I have deactivate the apache conf files (000-default.conf)
> and made sure to reload the server (sudo service apache2 reload).
>
> The error.log does't say a lot either:
>
> [Mon Jan 28 15:23:33.256516 2019] [mpm_event:notice] [pid 2648:tid
> 140573263873920] AH00491: caught SIGTERM, shutting down
>
> [Tue Jan 29 08:16:38.027075 2019] [wsgi:warn] [pid 1337:tid
> 140030881531776] mod_wsgi: Compiled for Python/2.7.11.
>
> [Tue Jan 29 08:16:38.028465 2019] [wsgi:warn] [pid 1337:tid
> 140030881531776] mod_wsgi: Runtime using Python/2.7.12.
>
> [Tue Jan 29 08:16:38.029659 2019] [mpm_event:notice] [pid 1337:tid
> 140030881531776] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0
> Python/2.7.12 configured -- resuming normal operations
>
> [Tue Jan 29 08:16:38.029684 2019] [core:notice] [pid 1337:tid
> 140030881531776] AH00094: Command line: '/usr/sbin/apache2'
>
> Any advice on how to debug this?
>
> [1]
> http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html <http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html>
> [2] https://vimeo.com/278003647#t=37m37s <https://vimeo.com/278003647#t=37m37s>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190129/44065f93/attachment-0001.html <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190129/44065f93/attachment-0001.html>>
>
> ------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190130/3d67b993/attachment-0001.html>
More information about the geonode-devel
mailing list