[GeoNode-users] Error 500, restoring backup, GeoNode 2.4 to Geonode 2.4.1
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Wed Nov 2 01:30:14 PDT 2016
Hello Polo,
the only service using Tomcat7 is GeoServer. GeoNode does not need Tomcat
at all.
Did you updated GeoServer too?
Best Regards,
Alessio Fabiani.
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
---------------------------------------------------------------------
On Tue, Nov 1, 2016 at 10:18 PM, Polo Núñez <javier2001 at hotmail.com> wrote:
> 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.
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161102/be839b34/attachment.html>
More information about the geonode-users
mailing list