[GeoNode-users] Geonode Installation Ubuntu 16.04 - geonodeAuthProvider and Start-up log
Julierme Pinheiro
juliermeopensourcedeveloper at gmail.com
Wed May 9 07:18:10 PDT 2018
Hi Francesco Bartoli,
Thank you very much for your reply. I have geoserver *2.12-SNAPSHOT *running
like a charm in http://localhost:8080/geoserver/web/ according to the
tutorial <http://localhost:8080/geoserver/web/> Geonode(v2.8) installation
on Ubuntu 16.04. I followed all the steps and I found out that someone else
had the same issue
<https://lists.osgeo.org/pipermail/geonode-devel/2015-September/000361.html>
as I. I tried all the solutions presented in the discussion as setting
python-path =* /root/Envs/geonode/lib/python2.7/site-packages *and
installing django "sudo pip install -e ."
I had doubt here because Django=1.8.19 had been installed through
requirements.txt. After all, I got a huge issue that I have seen before
when I tried to change geonode templates installed via apt-get using
geonode-project <https://github.com/GeoNode/geonode-project/>.
Here is the response for http://localhost
OperationalError at /
unable to open database file
Request Method: GET
Request URL: http://localhost/
Django Version: 1.8.19
Exception Type: OperationalError
Exception Value:
unable to open database file
Exception Location:
/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py
in get_new_connection, line 204
Python Executable: /usr/bin/python
Python Version: 2.7.12
Python Path:
['/root/Envs/geonode/lib/python2.7/site-packages',
'/home/geonode/my_geonode',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/var/www']
Server time: Wed, 9 May 2018 10:55:06 -0300
Traceback Switch to copy-and-paste view <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in
get_response
1.
response = response.render()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/template/response.py in
render
1.
self.content = self.rendered_content
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/template/response.py in
rendered_content
1.
content = template.render(context, self._request)
...
▶ Local vars <http://localhost/#>
-
/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py
in render
1.
return self.template.render(context)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/template/base.py in
render
1.
with context.bind_template(self):
...
▶ Local vars <http://localhost/#>
- /usr/lib/python2.7/contextlib.py in __enter__
1.
return self.gen.next()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/template/context.py in
bind_template
1.
updates.update(processor(self.request))
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/geonode/context_processors.py
in resource_urls
1.
site = Site.objects.get_current()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py
in get_current
1.
return self._get_site_by_id(site_id)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py
in _get_site_by_id
1.
site = self.get(pk=site_id)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/manager.py in
manager_method
1.
return getattr(self.get_queryset(),
name)(*args, **kwargs)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/query.py in get
1.
num = len(clone)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/query.py in
__len__
1.
self._fetch_all()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/query.py in
_fetch_all
1.
self._result_cache = list(self.iterator())
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/query.py in
iterator
1.
results = compiler.execute_sql()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py
in execute_sql
1.
cursor = self.connection.cursor()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py
in cursor
1.
cursor = self.make_debug_cursor(self._cursor())
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py
in _cursor
1.
self.ensure_connection()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py
in ensure_connection
1.
self.connect()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/utils.py in __exit__
1.
six.reraise(dj_exc_type,
dj_exc_value, traceback)
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py
in ensure_connection
1.
self.connect()
...
▶ Local vars <http://localhost/#>
- /usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py
in connect
1.
self.connection = self.get_new_connection(conn_params)
...
▶ Local vars <http://localhost/#>
-
/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py
in get_new_connection
1.
conn = Database.connect(**conn_params)
...
▶ Local vars <http://localhost/#>
Request information GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
csrftoken
'NVd01Z3oCPasTLiA02Xbox0xyjPGESnY'
META
Variable Value
mod_wsgi.listener_port
'80'
HTTP_COOKIE
'csrftoken=NVd01Z3oCPasTLiA02Xbox0xyjPGESnY'
mod_wsgi.listener_host
''
CONTEXT_DOCUMENT_ROOT
'/home/geonode/my_geonode/my_geonode'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SCRIPT_NAME
u''
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at localhost Port 80</address>\n'
REQUEST_METHOD
'GET'
PATH_INFO
u'/'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
HTTP_USER_AGENT
'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0'
HTTP_CONNECTION
'keep-alive'
SERVER_NAME
'localhost'
REMOTE_ADDR
'127.0.0.1'
mod_wsgi.queue_start
'1525874105904294'
mod_wsgi.request_handler
'wsgi-script'
apache.version
(2, 4, 18)
wsgi.url_scheme
'http'
PATH_TRANSLATED
'/home/geonode/my_geonode/my_geonode/wsgi.py/'
SERVER_PORT
'80'
wsgi.multiprocess
True
mod_wsgi.input_chunked
'0'
SERVER_ADDR
'127.0.0.1'
DOCUMENT_ROOT
'/home/geonode/my_geonode/my_geonode'
mod_wsgi.process_group
'geonode'
mod_wsgi.daemon_connects
'1'
SCRIPT_FILENAME
'/home/geonode/my_geonode/my_geonode/wsgi.py'
SERVER_ADMIN
'webmaster at localhost'
wsgi.input
<mod_wsgi.Input object at 0x7ffaa4ffa6b0>
HTTP_HOST
'localhost'
CONTEXT_PREFIX
''
mod_wsgi.callable_object
'application'
wsgi.multithread
True
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
mod_wsgi.daemon_restarts
'0'
REQUEST_URI
'/'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
wsgi.file_wrapper
''
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
wsgi.run_once
False
wsgi.errors
<mod_wsgi.Log object at 0x7ffaa50aa9c0>
REMOTE_PORT
'33396'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.5'
REQUEST_SCHEME
'http'
mod_wsgi.version
(4, 3, 0)
mod_wsgi.script_start
'1525874105904615'
mod_wsgi.application_group
'localhost|'
mod_wsgi.script_reloading
'1'
mod_wsgi.request_start
'1525874105904108'
CSRF_COOKIE
u'NVd01Z3oCPasTLiA02Xbox0xyjPGESnY'
HTTP_ACCEPT_ENCODING
'gzip, deflate'
mod_wsgi.daemon_start
'1525874105904513'
Settings Using settings module my_geonode.settings
Setting Value
VERSION
'2.8'
YEAR_MONTH_FORMAT
'F Y'
CASCADE_WORKSPACE
'geonode'
DEFAULT_WORKSPACE
'geonode'
OGP_URL
'http://geodata.tufts.edu/solr/select'
SECURE_REDIRECT_EXEMPT
[]
GOOGLE_API_KEY
u'********************'
USE_THOUSAND_SEPARATOR
False
CSRF_COOKIE_SECURE
False
UPLOADER
{'BACKEND': 'geonode.rest',
'OPTIONS': {'GEOGIG_ENABLED': False,
'MOSAIC_ENABLED': False,
'TIME_ENABLED': False},
'SUPPORTED_CRS': ['EPSG:4326',
'EPSG:3785',
'EPSG:3857',
'EPSG:900913',
'EPSG:32647',
'EPSG:32736'],
'SUPPORTED_EXT': ['.shp',
'.csv',
'.kml',
'.kmz',
'.json',
'.geojson',
'.tif',
'.tiff',
'.geotiff',
'.gml',
'.xml']}
LANGUAGE_CODE
'en'
LICENSES
{'DETAIL': 'above', 'ENABLED': True, 'METADATA': 'verbose'}
MANAGERS
[]
DOWNLOAD_FORMATS_METADATA
['Atom', 'DIF', 'Dublin Core', 'ebRIM', 'FGDC', 'ISO', 'ISO with XSL']
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader')
SOCIALACCOUNT_PROFILE_EXTRACTORS
{'facebook': 'geonode.people.profileextractors.FacebookExtractor',
'linkedin_oauth2': 'geonode.people.profileextractors.LinkedInExtractor'}
SILENCED_SYSTEM_CHECKS
[]
DEFAULT_CHARSET
'utf-8'
PYCSW
{'CONFIGURATION': {'metadata:inspire': {'conformity_service': 'notEvaluated',
'contact_email': 'Email Address',
'contact_name': 'Organization Name',
'date': 'YYYY-MM-DD',
'default_language': 'eng',
'enabled': 'true',
'gemet_keywords': 'Utility and
governmental services',
'languages_supported': 'eng,gre',
'temp_extent': 'YYYY-MM-DD/YYYY-MM-DD'},
'metadata:main': {'contact_address': 'Mailing Address',
'contact_city': 'City',
'contact_country': 'Country',
'contact_email': 'Email Address',
'contact_fax': '+xx-xxx-xxx-xxxx',
'contact_hours': 'Hours of Service',
'contact_instructions': 'During
hours of service. Off on weekends.',
'contact_name': 'Lastname, Firstname',
'contact_phone': '+xx-xxx-xxx-xxxx',
'contact_position': 'Position Title',
'contact_postalcode': 'Zip or Postal Code',
'contact_role': 'pointOfContact',
'contact_stateorprovince':
'Administrative Area',
'contact_url': 'Contact URL',
'identification_abstract':
'GeoNode is an open source platform that facilitates the creation,
sharing, and collaborative use of geospatial data',
'identification_accessconstraints': 'None',
'identification_fees': 'None',
'identification_keywords': 'sdi,
catalogue, discovery, metadata, GeoNode',
'identification_keywords_type': 'theme',
'identification_title': 'GeoNode
Catalogue',
'provider_name': 'Organization Name',
'provider_url': 'http://localhost:8000/'}}}
SESSION_SERIALIZER
'django.contrib.sessions.serializers.PickleSerializer'
ACCOUNT_EMAIL_REQUIRED
True
USER_MESSAGES_ALLOW_MULTIPLE_RECIPIENTS
True
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
OGC_SERVER_DEFAULT_USER
'admin'
ALLOWED_HOSTS
['localhost', 'django']
OGC_SERVER
{'default': {'BACKEND': 'geonode.geoserver',
'BACKEND_WRITE_ENABLED': True,
'DATASTORE': '',
'GEOFENCE_SECURITY_ENABLED': True,
'GEOGIG_DATASTORE_DIR': '',
'GEOGIG_ENABLED': False,
'GEONODE_SECURITY_ENABLED': True,
'LOCATION': 'http://localhost:8080/geoserver/',
'LOGIN_ENDPOINT': 'j_spring_oauth2_geonode_login',
'LOGOUT_ENDPOINT': 'j_spring_oauth2_geonode_logout',
'LOG_FILE':
'/usr/local/lib/python2.7/dist-packages/geoserver/data/logs/geoserver.log',
'MAPFISH_PRINT_ENABLED': True,
'PASSWORD': u'********************',
'PG_GEOGIG': False,
'PRINT_NG_ENABLED': True,
'PUBLIC_LOCATION': 'http://localhost:8080/geoserver/',
'TIMEOUT': 10,
'USER': 'admin',
'WMST_ENABLED': False,
'WPS_ENABLED': False}}
DOWNLOAD_FORMATS_RASTER
['JPEG',
'PDF',
'PNG',
'ArcGrid',
'GeoTIFF',
'Gtopo30',
'ImageMosaic',
'KML',
'View in Google Earth',
'Tiles',
'GML',
'GZIP',
'QGIS layer file (.qlr)',
'QGIS project file (.qgs)',
'Zipped All Files']
AUTH_EXEMPT_URLS
()
WSGI_APPLICATION
'my_geonode.wsgi.application'
EMAIL_SUBJECT_PREFIX
'[Django] '
SERVER_EMAIL
'root at localhost'
SECURE_HSTS_SECONDS
3600
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder')
S3_MEDIA_ENABLED
False
CELERY_WORKER_DISABLE_RATE_LIMITS
True
SESSION_COOKIE_DOMAIN
None
PINAX_NOTIFICATIONS_QUEUE_ALL
False
CELERY_BROKER_URL
'amqp://'
AWS_STORAGE_BUCKET_NAME
''
AWS_BUCKET_NAME
''
ACCOUNT_CONFIRM_EMAIL_ON_GET
True
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 600,
'ENGINE': 'django.db.backends.sqlite3',
'HOST': '',
'NAME':
'/usr/local/lib/python2.7/dist-packages/geonode/development.db',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': 'UTC',
'USER': ''}}
EMAIL_SSL_KEYFILE
u'********************'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
STATIC_URL
'/static/'
X_FRAME_OPTIONS
'DENY'
LOCAL_ROOT
'/home/geonode/my_geonode/my_geonode'
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
ACCOUNT_APPROVAL_REQUIRED
True
DEBUG_STATIC
0
BING_API_KEY
u'********************'
SOCIALACCOUNT_PROVIDERS
{'facebook': {'FIELDS': ['id',
'email',
'name',
'first_name',
'last_name',
'verified',
'locale',
'timezone',
'link',
'gender'],
'METHOD': 'oauth2',
'SCOPE': ['email', 'public_profile']},
'linkedin_oauth2': {'PROFILE_FIELDS': ['emailAddress',
'firstName',
'headline',
'id',
'industry',
'lastName',
'pictureUrl',
'positions',
'publicProfileUrl',
'location',
'specialties',
'summary'],
'SCOPE': ['r_emailaddress', 'r_basicprofile']}}
ACCOUNT_EMAIL_VERIFICATION
'optional'
DATABASE_URL
'sqlite:////usr/local/lib/python2.7/dist-packages/geonode/development.db'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
DEFAULT_TABLESPACE
''
STAMEN_BASEMAPS
False
GEOSERVER_LOCATION
'http://localhost:8080/geoserver/'
INVITATIONS_ADAPTER
'geonode.people.adapters.LocalAccountAdapter'
MODELTRANSLATION_FALLBACK_LANGUAGES
('en',)
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}}
DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION
1
PASSWORD_HASHERS
u'********************'
CKAN_ORIGINS
[{'css_class': 'hdx',
'label': 'Humanitarian Data Exchange (HDX)',
'url': 'https://data.hdx.rwlabs.org/dataset/new?title={name}&dataset_date={date}¬es={abstract}&caveats={caveats}'}]
SLACK_WEBHOOK_URLS
['https://hooks.slack.com/services/T000/B000/XX']
EMAIL_USE_SSL
False
SESSION_COOKIE_PATH
'/'
ALT_OSM_BASEMAPS
False
UNOCONV_ENABLE
0
PINAX_NOTIFICATIONS_BACKENDS
{(0, 'email'): <pinax.notifications.backends.email.EmailBackend object
at 0x7ffaa5d99a50>}
ACCOUNT_OPEN_SIGNUP
True
ROOT_URLCONF
'my_geonode.urls'
ACCOUNT_ADAPTER
'geonode.people.adapters.LocalAccountAdapter'
MAPBOX_ACCESS_TOKEN
u'********************'
MISSING_THUMBNAIL
'geonode/img/missing_thumb.png'
FILE_UPLOAD_TEMP_DIR
None
MIDDLEWARE_CLASSES
('corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'dj_pagination.middleware.PaginationMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'oauth2_provider.middleware.OAuth2TokenMiddleware',
'django.middleware.security.SecurityMiddleware')
TWITTER_SITE
'@GeoNode'
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
DATE_INPUT_FORMATS
('%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y')
PINAX_NOTIFICATIONS_HOOKSET
<pinax.notifications.hooks.DefaultHookSet object at 0x7ffaa5d99710>
LANGUAGE_COOKIE_NAME
'django_language'
CELERY_TASK_IGNORE_RESULT
True
THUNDERFOREST_BASEMAPS
False
CELERY_TASK_ALWAYS_EAGER
True
DEFAULT_MAP_CRS
'EPSG:3857'
SECURE_SSL_HOST
None
CELERY_TASK_DEFAULT_ROUTING_KEY
u'********************'
THESAURI
[]
LOGGING_CONFIG
'logging.config.dictConfig'
MAP_CLIENT_USE_CROSS_ORIGIN_CREDENTIALS
0
GEOSERVER_PUBLIC_LOCATION
'http://localhost:8080/geoserver/'
_EMAIL_BACKEND
'pinax.notifications.backends.email.EmailBackend'
TASTYPIE_DEFAULT_FORMATS
['json']
TEMPLATE_DEBUG
False
AUTO_GENERATE_AVATAR_SIZES
(20, 30, 32, 40, 50, 65, 70, 80, 100, 140, 200, 240)
CSRF_COOKIE_NAME
'csrftoken'
SESSION_COOKIE_SECURE
False
OAUTH2_PROVIDER
{'CLIENT_ID_GENERATOR_CLASS': 'oauth2_provider.generators.ClientIdGenerator',
'SCOPES': {'groups': 'Access to your groups',
'read': 'Read scope',
'write': 'Write scope'}}
ACCOUNT_EMAIL_CONFIRMATION_EMAIL
True
USE_X_FORWARDED_HOST
False
TWITTER_HASHTAGS
['geonode']
STATIC_ROOT
'/home/geonode/my_geonode/my_geonode/static_root'
EMAIL_TIMEOUT
None
MODIFY_TOPICCATEGORY
True
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
PUBLIC_GEOSERVER
{'source': {'attribution': '© http://localhost:8000/',
'ptype': 'gxp_wmscsource',
'restUrl': '/gs/rest',
'title': 'GeoServer - Public Layers',
'url': 'http://localhost:8080/geoserver/ows'}}
CELERY_TASK_DEFAULT_EXCHANGE_TYPE
'direct'
NLP_ENABLED
False
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
CACHE_TIME
0
SECURE_BROWSER_XSS_FILTER
True
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
1
SECURE_SSL_REDIRECT
False
INTERNAL_IPS
()
AWS_ACCESS_KEY_ID
u'********************'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
('modeltranslation',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'django.contrib.humanize',
'django.contrib.gis',
'dj_pagination',
'taggit',
'treebeard',
'geoexplorer',
'leaflet',
'bootstrap3_datetime',
'django_extensions',
'django_basic_auth',
'autocomplete_light',
'mptt',
'storages',
'floppyforms',
'pinax_theme_bootstrap',
'django_forms_bootstrap',
'avatar',
'dialogos',
'agon_ratings',
'announcements',
'actstream',
'user_messages',
'polymorphic',
'guardian',
'oauth2_provider',
'corsheaders',
'invitations',
'allauth',
'allauth.account',
'allauth.socialaccount',
'geonode.contrib.metadataxsl',
'geonode.contrib.api_basemaps',
'geonode.contrib.ows_api',
'geonode.people',
'geonode.base',
'geonode.client',
'geonode.layers',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.social',
'geonode.catalogue',
'geonode.documents',
'geonode.api',
'geonode.groups',
'geonode.services',
'geonode.qgis_server',
'geonode.geoserver',
'geonode.upload',
'geonode.tasks',
'geonode.messaging',
'pinax.notifications',
'geonode',
'my_geonode')
ASYNC_SIGNALS_BROKER_URL
'memory://'
USE_L10N
1
SITEURL
'http://localhost:8000/'
DEFAULT_MAP_CENTER
(0, 0)
PINAX_NOTIFICATIONS_LOCK_WAIT_TIMEOUT
-1
SECURE_HSTS_INCLUDE_SUBDOMAINS
True
GEONODE_APPS
('geonode.contrib.metadataxsl',
'geonode.contrib.api_basemaps',
'geonode.contrib.ows_api',
'geonode.people',
'geonode.base',
'geonode.client',
'geonode.layers',
'geonode.maps',
'geonode.proxy',
'geonode.security',
'geonode.social',
'geonode.catalogue',
'geonode.documents',
'geonode.api',
'geonode.groups',
'geonode.services',
'geonode.qgis_server',
'geonode.geoserver',
'geonode.upload',
'geonode.tasks',
'geonode.messaging')
LEAFLET_CONFIG
{'PLUGINS': {u'ALL': {u'css': <leaflet.utils.ListWithLazyItems object
at 0x7ffac2936750>,
u'js': <leaflet.utils.ListWithLazyItems object
at 0x7ffaa5a3afd0>},
u'__default__': {u'css': <leaflet.utils.ListWithLazyItems
object at 0x7ffaa5a46110>,
u'js': <leaflet.utils.ListWithLazyItems
object at 0x7ffaa5a46210>},
u'__is_normalized__': True,
'esri-leaflet': {'auto-include': True,
u'css': <leaflet.utils.ListWithLazyItems
object at 0x7ffaa5a46250>,
'js': <leaflet.utils.ListWithLazyItems
object at 0x7ffaa5a46290>},
u'forms': {u'auto-include': False,
u'css': <leaflet.utils.ListWithLazyItems
object at 0x7ffaa5d0bc10>,
u'js': <leaflet.utils.ListWithLazyItems object
at 0x7ffac367c3d0>},
'leaflet-fullscreen': {'auto-include': True,
'css':
<leaflet.utils.ListWithLazyItems object at 0x7ffaa5a46050>,
'js':
<leaflet.utils.ListWithLazyItems object at 0x7ffaa5a46150>}},
'RESET_VIEW': False,
'SRID': 3857,
'TILES': [('Map Quest',
'http://otile4.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png',
'Tiles Courtesy of <a
href="http://www.mapquest.com/">MapQuest</a> — Map data ©
<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>')]}
CELERY_TASK_CREATE_MISSING_QUEUES
True
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
AUTH_IP_WHITELIST
[]
TWITTER_CARD
1
DISPLAY_WMS_LINKS
True
LANGUAGE_COOKIE_AGE
None
SESSION_COOKIE_HTTPONLY
True
AWS_SECRET_ACCESS_KEY
u'********************'
DEBUG_PROPAGATE_EXCEPTIONS
False
GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY
'geoext'
DEFAULT_ANONYMOUS_VIEW_PERMISSION
1
MONTH_DAY_FORMAT
'F j'
AWS_QUERYSTRING_AUTH
False
LOGIN_URL
'/account/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SEARCH_FILTERS
{'CATEGORIES_ENABLED': True,
'DATE_ENABLED': True,
'EXTENT_ENABLED': True,
'H_KEYWORDS_ENABLED': u'********************',
'KEYWORDS_ENABLED': u'********************',
'OWNERS_ENABLED': True,
'REGION_ENABLED': True,
'TEXT_ENABLED': True,
'TYPE_ENABLED': True,
'T_KEYWORDS_ENABLED': u'********************'}
OPENGRAPH_ENABLED
1
THUMBNAIL_GENERATOR
'geonode.layers.utils.create_gs_thumbnail_geonode'
NOTIFICATIONS_MODULE
'pinax.notifications'
TEST
False
TIME_FORMAT
'P'
GEOIP_PATH
'/home/geonode/my_geonode/my_geonode/../GeoLiteCity.dat'
SERVICE_UPDATE_INTERVAL
0
AUTH_USER_MODEL
'people.Profile'
ADMIN_MODERATE_UPLOADS
False
HAYSTACK_SEARCH
0
AUTHENTICATION_BACKENDS
('oauth2_provider.backends.OAuth2Backend',
'django.contrib.auth.backends.ModelBackend',
'guardian.backends.ObjectPermissionBackend',
'allauth.account.auth_backends.AuthenticationBackend')
EMAIL_HOST_PASSWORD
u'********************'
PINAX_NOTIFICATIONS_GET_LANGUAGE_MODEL
<function <lambda> at 0x7ffaa5da1500>
DISPLAY_RATINGS
1
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
LANGUAGE_COOKIE_DOMAIN
None
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
NUMBER_GROUPING
0
SHORT_DATETIME_FORMAT
'm/d/Y P'
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CELERY_RESULT_BACKEND
None
API_INCLUDE_REGIONS_COUNT
u'********************'
CSRF_COOKIE_PATH
'/'
CELERY_WORKER_SEND_TASK_EVENTS
False
MONITORING_DISABLE_CSRF
False
NLP_LIBRARY_PATH
'/opt/MITIE/mitielib'
MONITORING_DATA_TTL
datetime.timedelta(7)
PROJECT_ROOT
'/usr/local/lib/python2.7/dist-packages/geonode'
DECIMAL_SEPARATOR
'.'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
EXIF_ENABLED
False
NOSE_ARGS
['--nocapture', '--detailed-errors']
LOCALE_PATHS
('/home/geonode/my_geonode/my_geonode/locale',
'/usr/local/lib/python2.7/dist-packages/geonode/locale')
NLP_MODEL_PATH
'/opt/MITIE/MITIE-models/english/ner_model.dat'
INTEGRATION
False
PROXY_ALLOWED_HOSTS
('nominatim.openstreetmap.org',)
LOCAL_MEDIA_URL
'/uploaded/'
CARTODB_BASEMAPS
False
SOCIAL_ORIGINS
[{'css_class': 'email',
'label': 'Email',
'url': 'mailto:?subject={name}&body={url}'},
{'css_class': 'fb',
'label': 'Facebook',
'url': 'http://www.facebook.com/sharer.php?u={url}'},
{'css_class': 'tw',
'label': 'Twitter',
'url': 'https://twitter.com/share?url={url}&hashtags={hashtags}'},
{'css_class': 'gp',
'label': 'Google +',
'url': 'https://plus.google.com/share?url={url}'}]
SESSION_FILE_PATH
None
LOGOUT_URL
'/account/logout/'
MAP_BASELAYERS
[{'source': {'ptype': 'gxp_wmscsource',
'restUrl': '/gs/rest',
'url': 'http://localhost:8080/geoserver/wms'}},
{'args': ['No background'],
'fixed': True,
'group': 'background',
'name': 'background',
'source': {'ptype': 'gxp_olsource'},
'type': 'OpenLayers.Layer',
'visibility': False},
{'args': ['UNESCO', 'http://en.unesco.org/tiles/${z}/${x}/${y}.png'],
'attribution': '© UNESCO',
'fixed': True,
'group': 'background',
'name': 'background',
'source': {'ptype': 'gxp_olsource'},
'title': 'UNESCO',
'type': 'OpenLayers.Layer.XYZ',
'visibility': False,
'wrapDateLine': True},
{'args': ['UNESCO GEODATA',
'http://en.unesco.org/tiles/geodata/${z}/${x}/${y}.png'],
'attribution': '© UNESCO',
'fixed': True,
'group': 'background',
'name': 'background',
'source': {'ptype': 'gxp_olsource'},
'title': 'UNESCO GEODATA',
'type': 'OpenLayers.Layer.XYZ',
'visibility': False,
'wrapDateLine': True},
{'args': ['Humanitarian OpenStreetMap',
'http://a.tile.openstreetmap.fr/hot/${z}/${x}/${y}.png'],
'attribution': "© <a
href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>, Tiles
courtesy of <a href='http://hot.openstreetmap.org/'
target='_blank'>Humanitarian OpenStreetMap Team</a>",
'fixed': True,
'group': 'background',
'name': 'background',
'source': {'ptype': 'gxp_olsource'},
'title': 'Humanitarian OpenStreetMap',
'type': 'OpenLayers.Layer.XYZ',
'visibility': False,
'wrapDateLine': True},
{'attribution': "© <a
href='http://osm.org/copyright'>OpenStreetMap</a> contributors",
'fixed': True,
'group': 'background',
'name': 'mapnik',
'source': {'ptype': 'gxp_osmsource'},
'title': 'OpenStreetMap',
'type': 'OpenLayers.Layer.OSM',
'visibility': True,
'wrapDateLine': True}]
EMAIL_USE_TLS
False
GEONODE_CONTRIB_APPS
('geonode.contrib.metadataxsl',
'geonode.contrib.api_basemaps',
'geonode.contrib.ows_api')
LOGIN_REDIRECT_URL
'/'
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
GROUP_PRIVATE_RESOURCES
False
DATE_FORMAT
'N j, Y'
NLP_LOCATION_THRESHOLD
1.0
SKIP_PERMS_FILTER
0
ACCOUNT_NOTIFY_ON_PASSWORD_CHANGE
u'********************'
MEDIA_ROOT
'/home/geonode/my_geonode/my_geonode/uploaded'
USE_I18N
1
AGON_RATINGS_CATEGORY_CHOICES
{'documents.Document': {'document': 'How good is this document?'},
'layers.Layer': {'layer': 'How good is this layer?'},
'maps.Map': {'map': 'How good is this map?'}}
CATALOGUE
{'default': {'ENGINE': 'geonode.catalogue.backends.pycsw_local',
'URL': 'http://localhost:8000/catalogue/csw'}}
SECURE_CONTENT_TYPE_NOSNIFF
True
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
[]
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster at localhost'
FREETEXT_KEYWORDS_READONLY
u'********************'
MEDIA_URL
'/uploaded/'
DATETIME_FORMAT
'N j, Y, P'
TEMPLATE_DIRS
()
ALLOWED_DOCUMENT_TYPES
['doc',
'docx',
'gif',
'jpg',
'jpeg',
'ods',
'odt',
'odp',
'pdf',
'png',
'ppt',
'pptx',
'rar',
'sld',
'tif',
'tiff',
'txt',
'xls',
'xlsx',
'xml',
'zip',
'gz',
'qml']
RESOURCE_PUBLISHING
False
THEME_ACCOUNT_CONTACT_EMAIL
'admin at example.com'
EXTRA_LANG_INFO
{'am': {'bidi': False,
'code': 'am',
'name': 'Amharic',
'name_local': 'Amharic'},
'si': {'bidi': False,
'code': 'si',
'name': 'Sinhala',
'name_local': 'sinhala'},
'ta': {'bidi': False, 'code': 'ta', 'name': 'Tamil', 'name_local': u'tamil'},
'tl': {'bidi': False,
'code': 'tl',
'name': 'Tagalog',
'name_local': 'tagalog'}}
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
USE_GEOSERVER
True
API_LIMIT_PER_PAGE
u'********************'
DEFAULT_LAYER_FORMAT
'image/png8'
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
DOWNLOAD_FORMATS_VECTOR
['JPEG',
'PDF',
'PNG',
'Zipped Shapefile',
'GML 2.0',
'GML 3.1.1',
'CSV',
'Excel',
'GeoJSON',
'KML',
'View in Google Earth',
'Tiles',
'QGIS layer file (.qlr)',
'QGIS project file (.qgs)']
MONITORING_ENABLED
False
DISPLAY_COMMENTS
1
SRID
{'DETAIL': 'never'}
LOGGING
{'disable_existing_loggers': True,
'filters': {'require_debug_false': {'()':
'django.utils.log.RequireDebugFalse'}},
'formatters': {'simple': {'format': '%(message)s'},
'verbose': {'format': '%(levelname)s %(asctime)s
%(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'console': {'class': 'logging.StreamHandler',
'formatter': 'simple',
'level': 'INFO'},
'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'filters': ['require_debug_false'],
'level': 'INFO'},
'null': {'class': 'django.utils.log.NullHandler',
'level': 'INFO'}},
'loggers': {'django': {'handlers': ['console'], 'level': 'INFO'},
'geonode': {'handlers': ['console'], 'level': 'INFO'},
'gsconfig.catalog': {'handlers': ['console'], 'level': 'INFO'},
'my_geonode': {'handlers': ['console'], 'level': 'DEBUG'},
'owslib': {'handlers': ['console'], 'level': 'INFO'},
'pycsw': {'handlers': ['console'], 'level': 'INFO'}},
'version': 1}
SHOW_PROFILE_EMAIL
False
GEONODE_CLIENT_HOOKSET
'geonode.client.hooksets.GeoExtHookSet'
SHORT_DATE_FORMAT
'm/d/Y'
CELERY_TASK_DEFAULT_QUEUE
'default'
SLACK_ENABLED
False
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/home/geonode/my_geonode/my_geonode/templates',
'/usr/local/lib/python2.7/dist-packages/geonode/templates'],
'NAME': 'GeoNode Project Templates',
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.tz',
'django.template.context_processors.request',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.contrib.auth.context_processors.auth',
'geonode.context_processors.resource_urls',
'geonode.geoserver.context_processors.geoserver_urls'],
'debug': 1,
'loaders': ['django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader']}}]
GEOFENCE_SECURITY_ENABLED
True
PROJECT_NAME
'my_geonode'
TEST_RUNNER
'django_nose.NoseTestSuiteRunner'
ACTSTREAM_SETTINGS
{'FETCH_RELATIONS': True,
'GFK_FETCH_DEPTH': 1,
'USE_JSONFIELD': True,
'USE_PREFETCH': False}
MODELTRANSLATION_LANGUAGES
['en']
HAYSTACK_FACET_COUNTS
1
IGNORABLE_404_URLS
()
AWS_S3_BUCKET_DOMAIN
'.s3.amazonaws.com'
TIME_ZONE
'America/Sao_Paulo'
CORS_ORIGIN_ALLOW_ALL
True
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
LOCAL_GEOSERVER
{'source': {'ptype': 'gxp_wmscsource',
'restUrl': '/gs/rest',
'url': 'http://localhost:8080/geoserver/wms'}}
RISKS
{'DEFAULT_LOCATION': None,
'PDF_GENERATOR': {'ARGS': [],
'BIN': '/usr/bin/wkhtml2pdf',
'NAME': 'wkhtml2pdf'}}
SESSION_CACHE_ALIAS
'default'
EMAIL_BACKEND
'django.core.mail.backends.console.EmailBackend'
CSRF_COOKIE_HTTPONLY
False
DISPLAY_SOCIAL
1
DEFAULT_MAP_ZOOM
0
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages')
CELERY_QUEUES
[<unbound Queue default -> <unbound Exchange u''(direct)> -> default>,
<unbound Queue cleanup -> <unbound Exchange u''(direct)> -> cleanup>,
<unbound Queue update -> <unbound Exchange u''(direct)> -> update>,
<unbound Queue email -> <unbound Exchange u''(direct)> -> email>]
LOCKDOWN_GEONODE
0
S3_STATIC_ENABLED
False
EMAIL_ENABLE
0
SESSION_COOKIE_AGE
1209600
PINAX_NOTIFICATIONS_LANGUAGE_MODEL
None
SETTINGS_MODULE
'my_geonode.settings'
GUARDIAN_GET_INIT_ANONYMOUS_USER
'geonode.people.models.get_anonymous_user_instance'
USE_ETAGS
False
SOCIALACCOUNT_AUTO_SIGNUP
False
NOTIFICATION_ENABLED
True
LANGUAGES
(('en', 'English'),
('es', 'Espa\xc3\xb1ol'),
('it', 'Italiano'),
('fr', 'Fran\xc3\xa7ais'),
('de', 'Deutsch'),
('el', '\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac'),
('id', 'Bahasa Indonesia'),
('zh-cn', '\xe4\xb8\xad\xe6\x96\x87'),
('ja', '\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e'),
('fa', 'Persian'),
('ar', 'Arabic'),
('bn', 'Bengali'),
('ne', 'Nepali'),
('sq', 'Albanian'),
('af', 'Afrikaans'),
('sw', 'Swahili'),
('pt', 'Portuguese'),
('pt-br', 'Portuguese (Brazil)'),
('ru', 'Russian'),
('vi', 'Vietnamese'),
('ko', '\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4'),
('am', 'Amharic'),
('km', 'Khmer'),
('pl', 'Polish'),
('sv', 'Swedish'),
('th', '\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2'),
('uk', 'Ukranian'),
('si', 'Sinhala'),
('ta', 'Tamil'),
('tl', 'Tagalog'))
CELERY_TASK_RESULT_EXPIRES
1
DEFAULT_INDEX_TABLESPACE
''
CSRF_COOKIE_AGE
31449600
SESSION_COOKIE_NAME
'sessionid'
EMAIL_PORT
25
GROUP_MANDATORY_RESOURCES
True
LAYER_PREVIEW_LIBRARY
'geoext'
USE_TZ
True
DEFAULT_SEARCH_SIZE
10
CLIENT_RESULTS_LIMIT
20
PROXY_URL
'/proxy/?url='
TEST_NON_SERIALIZED_APPS
[]
MODELTRANSLATION_DEFAULT_LANGUAGE
'en'
STATICFILES_DIRS
['/usr/local/lib/python2.7/dist-packages/geonode/static',
'/home/geonode/my_geonode/my_geonode/static']
ABSOLUTE_URL_OVERRIDES
{}
TEMPLATE_STRING_IF_INVALID
''
LANGUAGE_COOKIE_PATH
'/'
CELERY_TASK_DEFAULT_EXCHANGE
'default'
MIGRATION_MODULES
{}
OGC_SERVER_DEFAULT_PASSWORD
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
EMAIL_SSL_CERTFILE
None
SITENAME
'my_geonode'
SOCIALACCOUNT_ADAPTER
'geonode.people.adapters.SocialAccountAdapter'
ANONYMOUS_USER_ID
'-1'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%Y-%m-%d',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%Y',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M',
'%m/%d/%y',
'%Y-%m-%d %H:%M:%S.%f %Z',
'%Y-%m-%dT%H:%M:%S.%f',
'%Y-%m-%dT%H:%M:%S%Z')
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED
True
FORCE_SCRIPT_NAME
None
EMAIL_HOST_USER
''
MAX_DOCUMENT_SIZE
2
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
page generated by the handler for this status code.
I appreciated your time and help
Kind regards
Julierme
2018-05-09 5:09 GMT-03:00 francesco bartoli <xbartolone at gmail.com>:
> Hi Julierme,
>
> which GeoServer version from GeoNode are you using?
>
> That step is no longer required for GeoServer 2.10+ if I remember well.
> Could you file an issue?
>
> Thanks,
> Francesco
>
> Il giorno mar 8 mag 2018 alle ore 21:13 Julierme Pinheiro <
> juliermeopensourcedeveloper at gmail.com> ha scritto:
>
>> Hi all,
>>
>> I am about to finish geonode installation and at this stage following the
>> tutorial in here:
>> http://docs.geonode.org/en/master/tutorials/install_and_
>> admin/geonode_install/install_geoserver_application.html
>>
>> I could not find the subdirectory "geonodeAuthProvider" in auth
>> directory. I have "default" and "geofence" subdirectories in auth directory
>> and both subdirectories have a config.xml that does not have <baseUrl>
>> http://localhost/</baseUrl>
>>
>> This configuration is found in* step 3*
>>
>> Edit /data/geoserver-data/security/auth/geonodeAuthProvider/config.xml
>> with a text editor
>>
>>
>> Also, after running
>>
>> sudo tail -F -n 300 /var/lib/tomcat8/logs/catalina.out
>>
>>
>> I got the following error in the start-up logs:
>>
>> ERROR StatusLogger Log4j2 could not find a logging implementation. Please
>> add log4j-core to the classpath. Using SimpleLogger to log to the console...
>>
>> Is there any update in step 3 and could you give me a clue on how to fix
>> the error showed in the start-up log?
>>
>>
>> Thank you for your time in advance
>>
>> Best regards
>>
>> Julierme
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180509/64316dae/attachment-0001.html>
More information about the geonode-users
mailing list