Hi Thomas,
     If you can gather enough information to reproduce the problem and 
open a ticket, Andrea Aime gave good advice on how to proceed.

     Getting the GetCapabilities correct right away got me thinking that 
your browser might be caching something it shouldn't (especially after a 
reload). However in that case I would expect to see the old layer/store 
configuration, not an empty one.
     Clear the browser cache even before accessing the GeoServer web 
interface in the morning, using more than one browser just to make sure 
the problem is not a cached page.

     I also suggest you test if the application that consumes the actual 
WMS/WCS service is working correctly in the morning, before you do any 
reloads. Since GetCapabilities is working, I would expect the services 
to be too.

Best,
Daniel



Em 23/03/2017 11:31, Thomas escreveu:
>
> ---------- Forwarded message ----------
> From: *Thomas* <[email protected] <mailto:[email protected]>>
> Date: 2017-03-23 15:21 GMT+01:00
> Subject: Re: [Geoserver-users] Geoserver reload issue
> To: Daniel Araujo Miranda <[email protected] 
> <mailto:[email protected]>>
>
>
> Hello and thanks for your quick reply.
>
> There is no time to wait, my script usually run at night and i figure 
> out it doesn't work hours later and it will not work until i reload 
> it. The change are visible right away in the GetCapabilities.
>
> Yes i've tried to restart tomcat instead of reloading geoserver and 
> the problem still there randomly.
>
> Thomas
>
> 2017-03-22 19:49 GMT+01:00 Daniel Araujo Miranda 
> <[email protected] <mailto:[email protected]>>:
>
>     Hi Thomas, I have a few thoughts, but to narrow down the
>     possibilites I have a bunch of questions:
>
>     How long does it take for you to be able to see the changes? Is it
>     a constant time or it depends on the number of reloads? If you
>     wait 10 minutes, for example, do you still have to reload multiple
>     times?
>
>     Are the changes visible on a GetCapabilities request right away or
>     that too takes some time?
>
>     Have you tried restarting tomcat after the REST API calls? If you
>     did, did the raster files show right away or you still had to
>     reload the web interface multiple times?
>
>
>     Best,
>
>     Daniel
>
>
>     Em 22/03/2017 11:07, Thomas escreveu:
>
>         Hello,
>
>         i've got a strange issue that i can't figure out by myself :
>
>         I've got a geoserver instance feed with netcdf raster files
>         (one for current and one for waves). Those netcdf files are
>         push daily to geoserver with some scripts by REST api. This
>         script purge existing storage/layer/layer group/etc... then
>         recreate it with new data then reload geoserver.
>
>         Randomly and without any error in logs, when it reload via
>         REST api the current netcdf become unavailable to see. It is
>         created and enable in geoserver storage, layers and group also
>         but when going to layer preview there is nothing.
>
>         To fix this i have to reload multiple time (sometimes one or
>         two, sometimes five or six) geoserver via web GUI then it
>         works again.
>
>         I've tried multiple geoserver version (from 2.9.4 to 2.10.2)
>         without change, my current version is 2.9.4. I tried different
>         Linux OS (ubuntu 16.04, centos 7), different machines and
>         every time the same issue.
>
>         Does anyone got an idea ?
>
>         Regards
>
>
>         
> ------------------------------------------------------------------------------
>         Check out the vibrant tech community on one of the world's most
>         engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>         _______________________________________________
>         Geoserver-users mailing list
>         [email protected]
>         <mailto:[email protected]>
>         https://lists.sourceforge.net/lists/listinfo/geoserver-users
>         <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to