[GeoNode-users] Error 500, restoring backup, GeoNode 2.4 to Geonode 2.4.1

Polo Núñez javier2001 at hotmail.com
Tue Nov 1 14:18:07 PDT 2016


Users Hello, my problem is related to an error in Tomcat 7 to update a GeoNode gis system.

Thanks for your support.
Restarting the service tomcat7 by ssh, the system does not indicate an error, but tomcat 7 does not start.


2.4 GeoNode proceeding to backup. Next restoring in GeoNode 2.4.1

steps for Backup files (GeoNode 2.4)
Stop service
sudo service apache2 stop
sudo service tomcat7 stop
sudo service postgresql stop

sudo -u postgres -i pg_dump -c -Fc geonode > geonodedb.backup

tar -cvzf geonodeConfigBackup.tgz /etc/geonode
tar -zcvf geonodeVarDataBackup.tgz /var/lib/geoserver/geonode-data/
tar -zcvf geonodeUsrDataBackup.tgz /usr/share/geoserver/data/
tar -zcvf geonodeWWWDataBackup.tgz /var/www/geonode/
tar -cvzf geonodei18nBackup.tgz /usr/local/lib/python2.7/dist-packages/geonode/locale/
tar -cvzf geonodePyDjangoBackup.tgz /usr/local/lib/python2.7/dist-packages/geonode/
tar -cvzf geonodePyDjangoEggBackup.tgz /usr/local/lib/python2.7/dist-packages/GeoNode-2.4.1.egg-info/

steps, restoring backup (GeoNode 2.4.1)

sudo service apache2 stop
sudo service tomcat7 stop
sudo service postgresql stop


sudo tar -C / -xvzf geonodeConfigBackup.tgz
sudo tar -C / -xvzf geonodei18nBackup.tgz
sudo tar -C / -xvzf geonodePyDjangoEggBackup.tgz
sudo tar -C / -xvzf geonodeVarDataBackup.tgz
sudo tar -C / -xvzf geonodePyDjangoBackup.tgz
sudo tar -C / -xvzf geonodeUsrDataBackup.tgz
sudo tar -C / -xvzf geonodeWWWDataBackup.tgz

sudo service postgresql start
sudo -u postgres -i psql -c 'drop database geonode;'
sudo -u postgres -i psql -c 'create database geonode;'
sudo -u postgres -i pg_restore -Fc -d geonode /path/to/geonodedb.backup

sudo service apache2 stop
sudo service tomcat7 stop


Did not receive errors during the restore.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161101/77f1bbc8/attachment-0001.html>


More information about the geonode-users mailing list