XF 2.2 Sitemap & Job run trigger


Well-known member
The sitemap file is not created if the server based trigger is used. Only an entry in the database is created.
I don't currently expect this to be a bug but there isn't really a lot of information to go on.

For such a thing to happen we'd potentially expect the job to be stuck or server error logs to be logged. Has anything been logged relating to this?

Have you configured the server based trigger correctly? How is it configured? How often does it run? What command are you executing exactly?
The fact is that no errors are created at all.
Neither inside XF, nor in the web server logs. All clear.
The task is performed, as expected, once a minute.
php /var/www/user/data/www/site_address/cmd.php xf:run-jobs >/dev/null 2>&1
Where are you expecting the sitemap file to be generated once it has been run?

What is the output of php -v if you run it manually? Does it return the expected PHP version? We'd typically recommend executing, for example, /full/path/to/bin/php /full/path/to/www/cmd.php xf-run-jobs.

Are there any issues executing other jobs or cron entries as far as you know?

If you run the full command yourself (without the >/dev/null 2>&1) what is the output?
My garden head. Apparently, a hard working week makes itself felt... 🤯
I recently changed the forum domain name. And in the scheduler command I forgot to make changes and the map was created, but in the folder with the old copy of the forum.
I apologize for the false information. I'm so ashamed. 🤦‍♂️
Top Bottom