[GeoNode-users] can't upload vector layers, but rasters okay
Charles Cossé
ccosse at gmail.com
Thu Aug 20 12:14:25 PDT 2015
I just got it fixed ... I was looking at the "datastores" page in Geoserver
admin and under the "type" column all of my Geotiffs had green checkmarks
and my sole surviving vector layer had an orange "alert" icon. I changed
the password in the "Edit Vector Data Source" page of Geoserver admin and
voila. Thanks for the help and TIA for next time!
-Charles
On Thu, Aug 20, 2015 at 2:45 PM, Charles Cossé <ccosse at gmail.com> wrote:
> Hi Simone,
>
> I've just gone through everywhere carefully and no luck. I used the same
> password for everything in the following files (if applicable):
>
> - /etc/geonode/local_settings.py
> - /usr/local/lib/python2.7/dist-packages/geonode/local_settings.py
> - /usr/local/lib/python2.7/dist-packages/geonode/settings.py
> - /var/www/my_geonode/my_geonode/settings.py
>
> Also same password through Django-Admin and Geoserver-Admin, both.
> Restarted services and same result, which is Raster uploads work and vector
> layers don't work. Everything used to work fine, though.
> This is the error reported through the UploadLayersGUI, in a tan-colored
> container div:
> An exception occurred loading data to PostGIS- java.io.IOException
>
> Thanks for any more ideas,
> Charles
>
> On Thu, Aug 20, 2015 at 10:25 AM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi Charles, did you change the geoserver admin login here?
>> https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L498,
>> if yes make sure you also updated them in geoserver, you can use the
>> geoserver web interface.
>>
>> 2015-08-20 16:09 GMT+02:00 Charles Cossé <ccosse at gmail.com>:
>>
>>> Hello GeoNode Team,
>>>
>>> Recently my geonode instance has developed a problem whereby I can
>>> upload/view raster layers but not vector layers. Here are select lines
>>> from catalina.out when the upload of a vector layer fails:
>>>
>>> -----------8<---------
>>> 20 Aug 06:34:58 ERROR [geoserver.rest] - No such datastore:
>>> geonode,mainrivers_1
>>> ...
>>> 20 Aug 06:34:58 ERROR [geoserver.rest] - No such wms store:
>>> geonode,mainrivers_1
>>> ...
>>> Caused by: java.lang.RuntimeException: Unable to obtain connection:
>>> Cannot create PoolableConnectionFactory (FATAL: password authentication
>>> failed for user "geonode")
>>> -----------8<---------
>>>
>>> I have triple-checked the geonode password everywhere
>>> (local_settings.py, manage-shell, setting psql) and restarted services many
>>> times but the problem persists. I can login using dbshell with my geonode
>>> password, so I think that it's set correctly. If the problem really was
>>> the geonode db's password then I would expect raster layer operations to
>>> fail as well, but they work fine ... so I'm appealing for help before doing
>>> anything drastic.
>>>
>>> Thank you,
>>> Charles Cossé
>>>
>>> Protected Areas Commission &
>>> Geospatial Information Management Unit
>>> Georgetown, Guyana
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150820/e9c8fc6b/attachment.html>
More information about the geonode-users
mailing list