Use :./nodebb stop git fetch git checkout v1.8.x git pull ./nodebb upgrade ./nodebb start
Why my website's sitemap does not update itself? In 22th April, I have 200url. Now it is still 200 url. But it should increase, I have some new threads, but the sitemap just ignore them? I click
clear sitemap cache, the url's number does not change either.
How are you getting this number? Google does not crawl the sitemap daily.
I got this from here:
From April, this URL had always been 241. Actually I have some new threads, but the new threads do not show up in the sitemap.
I am using nodebb too.
the sitemap hasn't been updated for a long time. So, is there any trigger ?
working fine here on 1.0.4
might be related to the non roman letters?
Well, your sitemap can update everyday? automatically?
huh, you made me recheck it appears it only gets updated when i restart nodebb, which i do quite frequently when playing around with customizations so I did not notice it
so yeah, this sounds like a bug, I opened an issue on github https://github.com/NodeBB/NodeBB/issues/4624
um, thanks for your bug report. I will keep an eye on it.
I will try to restart nodebb in the early morning tmr and see.
Yes, restart nodebb update it...That bug is fixed. Well, how can I update my nodebb?
It says im using the latest nodebb 1.0.3.
@sharonyue 1.0.3 is the latest stable, you could update to master or weeky but I would not recommend that in production
if you chose switch to unstable, run the following commands in your nodebb directory
./nodebb stop git fetch git checkout master git merge origin/master ./nodebb upgrade ./nodebb start
the better option in my opinion for this specific case is patching it in manually by editing the file yourself until this fix has been pushed with the next release
to do that edit this file
yournodebbdirectory/src/sitemap.js and replace the content with this
Thanks very much. I will update it manually.