[GeoNode-devel] Geonode Thumbnails Error

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Tue May 22 14:52:45 PDT 2018


Hi Ton Schonbuchner,

I am not sure if I understand your question, but this was the only change I
made in global.xml

<proxyBaseUrl>http://localhost/geoserver</proxyBaseUrl> and I still
having problems with the thumbnails (http//:localhost:8000

Thank you for your time

Best regards

Julierme






2018-05-22 18:31 GMT-03:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>:

> Hi Julierme,
>
> okay do no thumbnails resolve or only the one you saved before
> change global settings? (You can ignore the id. )
>
> Cheers,
> Toni
>
>
> -----------------------------------------------
> CSGIS
>
> -----------------------------------------------
> Kolonnadenstraße 1
> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> 04109 Leipzig
> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> -----------------------------------------------
> Mobil +49/ (0) 176 6680 3198
> Tel  +49/ (0) 341 24 04 738
> Fax  +49/ (0) 341 24 04 73
> Web http://csgis.de
> -----------------------------------------------
>
> Hinweis gemäß § 33 BDSG
> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
> ausschließlich für den
> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
> diese E-Mail versehentlich
> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
> löschen Sie diese Nachricht
> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
> Vervielfältigung, Veränderung,
> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>
> Am 22.05.2018 um 23:23 schrieb Julierme Pinheiro <
> juliermeopensourcedeveloper at gmail.com>:
>
> Hi Ton Schonbuchner,
>
> Thank you very much for your reply. I checked /data/geoserver-data/global.
> xml
>
>  <proxyBaseUrl>http://localhost/geoserver</proxyBaseUrl>
>
> I had changed the port before. Now, I do not know if the id can cause any problem, it is the only one that has 8000. And I am not sure if it is related to port configuration.
>
> <id>SettingsInfoImpl-2edad420:155c534d13f:-8000</id>
>
> Thank you for your time.
>
> I appreciated it
>
> Kind regards
>
> Julierme
>
>
>
>
> 2018-05-22 17:38 GMT-03:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>
> :
>
>> Hi Julierme,
>>
>> I think this is taken from geoserver. Check global settings -> proxy base
>> URL.
>> It has the port 8000, right?
>>
>> Cheers,
>>
>> Toni
>>
>> -----------------------------------------------
>> CSGIS
>>
>> -----------------------------------------------
>> Kolonnadenstraße 1
>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>> 04109 Leipzig
>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>> -----------------------------------------------
>> Mobil +49/ (0) 176 6680 3198
>> Tel  +49/ (0) 341 24 04 738
>> Fax  +49/ (0) 341 24 04 73
>> Web http://csgis.de
>> -----------------------------------------------
>>
>> Hinweis gemäß § 33 BDSG
>> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
>> ausschließlich für den
>> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
>> diese E-Mail versehentlich
>> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
>> löschen Sie diese Nachricht
>> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
>> Vervielfältigung, Veränderung,
>> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>>
>>
>> Message: 1
>> Date: Tue, 22 May 2018 15:51:13 -0300
>> From: Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com>
>> To: geonode-users <geonode-users at lists.osgeo.org>,  geonode-devel
>> <geonode-devel at lists.osgeo.org>
>> Subject: [GeoNode-devel] Geonode Thumbnails Error
>> Message-ID:
>> <CAKTKyJJkCsmLZQQ-jLgSJaaMv+T0kOTFC0Z11--Nvj2WwKHHpQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>>
>> Hi Geonode Developers,
>>
>> I have installed Geonode 2.8 following this tutorial
>> http://docs.geonode.org/en/master/tutorials/install_and_admi
>> n/geonode_install/index.html.
>>
>>
>> After installing, I checked many times the local_settings.py/settings.py
>> and apache2 directories permissions and I could not find any
>> misconfiguration based on the tutorial, but I am facing a problem:
>>
>> Geonode is running in http://localhost and geoserver in
>> http://localhost/geoserver and http://localhost:8080/geoserver, but the
>> thumbnails are created using port 8000 as in here:
>>
>> http://localhost:8000/uploaded/thumbs/layer-54f14a4c-5dd6-
>> 11e8-840e-0800277e2fd3-thumb.png
>>
>> This way, I am unable to see the layers thumbnails, but if I change the
>> URL
>> to
>>
>> http://localhost/uploaded/thumbs/layer-54f14a4c-5dd6-11e8-
>> 840e-0800277e2fd3-thumb.png
>>
>> everything works fine.
>>
>> This is my thumbnails config in settings.py:
>>
>> # Choose thumbnail generator -- this is the default generator
>> THUMBNAIL_GENERATOR = "geonode.layers.utils.create_gs_thumbnail_geonode"
>>
>> I checked the settings.py and local_settings.py looking for port 8000 in
>> any line, and I could not find it.
>>
>> Could anyone help me to figure out why this is happening?
>>
>> Thank you for your time and support in advance.
>>
>> Kind regards
>>
>> Julierme
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/
>> 20180522/5a0a8ae9/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 22 May 2018 20:58:56 +0200
>> From: Simone Dalmasso <simone.dalmasso at gmail.com>
>> To: Dimitris Kar <dkarakostis at gmail.com>
>> Cc: geonode-devel at lists.osgeo.org
>> Subject: Re: [GeoNode-devel] Unable to install correctly geonode2.8 in
>> remote VM (Toni Schönbuchner)
>> Message-ID:
>> <CAAHAC+caQfJ8UpFUruEgHvzfAKzXhsCNV4sbweuCiK35WPa+gQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hm do you have debug set to true? This could be one reason but also looks
>> like the Apache rules for the static folders aren’t correctly set as well.
>> Check also that one. Django is trying to deal with your css rather than
>> Apache but in production it shouldn’t be.
>>
>> Il giorno mar 22 mag 2018 alle 18:17 Dimitris Kar <dkarakostis at gmail.com>
>> ha scritto:
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180522/2956ab70/attachment-0001.html>


More information about the geonode-devel mailing list