[GeoNode-devel] Thumbnails and legend icons not being loaded and download link not working
Toni Schönbuchner
toni.schoenbuchner at csgis.de
Sun Dec 30 10:56:03 PST 2018
Great to hear Ramiz ;)
I´m posting to list again in case somebody else is facing something similar.
Have a very happy new year,
– Toni
> Am 30.12.2018 um 19:28 schrieb Ramiz Sami <ramizsami95 at gmail.com>:
>
> Dear Toni,
>
> https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L42 <https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L42> ends with a slash and changing the folder permissions for thumbs folder in uploaded folder saved the day. Thanks a lot for your help. I am really grateful.
>
> Best regards,
> Syes Ramiz Sami
>
> On Sun, Dec 30, 2018 at 11:22 PM Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
> Hey Ramiz,
>
> regarding:
>> https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48 <https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48>
> can you check that
> https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L42 <https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L42>
> ends with a slash?
>
> The Url from your thumbs means more or less the image could not be safed.
> can you please check that your uploaded folder has permissions for www-data
> I would try to give thumbs folder chmod 777 as well.
>
> does this help?
>
> Cheers,
>
> toni
>
>
>> Am 30.12.2018 um 17:08 schrieb Ramiz Sami <ramizsami95 at gmail.com <mailto:ramizsami95 at gmail.com>>:
>>
>> Dear Toni,
>>
>> Thanks for your help. I tried updating IP but unfortunately, thumbnails didn't work. I removed the comments from https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48 <https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48> and it is working. Thumbnails have links like: http://ec2-13-229-139-226.ap-southeast-1.compute.amazonaws.com:8080/geoserver/ows?layers=geonode:Veterans_Health_Administration_Medical_Facilities&version=1.1.1&request=GetMap&service=WMS&format=image/png8 <http://ec2-13-229-139-226.ap-southeast-1.compute.amazonaws.com:8080/geoserver/ows?layers=geonode:Veterans_Health_Administration_Medical_Facilities&version=1.1.1&request=GetMap&service=WMS&format=image/png8> saved.
>>
>> Best regards,
>> Syed Ramiz Sami
>>
>> On Sun, Dec 30, 2018 at 5:16 PM Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
>> Hey Ramiz,
>>
>> I do not think the missing tiles are the culprint. More likely it´s the geoserver printing plugin
>> which is not configured correcrtly. Some mails before I´ve sent a documentation how to
>> use geonode updateip. Can you enable it and set your ec2 domain liike
>>
>> sudo geonode-updateip -p yourpublicaddress ec2-13-229-139-226.ap-southeast-1.compute.amazonaws.com <http://ec2-13-229-139-226.ap-southeast-1.compute.amazonaws.com/>
>>
>> And please remove your comments again from:
>> https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48 <https://github.com/GeoNode/geonode/blob/2.8.x/geonode/local_settings.py.geoserver.sample#L48>
>> The moment geonode uses the correct url everywhere it should work :)
>>
>> Let me know if it helps.
>>
>> Cheers,
>>
>> Toni
>>
>>> Am 30.12.2018 um 12:53 schrieb Ramiz Sami <ramizsami95 at gmail.com <mailto:ramizsami95 at gmail.com>>:
>>>
>>> <image.png>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20181230/682ab84a/attachment.html>
More information about the geonode-devel
mailing list