Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Hi Team,
Trying to execute the sling sitemap schedular but its not working, I am on SP14. Through logs could see after specific interval schedular executes and prints internal query to traverse nodes but at end sitemap is not generated.
Get this.
Cannot serve request to /content/abc/en/index.sitemap.xml in org.apache.sling.sitemap.impl.SitemapServlet
All on demand configuration works fine.
Another observation on one server with SP16, sitemap.xml is not written under var/sitemaps folder though schedular configuration works fine.
Anyone recently facing these issues, do update and any next steps.
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Hello @Neha -
Could you also check for any potential errors been logged in the same duration maybe?
Vistas
Respuestas
Total de me gusta
Getting this
22.06.2023 16:11:24.166 *DEBUG* [[0:0:0:0:0:0:0:1] [1687430484163] GET /content/abc/en/index.sitemap.xml HTTP/1.1] org.apache.sling.sitemap.impl.SitemapStorage Could not copy data from resource: /var/sitemaps/content/abc/en/index/sitemap.xml
Vistas
Respuestas
Total de me gusta
Hello @NehaCMS -
Have you checked that the user or service account executing the operation has the necessary permissions to read and copy the resource ?
Vistas
Respuestas
Total de me gusta
yes sitemap-writer-service has needed permission
Vistas
Respuestas
Total de me gusta
Hi We figured out the issue as separate configuration has to be created under config.publish and deployed and then schedular is working as expected. When directly adding the schedular configuration through its not working.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas