[GeoNode-users] Geonode 2.10.x installation

aditya fikri ghozali adityafikrighozali at gmail.com
Mon Dec 3 20:17:08 PST 2018


Thank you Paulo,

heres the additional log messages from wsgi

[Sun Dec 02 12:16:56.805981 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732] Traceback (most recent call last):
[Sun Dec 02 12:16:56.806017 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]   File "/home/aditya/geonode/geonode/wsgi.py", line 30, in
<module>
[Sun Dec 02 12:16:56.806058 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]     application = get_wsgi_application()
[Sun Dec 02 12:16:56.806071 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]   File
"/home/aditya/Envs/geonode/lib/python2.7/site-packages/django/core/wsgi.py",
line 13, in get_wsgi_application
[Sun Dec 02 12:16:56.806098 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]     django.setup(set_prefix=False)
[Sun Dec 02 12:16:56.806117 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]   File
"/home/aditya/Envs/geonode/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
[Sun Dec 02 12:16:56.806143 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]     apps.populate(settings.INSTALLED_APPS)
[Sun Dec 02 12:16:56.806158 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]   File
"/home/aditya/Envs/geonode/lib/python2.7/site-packages/django/apps/registry.py",
line 78, in populate
[Sun Dec 02 12:16:56.806185 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732]     raise RuntimeError("populate() isn't reentrant")
[Sun Dec 02 12:16:56.806214 2018] [wsgi:error] [pid 12750] [remote
127.0.0.1:49732] RuntimeError: populate() isn't reentrant


after seeing that, I suppose to check INSTALLED_APPS in settings.py. But i
didnt find anything suspicious about it.
Is there another clue from the error ?


heres the look of INSTALLED_APPS in settings.py

GEONODE_CORE_APPS = (
# GeoNode internal apps
'geonode.api',
'geonode.base',
'geonode.layers',
'geonode.maps',
'geonode.documents',
'geonode.security',
'geonode.catalogue',
)

GEONODE_INTERNAL_APPS = (
# GeoNode internal apps
'geonode.people',
'geonode.client',
'geonode.themes',
'geonode.proxy',
'geonode.social',
'geonode.groups',
'geonode.services',

# QGIS Server Apps
# Only enable this if using QGIS Server
# 'geonode.qgis_server',

# GeoServer Apps
# Geoserver needs to come last because
# it's signals may rely on other apps' signals.
'geonode.geoserver',
'geonode.upload',
'geonode.tasks',
'geonode.messaging',
)

GEONODE_CONTRIB_APPS = (
# GeoNode Contrib Apps
# 'geonode.contrib.dynamic',
# 'geonode.contrib.exif',
# 'geonode.contrib.favorite',
# 'geonode.contrib.geogig',
# 'geonode.contrib.geosites',
# 'geonode.contrib.nlp',
# 'geonode.contrib.slack',
# 'geonode.contrib.createlayer',
# 'geonode.contrib.datastore_shards',
'geonode.contrib.metadataxsl',
'geonode.contrib.api_basemaps',
# 'geonode.contrib.ows_api',
)

# Uncomment the following line to enable contrib apps
GEONODE_APPS = GEONODE_CORE_APPS + GEONODE_INTERNAL_APPS +
GEONODE_CONTRIB_APPS

INSTALLED_APPS = (

'modeltranslation',

# Boostrap admin theme
# 'django_admin_bootstrapped.bootstrap3',
# 'django_admin_bootstrapped',

# Apps bundled with Django
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'jet.dashboard',
'jet',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'django.contrib.humanize',
'django.contrib.gis',

# Utility
'dj_pagination',
'taggit',
'treebeard',
'geoexplorer',
'leaflet',
'bootstrap3_datetime',
'django_extensions',
'django_basic_auth',
'autocomplete_light',
'mptt',
# 'crispy_forms',

# 'djkombu',
# 'djcelery',
# 'kombu.transport.django',

'storages',
'floppyforms',

# Theme
"pinax_theme_bootstrap",
'django_forms_bootstrap',

# Social
'avatar',
'dialogos',
# 'pinax.comments',
'agon_ratings',
# 'pinax.ratings',
'announcements',
'actstream',
'user_messages',
'tastypie',
'polymorphic',
'guardian',
'oauth2_provider',
'corsheaders',

'invitations',

# login with external providers
'allauth',
'allauth.account',
'allauth.socialaccount',

# Django REST Framework
'rest_framework',

# GeoNode
'geonode',
) + GEONODE_APPS


Best Regards,
*Aditya Fikri Ghozali*
Geodesy and Geomatics Engineering
e-mail: adityafikrighozali at gmail.com
 | www.adityafikrighozali.com <http://www.adityafikrighozali.com>
        <https://www.facebook.com/welcomemybest>
<https://www.linkedin.com/in/fikriaditya/>
<https://www.youtube.com/user/adityafikri/>
<https://medium.com/@adityafikrighozali>




On Tue, Dec 4, 2018 at 2:17 AM Paolo Corti <pcorti at gmail.com> wrote:

> Hi
> the posted log gives you a hint: "Exception occurred processing WSGI
> script '/home/aditya/geonode/geonode/wsgi.py"
> So wsgi is failing and not apache. Try to check the wsgi log -
> location can vary depending on installation type and configuration -
> and see what is the actual problem
> best
> Paolo
>
> On Sun, Dec 2, 2018 at 7:25 AM aditya fikri ghozali
> <adityafikrighozali at gmail.com> wrote:
> >
> > Dear all,
> > i've been following geonode 2.10.x ubuntu 18.04  installation
> instruction on
> https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit?usp=sharing
> >
> > all work well,but in the end in the end of installation it only can be
> accessed from http://localhost:8000/ .
> > It gives Internal Server Errors(500) when accessed through
> http://localhost/
> > my path were home/aditya/geonode ; home/aditya/Envs/geonode
> >
> > i've already set up geonode.conf on apache2 accordingly
> >
> > apache2 log:
> > [Sun Dec 02 11:57:29.936734 2018] [wsgi:error] [pid 12750] [remote
> 127.0.0.1:49646] mod_wsgi (pid=12750): Target WSGI script
> '/home/aditya/geonode/geonode/wsgi.py' cannot be loaded as Python module.
> > [Sun Dec 02 11:57:29.936794 2018] [wsgi:error] [pid 12750] [remote
> 127.0.0.1:49646] mod_wsgi (pid=12750): Exception occurred processing WSGI
> script '/home/aditya/geonode/geonode/wsgi.py'.
> >
> > Did anyone know what to do to fix it?
> >
> > Thanks in advance.
> > Best Regards,
> >
> > Aditya Fikri Ghozali
> > Geodesy and Geomatics Engineer
> > e-mail: adityafikrighozali at gmail.com
> >  | www.adityafikrighozali.com
> >
> >
> > _______________________________________________
> > geonode-users mailing list
> > geonode-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181204/31daf834/attachment-0001.html>


More information about the geonode-users mailing list