Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2.0.7 XML sitemap is not generated by schedule #5768

Closed
dexterityzx opened this issue Jul 22, 2016 · 7 comments
Closed

Magento 2.0.7 XML sitemap is not generated by schedule #5768

dexterityzx opened this issue Jul 22, 2016 · 7 comments
Labels
bug report Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@dexterityzx
Copy link

dexterityzx commented Jul 22, 2016

Preconditions

  1. Magento 2.0.7
  2. Cron job is working. I've checked the cron_schedule table, but nothing like "sitemap" is in the table.

Steps to reproduce

  1. go to admin>store>configurtion>catalog>xml sitemap
  2. turn on generation and set up time.

Expected result

  1. generate sitemap in magento root folder.

Actual result

no xml sitemap is found. Below is my settings.

  1. Cron settings:
*/1 * * * * php /var/www/magento-demo1/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento-demo1/var/log/magento.cron.log&
*/1 * * * * php /var/www/magento-demo1/update/cron.php >> /var/www/magento-demo1/var/log/update.cron.log&
*/1 * * * * php /var/www/magento-demo1/bin/magento setup:cron:run >> /var/www/magento-demo1/var/log/setup.cron.log&
  1. Log: magento.cron.log and setup.cron.log are empty, and the update.cron.log shows Cron readiness check failed
  2. cron_schedule table:
    capture
@dexterityzx dexterityzx changed the title Magento 2.0.7 Sitemap is not generated by schedule Magento 2.0.7 XML sitemap is not generated by schedule Jul 22, 2016
@vkorotun vkorotun added the SEO label Aug 23, 2016
@magento-engcom-team magento-engcom-team added bug report Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed SEO labels Sep 11, 2017
@magento-engcom-team
Copy link
Contributor

@dexterityzx, thank you for your report.
We've created internal ticket(s) MAGETWO-80284 to track progress on the issue.

@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Sep 28, 2017
@mrodespin
Copy link
Contributor

Can anyone assign me this ticket?

@maksek
Copy link
Contributor

maksek commented Oct 17, 2017

@mrodespin assigned.

@jameshalsall
Copy link

@dexterityzx if you configure a sitemap generation time in Stores > Configuration > Catalog > XML Sitemap > Generation Settings, and then install https://github.com/netz98/n98-magerun2 and run

n98-magerun2.phar sys:cron:list

do you see a sitemap_generate job for the correct time?

@magento-engcom-team
Copy link
Contributor

Hi @dexterityzx. Thank you for your report.
The issue has been fixed in #14822 by @jameshalsall in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.5 release.

@VladimirZaets
Copy link
Contributor

Hi @dexterityzx. Thank you for your report.
The issue has been fixed in #14908 by @rostyslav-hymon in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

@VladimirZaets VladimirZaets added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label May 4, 2018
@magento-engcom-team
Copy link
Contributor

Hi @dexterityzx. Thank you for your report.
The issue has been fixed in #15159 by @rogyar in 2.1-develop branch
Related commit(s):

The fix will be available with the upcoming 2.1.15 release.

@magento-engcom-team magento-engcom-team added the Fixed in 2.1.x The issue has been fixed in 2.1 release line label May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

9 participants