cancel
Showing results for 
Search instead for 
Did you mean: 

trouble generating google sitemap in schedule

SOLVED

trouble generating google sitemap in schedule

Our site map has not been updated since November 13th despite having the schedule enabled for generating a sitemap every day at around 2:00 AM. We’re currently using Magento2 ver 2.3.1. I’d like to hear about any possible solutions to this issue.

 

https://www.shoebacca.com/robots.txt/ 

https://www.shoebacca.com/media/sitemap/sitemap.xml 

https://www.screencast.com/t/jTE0011kC8 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: trouble generating google sitemap in schedule

@hayden_rahnAssuming If you are on Magento Cloud, have you followed the steps to setup the sitemap as outlined in the DevDocs - https://devdocs.magento.com/cloud/trouble/robots-sitemap.html

 

If you are not on Magento clound than Alternatively, 

  1. Can you confirm that your cron is running as expected on the server successfully every day? Please check the cron log on the server
  2. There are a few free extension available in Marketplace can help to outline all the scheduled crons in Admin and present the status if the cron executed successfully or not, you can think of installing one of the extension.
  3. Check the Magento logs ([Magento Root]/var/log/) if there are any error that you can identify occurring around the same time of cron schedule
  4. If cron is running successfully than it could be permissions on the media directory 
  5. Refer devdocs if you have configured the sitemap as recommended - https://docs.magento.com/m2/ee/user_guide/marketing/sitemap-xml.html
  6. There are fixes released in the newer version of Magento related to Sitemap - https://devdocs.magento.com/guides/v2.3/release-notes/ReleaseNotes2.3.2OpenSource.html#sitemap
    https://github.com/magento/magento2/issues/14857
    https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-open-source.html#sitemap

I hope above tips may help, please share if any of the above helped or how did you fixed the issue.

All the best!

View solution in original post

2 REPLIES 2

Re: trouble generating google sitemap in schedule

@hayden_rahnAssuming If you are on Magento Cloud, have you followed the steps to setup the sitemap as outlined in the DevDocs - https://devdocs.magento.com/cloud/trouble/robots-sitemap.html

 

If you are not on Magento clound than Alternatively, 

  1. Can you confirm that your cron is running as expected on the server successfully every day? Please check the cron log on the server
  2. There are a few free extension available in Marketplace can help to outline all the scheduled crons in Admin and present the status if the cron executed successfully or not, you can think of installing one of the extension.
  3. Check the Magento logs ([Magento Root]/var/log/) if there are any error that you can identify occurring around the same time of cron schedule
  4. If cron is running successfully than it could be permissions on the media directory 
  5. Refer devdocs if you have configured the sitemap as recommended - https://docs.magento.com/m2/ee/user_guide/marketing/sitemap-xml.html
  6. There are fixes released in the newer version of Magento related to Sitemap - https://devdocs.magento.com/guides/v2.3/release-notes/ReleaseNotes2.3.2OpenSource.html#sitemap
    https://github.com/magento/magento2/issues/14857
    https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-open-source.html#sitemap

I hope above tips may help, please share if any of the above helped or how did you fixed the issue.

All the best!

Re: trouble generating google sitemap in schedule

Hello @hayden_rahn 

 

Can you please check into cron_schedule table for that and check is any entry with sitemap_generate ? and are you working on cloud project and you are using magemojo cron schdule module then disable it and check it

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer