Upgrade GeoNode to Latest Version
This simple procedure allows us to get the latest updates from the upstream
repository of GeoNode.
workon my_geonode
cd /opt/geonode
git fetch --all --prune
git pull origin 4.1.x
From https://github.com/GeoNode/geonode
* branch 4.1.x -> FETCH_HEAD
Merge made by the 'recursive' strategy.
.clabot | 3 ++-
.env | 2 +-
geonode/catalogue/metadataxsl/tests.py | 14 ++++++++++++
geonode/catalogue/metadataxsl/views.py | 24 ++++++++++++++-----
geonode/layers/models.py | 24 ++++++++++---------
geonode/layers/views.py | 14 ++++--------
geonode/people/templates/people/profile_detail.html | 2 +-
geonode/services/migrations/0046_auto_20210903_1427.py | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
geonode/services/models.py | 29 +++++++++++++++++++----
geonode/services/serviceprocessors/arcgis.py | 26 ++++++++++-----------
geonode/services/serviceprocessors/base.py | 2 +-
geonode/services/serviceprocessors/wms.py | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------
geonode/services/tasks.py | 17 ++++++++------
geonode/services/tests.py | 66 ++++++++++++++++++++++++++++++++++++++++++++--------
geonode/services/views.py | 15 ++++++------
geonode/templates/500.html | 2 +-
geonode/templates/base.html | 16 +++++++------
geonode/thumbs/tests/test_integration.py | 47 ++++++++++++++++++--------------------
geonode/thumbs/tests/test_unit.py | 2 +-
geonode/utils.py | 2 +-
requirements.txt | 2 +-
setup.cfg | 2 +-
22 files changed, 352 insertions(+), 149 deletions(-)
create mode 100644 geonode/services/migrations/0046_auto_20210903_1427.py
pip install -r requirements.txt --upgrade
pip install -e . --upgrade
git push <fork name> <branch name> <-- e.g.: git push afabiani geonode_training_4x
cd /opt/geonode-project/my_geonode/src/
./manage_prod.sh makemigrations
./manage_prod.sh migrate
./manage_prod.sh collectstatic
sudo pkill -9 -f uwsgi
sudo ps aux | grep uwsgi
sudo /etc/init.d/uwsgi restart
sudo ps aux | grep uwsgi