Hi, thank you very much for the suggestion! Unfortunately I was not able to get the layer group working by deleting the layer group and layers and re-adding them. There also wasn't any errors in the log. On verbose logging, the log was full of DEBUG-messages: [geoserver.ows] - Could not find a layer group named web, but I'm not sure how useful this is.
Inspired by your experience, I tried creating a new workspace, new store, published a couple of layers, and created a layer group inside the workspace. I then gave everyone read access to the workspace, individual layers and layer group separately. This worked, and the new layer group showed up in the Capabilities document for unauthenticated users! However, I have not been able to replicate the results. I tried creating new layer groups following the same steps as closely as possible but they are not showing up. It remains a mystery to me why only this one layer group is shown in the capabilities document, but others are not. -Mikael On Thu, 4 Apr 2019 at 19:19, Olyster <[email protected]> wrote: > Hi, > > I had the same problem. Turns out that one of the layer in the layers group > was causing the error. > > We had this message in the log (verbose) : > > "Error writing metadata; skipping layer: LAYERNAME" > > Verify if you have this message in the log. > > Try creating another group, add one layer and check if the group appears in > the GetCapabilities. Repeat for all layers you want in the group. > > When you find layers that are causing the problem, recreate them manually > then add them to the group. > > Hope this helps > > > > > > -- > Sent from: > http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
