[GeoNode-devel] Problems restoring Geonode Data

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Feb 19 07:13:07 PST 2016


Hi Rodrigo,
if you have admin rights to GeoNode, go to the GeoServer administration
page, click on " Settings > Global " and select "VERBOSE_LOGGING" profile.

Save and try to make a query again.

Go back to the GeoServer administration page, click on " GeoServer logs "
and try to catch the Exception Stacktrace. You can also download the file,
compress it and send here in order to take a look.


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 Fri, Feb 19, 2016 at 4:05 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> There must be something missing the datastore definition. Any error in the
> geoserver datastore admin panel?
>
> 2016-02-19 2:04 GMT+01:00 Rodrigo Esquivel <rodrigo.esquivel at gmail.com>:
>
>> Hi Simone, thanks for the advice now the system can download csv files
>> without any problem but still can not display the layer,  Tried to download
>> a kml file or jpg and I have a "not properly configured datastore" error( I
>> think that they are related errors).  Any other place that I have to look
>> at?
>>
>> Best Regards and thanks for your time,
>>
>>
>>
>> Rodrigo
>>
>> On Wed, Feb 17, 2016 at 7:49 AM, Rodrigo Esquivel <
>> rodrigo.esquivel at gmail.com> wrote:
>>
>>> Thanks for your help Simone, I will start from scratch applying what you
>>> wrote me and I will let you know of anything else.
>>>
>>>
>>> Rgds
>>>
>>>
>>>
>>> Rodrigo Esquivel
>>>
>>> On Mon, Feb 15, 2016 at 2:10 AM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> in the geoseerver admin, put the correct credentials in the definition
>>>> of the store that geoserver is using to connect to postgres. This happens
>>>> if the postgres password has been changed during the restore.
>>>>
>>>> 2016-02-14 22:50 GMT+01:00 Rodrigo Esquivel <rodrigo.esquivel at gmail.com
>>>> >:
>>>>
>>>>> Just as an update of this issue. I tried to use the geonode database
>>>>> user password generated in the server where the backups are generated in
>>>>> the  server I use as a test but then the application crashes, I checked in
>>>>> the error log of the apache and says "authentication failed".    Rgds
>>>>>  Rodrigo
>>>>>
>>>>> On Sun, Feb 14, 2016 at 4:20 PM, Rodrigo Esquivel <
>>>>> rodrigo.esquivel at gmail.com> wrote:
>>>>>
>>>>>> Thanks Simone, I appreciate your patience and time spent with me. The
>>>>>> thumbs are appearing but now I do not have the layer itself in the map( see
>>>>>> attached file), touching here and there also noticed that when I try to
>>>>>> download the layer I have an authentication error. I suspect that they are
>>>>>> both sides of the same problem. What do you recommend to check?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Best Regards from Panama,
>>>>>>
>>>>>>
>>>>>> Rodrigo Esquivel
>>>>>>
>>>>>> On Sun, Feb 14, 2016 at 2:32 AM, Simone Dalmasso <
>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>
>>>>>>> the thumbnails are saved in /var /www/geonode. if you restore that
>>>>>>> one you'll get them back.
>>>>>>>
>>>>>>> hope it helps
>>>>>>>
>>>>>>> 2016-02-14 5:48 GMT+01:00 Rodrigo Esquivel <
>>>>>>> rodrigo.esquivel at gmail.com>:
>>>>>>>
>>>>>>>> Good night  .. thanks for the advice it seems that somehow the
>>>>>>>> first dump I generated  was corrupted.  I generated a new one, restored it
>>>>>>>> and I didn't have any problem accessing the application.   However even
>>>>>>>> though I have access to the layers,  the preview is not appearing( see
>>>>>>>> troubleshootingrestore.png)  Looking in older  mails I thought that the
>>>>>>>> problem could be in the web.xml or in the local_settings.py, but both
>>>>>>>> seemed normal to me so I suspect that besides the subdirectories
>>>>>>>> /usr/share/geoserver/data and /var/lib/geoserver  I have to take in account
>>>>>>>> another one.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks for your Time,
>>>>>>>>
>>>>>>>>
>>>>>>>> Rodrigo Esquivel
>>>>>>>>
>>>>>>>> On Sat, Feb 13, 2016 at 2:45 AM, Simone Dalmasso <
>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> the error tells that either your db is not configured with postgis
>>>>>>>>> (but if you have restored then it should be) of you have to add
>>>>>>>>> POSTGIS_VERSION=(2,1,0) to your settings.
>>>>>>>>>
>>>>>>>>> 2016-02-13 4:38 GMT+01:00 Rodrigo Esquivel <
>>>>>>>>> rodrigo.esquivel at gmail.com>:
>>>>>>>>>
>>>>>>>>>> Hello All, I  am making some  backup and restore tests.  I
>>>>>>>>>> followed all the information I found in the net:  Backup of the Database
>>>>>>>>>> and the files  in the directories /usr/share/geoserver/data  and
>>>>>>>>>> /var/lib/geoserver/geonode-data.  After I restore the Data Base backup and
>>>>>>>>>> the sub-directories  I have an error 500 when I try to run the application.
>>>>>>>>>>   The Apache's log is telling me that there is some file that do not have
>>>>>>>>>> permission to be accessed( I am attaching the file)  I am using   Geonode R
>>>>>>>>>> 2.09 and Ubuntu 12.04. Does anyone could tell me  if there is any thing
>>>>>>>>>> else I need to do?   Thanks in advance for your time.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Rodrigo Esquivel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> geonode-devel mailing list
>>>>>>>>>> geonode-devel at lists.osgeo.org
>>>>>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Simone
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> geonode-devel mailing list
>>>>>>>> geonode-devel at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Simone
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>
>
>
> --
> Simone
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160219/855f7cba/attachment-0001.html>


More information about the geonode-devel mailing list