[GeoNode-users] GWC doesn't work on docker Geonode 2.10 master
Dejan Samardzic
dejan.samardzic at cedis.me
Fri Dec 14 07:18:10 PST 2018
Sorry Francesco,
I have send you not accurate settings. I use jdbc:postgresql://db:5432/geonode
Please see attachment,
regards,
Dejan.
On 12/14/2018 3:34 PM, francesco bartoli wrote:
At first glance this jdbc:postgresql://localhost:5432/geonode has a wrong hostname in a docker deployment. It should be jdbc:postgresql://db:5432/geonode
Il giorno ven 14 dic 2018 alle ore 15:29 Alessio Fabiani <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>> ha scritto:
Hello Dejan,
could you send to me (in private email) some of the tiled OWS GetMap requests you are seeing on the browser?
Il giorno ven 14 dic 2018 alle ore 15:14 Dejan Samardzic <dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>> ha scritto:
Dear Geonode community,
We have made docker Gonode 2.10 master branch installation on Ubuntu 18.04 by Alessio's guide:
https://docs.google.com/document/d/1S0ac9IR9IW9tUjMu7JETPLUjnfQ6P87m1PKNko8IPWY/edit
after that we have configure GeoWebCache:
1) We have configure Caching to external postgresql database:
Tile caching - Disk quota....Enable disk Quota ....Maximum tile cache size 50GiB
Disk quota check frequency:600s
Disk quota store type....External database
Target database type....PostgreSQL
JDBC data source...GeoServer managed connection pool
JDBC Driver class name.....org.postgresql.Driver
JDBC connection URL.....jdbc:postgresql://localhost:5432/geonode
User name.....geonode
Password.....****
Validation query.....select 1
2) Define path for cache
From geoserver container:
mkdir /var/cache/geoserver
chmod -R 777 geoserver
vi /usr/local/tomcat/webapps/geoserver/WEB-INF/web.xml
insert :
<context-param>
<param-name>GEOWEBCACHE_CACHE_DIR</param-name>
<param-value>/var/cache/geoserver/</param-value>
</context-param>
Now seeding of GeoWebCache is working and creating png files in /var/cache/geoserver.
But GeoWebCache is not working. When we browse new layer it doesn't create png files in /var/cache/geoserver. Also, already created png files (using Seeding of GeoWebCash) are not delivered form cache.
Please watch for yourself about layer novi_novi_r6_Ivanje_10kV_izmijenjen:
https://www.youtube.com/watch?v=SgyJw7mjXaU
regards,
Dejan Samardzic
--
Dejan Samardžić Rukovodilac Sektora za ICT / IT Manager
[X]
CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm: +382 67 220 971
tel: +382 20 408 453
email: dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>
web: www.cedis.me<http://www.cedis.me>
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
--
==
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 -------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
--
Dejan Samardžić Rukovodilac Sektora za ICT / IT Manager
[cid:part15.6DFAE616.C65E90EC at cedis.me]
CEDIS d.o.o.
Ivana Milutinovića 12, 81000 Podgorica
gsm: +382 67 220 971
tel: +382 20 408 453
email: dejan.samardzic at cedis.me<mailto:dejan.samardzic at cedis.me>
web: www.cedis.me<http://www.cedis.me>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181214/3b47ca7d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1641 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181214/3b47ca7d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disk quota.JPG
Type: image/jpeg
Size: 125181 bytes
Desc: disk quota.JPG
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181214/3b47ca7d/attachment-0001.jpe>
More information about the geonode-users
mailing list