[GeoNode-devel] Problems restoring Geonode Data

Simone Dalmasso simone.dalmasso at gmail.com
Fri Feb 19 07:05:19 PST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160219/ab90279c/attachment.html>


More information about the geonode-devel mailing list