[GeoNode-users] Backup problem
Ana Boljevic
ana.boljevic at cedis.me
Tue Sep 5 02:55:20 PDT 2017
Dear Alessio,
We have done everything following your instructions. I sent you in attachment both files.
We have also double checked all settings from this link: http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html#users-and-permissions
Unfortunately backup command is still asking for password for every layer.
Regards,
Ana Boljević
Direkcija za razvoj, pristup mreži i TIS
Služba za GIS i tehničku bazu podataka
Sektor za TIS
________________________________
From: Alessio Fabiani [alessio.fabiani at geo-solutions.it]
Sent: Tuesday, September 05, 2017 10:25 AM
To: Ana Boljevic
Cc: Alessio Fabiani; geonode-users at lists.osgeo.org
Subject: Re: [GeoNode-users] Backup problem
The pg_dump command works well, as far as I can see. And also the GeoServer backup is completed successfully.
However you might want to double check your default settings for the backup command on the file
geonode/geonode/base/management/commands/settings.ini
in order to avoid pg_dump asking for the password everytime, you need to change the postgres security settings for local access. Please see here
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html#users-and-permissions
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 Mon, Aug 28, 2017 at 8:10 AM, Ana Boljevic <ana.boljevic at cedis.me<mailto:ana.boljevic at cedis.me>> wrote:
Thanks for the answer.
We have installed the latest version - 2.6.2.
Things we have changed after the installation:
-defined proxy (GeoNode is behind corporate proxy server)
Changed default values of:
-Java Memory Usage (
in /etc/default/tomcat7 changed memory 2048 -> 6144 and 128 -> 512
,,JAVA_OPTS="-Djava.awt.headless=true -Xms6144m -Xmx6144m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:NewRatio=2 -XX:+AggressiveOpts -Xrs -XX:PerfDataSamplingInterval=500 -XX:MaxPermSize=512m"
)
-JVM Version
-Native JAI (set to true)
-Native JAI ImageIO (set to true)
-enabled Tile Caching
what You can see in screenshot I send as attachment.
Do You have any idea what is happening? Thanks in advance.
Regards,
Ana Boljević
________________________________
From: Alessio Fabiani [alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>]
Sent: Friday, August 25, 2017 10:02 AM
To: Ana Boljevic
Cc: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] Backup problem
Which version of GeoNode? Recently some fixes to the backup script have been pushed on latest GeoNode versions.
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<tel:0584%20962313>
fax: +39 0584 1660272<tel:0584%20166%200272>
mob: +39 331 6233686<tel:331%20623%203686>
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 Mon, Aug 21, 2017 at 8:42 AM, Ana Boljevic <ana.boljevic at cedis.me<mailto:ana.boljevic at cedis.me>> wrote:
Dear GeoNode community,
We have user installation geonode on Ubuntu 16.04 server (standard deployment, not developement). For some reason, backup from command line is not working. I have to enter password for every layer with output "pg_dump: No matching tables were found". If you give as any hint, idea or help, we would be thankful.
geonode at gis:~$ sudo geonode backup --backup-dir=/tmp
Before proceeding with the Backup, please ensure that:
1. The backend (DB or whatever) is accessible and you have rights
2. The GeoServer is up and running and reachable from this machine
You want to proceed? [n]|y: y
Dumping 'GeoServer Catalog [http://10.0.0.112/geoserver/]' into '/tmp/2017-08-21_011848<tel:011%20848>/geoserver_catalog.zip'.
STARTED - 1/9
COMPLETED - 9/9
Dumped GeoServer Uploaded Data from '/opt/gs_data_dir/data/geonode'.
Dumping GeoServer Vectorial Data : novi_DV_35_kV_NiksicTrebjesa
Password:
pg_dump: No matching tables were found
Dumping GeoServer Vectorial Data : novi_DV_35kV_Podgor_Utrg
Password:
pg_dump: No matching tables were found
Dumping GeoServer Vectorial Data : novi_novo_selo_10
Password:
Dumping GeoServer Vectorial Data : novi_DV_110_kV_Virpazar___Bar
Password:
pg_dump: No matching tables were found
Dumping GeoServer Vectorial Data : topology
Password:
Dumping GeoServer Vectorial Data : layer
Password:
[1]+ Stopped sudo geonode backup --backup-dir=/tmp
Regards,
Ana
--
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto: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/20170905/e918f36a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: settings.ini
Type: application/octet-stream
Size: 1404 bytes
Desc: settings.ini
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170905/e918f36a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pg_hba.conf
Type: application/octet-stream
Size: 4990 bytes
Desc: pg_hba.conf
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170905/e918f36a/attachment-0003.obj>
More information about the geonode-users
mailing list