install tisdar based GeoNode as docker composition on Ubuntu 20.04 LTS
User
sudo adduser geonode
sudo usermod -aG sudo geonode
# SOME DESCRIPTIVE TITLE. | |
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
# This file is distributed under the same license as the PACKAGE package. | |
# | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: | |
# Translators: |
Index: geonode/documents/views.py | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/geonode/documents/views.py b/geonode/documents/views.py | |
--- a/geonode/documents/views.py (revision a5a217bd49e7f91b69ace14a54cdb7219fa5d0dc) | |
+++ b/geonode/documents/views.py (revision 9e436c39e470b5a8aae6304f4a62ccbe00f4cf1c) | |
@@ -49,7 +49,8 @@ | |
from geonode.base.forms import CategoryForm, TKeywordForm |
# -*- coding: utf-8 -*- | |
######################################################################### | |
# | |
# Copyright (C) 2020 OSGeo | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
diff --git a/.env b/.env | |
index ff474f6fab48be7c5c576135b0a99b493230433f..88dd61182fac0265d15345409b3780b1d51b9762 100644 | |
--- a/.env | |
+++ b/.env | |
@@ -1,2 +1,203 @@ | |
COMPOSE_PROJECT_NAME=geonode | |
-SET_DOCKER_ENV=production | |
\ No newline at end of file | |
+BACKUPS_VOLUME_DRIVER=local | |
+ |
sudo adduser geonode
sudo usermod -aG sudo geonode
[Unit] | |
Description="GeoNode UWSGI Service" | |
[Service] | |
User=tisdex | |
Group=www-data | |
# The configuration file application.properties should be here: | |
#change this to your workspace | |
WorkingDirectory=/opt/geonode |
Index: geonode/social/signals.py | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- geonode/social/signals.py (revision 3720021380ba0d2a07c39d9fa58e4fe176a4272a) | |
+++ geonode/social/signals.py (date 1605787715394) | |
@@ -177,7 +177,7 @@ | |
""" Send a notification when rating a layer, map or document | |
""" |
diff --git a/geonode/layers/models.py b/geonode/layers/models.py | |
index 57fd4e7f8a154523f68c67328b10e9f3f5e431ad..6b66522124068bc217808ceb866abc3f034f6e3d 100644 | |
--- a/geonode/layers/models.py | |
+++ b/geonode/layers/models.py | |
@@ -534,7 +534,7 @@ def pre_save_layer(instance, sender, **kwargs): | |
logger.debug("In pre_save_layer") | |
if instance.alternate is None: | |
instance.alternate = _get_alternate_name(instance) | |
- logger.debug("instance.alternate is: {}".format(instance.alternate)) | |
+ logger.debug(u"instance.alternate is: {}".format(instance.alternate)) |
Error on printing: Error while generating PDF: java.lang.IllegalStateException: unsupported protocol: 'jar' | |
at org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protocol.java:149) | |
at org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:117) | |
at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107) | |
at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280) | |
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220) | |
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89) | |
at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:273) | |
at org.mapfish.print.PDFUtils.handleImageLoadError(PDFUtils.java:385) | |
at org.mapfish.print.PDFUtils.loadImageFromUrl(PDFUtils.java:359) |
Index: web/client/translations/data.de-DE | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- web/client/translations/data.de-DE (revision 6de82acfe6864ca948242ff11e50127aa1caa5fd) | |
+++ web/client/translations/data.de-DE (date 1581588599704) | |
@@ -12,12 +12,12 @@ | |
"about_ul0_li0": "MapViewer ist ein einfache Anwendung zur Ansicht von vorkonfigurierten Karten (die optional in einer Datenbank mittels GeoStore gespeichert wurden)", | |
"about_ul0_li1": "MapPublisher wurde entwickelt, um auf einfache und intuitive Weise Karten und Mashups zu erstellen, zu speichern und zu teilen, die auf Inhalten von bekannten Quellen wie Google Maps und OpenStreetMap oder von Diensten die auf offenen Protokollen wie OGC WMS, WFS, WMTS or TMS und so weiter basieren. Für mehr Informationen siehe die", |