Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Buttercup Posted September 28, 2021 Posted September 28, 2021 (edited) Hi everyone Something is confusing me, My forum statistics can take 10 hours to update or catch up. the cache is set at 1 minute so I have no idea why this is happening. Can anyone help please? it has been stuck on 10.711 posts since early this morning UK time. Edited September 28, 2021 by Catsmother Notplus 1
Jim M Posted September 29, 2021 Posted September 29, 2021 Assuming you are seeing this as a logged in user and only impacted by the block/sidebar cache, there is a task which updates statistics like this. As you're using Traffic to run background tasks, it could be this isn't updating super quickly but is eventually when the task is ran again. Additionally on top of this, you're using a plugin to reformat numbers. A good way to test this would be to do the following: Disable all third party applications/plugins/ Make a post. Navigate your site for a good 10 minutes. Did that resolve your concern? If so, re-enable applications/plugins and try again. If it's back, it's a third party application/plugin which is related. If it's not, then you may wish to switch to CRON for running background tasks (ACP -> System -> Advanced Configuration) if you have high expectations of these statistics every ~5 minutes as they are programmed to. Notplus and Buttercup 1 1
boro_boy Posted October 2, 2021 Posted October 2, 2021 Hello, I'm helping @Catsmother with this. Each themes statistics widget is saying different things. If I click on the arrow on the left to get into the widgets settings then click edit on the forum statistics then save, it updates, but then it doesn't update for a good few hours. Its very strange! The sidebar is set to update every minute too. So i don't know what could stop this from updating. Notplus and Buttercup 1 1
boro_boy Posted October 2, 2021 Posted October 2, 2021 Also as soon as the cache is cleared via admin CP the stats are updated. Buttercup 1
Buttercup Posted October 2, 2021 Author Posted October 2, 2021 Thanks @boro_boy Yeah all very strange indeed. @Jim M
Jim M Posted October 2, 2021 Posted October 2, 2021 Did you perform the troubleshooting steps mentioned in my post?
Buttercup Posted October 2, 2021 Author Posted October 2, 2021 7 hours ago, Jim M said: Did you perform the troubleshooting steps mentioned in my post? yes we did.
Solution Marc Posted October 4, 2021 Solution Posted October 4, 2021 On taking a look at your system, I would advise on disabling all 3rd party items again for a while, then monitoring to see if this is still happening. You have errors from Mark 'notification read from toast' which are showing up once every few seconds there. Also, please ensure you have updated all optional patches showing in the support area. Buttercup 1
Buttercup Posted October 6, 2021 Author Posted October 6, 2021 On 10/4/2021 at 8:38 AM, Marc Stridgen said: On taking a look at your system, I would advise on disabling all 3rd party items again for a while, then monitoring to see if this is still happening. You have errors from Mark 'notification read from toast' which are showing up once every few seconds there. Also, please ensure you have updated all optional patches showing in the support area. This seems to have done the trick. the Mark notification plugin looked like was the problem. Thank you for your help.
Buttercup Posted October 7, 2021 Author Posted October 7, 2021 That was short lived @Jim M it has returned again.
Marc Posted October 7, 2021 Posted October 7, 2021 Have you checked in your system logs to see if you have any logs relating to that item again? Did you remove that plugin entirely?
Buttercup Posted October 7, 2021 Author Posted October 7, 2021 2 hours ago, Marc Stridgen said: Have you checked in your system logs to see if you have any logs relating to that item again? Did you remove that plugin entirely? Hi @Marc Stridgen yeah I have just looked and can't find anything in the system logs and I have also deleted the plugin.
Jim M Posted October 7, 2021 Posted October 7, 2021 I see that on October 3rd there was an issue writing to the datastore for quite a while. Has that fully been resolved? I also see that you're running CRON. Have you contacted your server administrator (or hosting provider) to ensure that there are no errors there and the CRON command is running once a minute?
Buttercup Posted October 7, 2021 Author Posted October 7, 2021 5 minutes ago, Jim M said: I see that on October 3rd there was an issue writing to the datastore for quite a while. Has that fully been resolved? I also see that you're running CRON. Have you contacted your server administrator (or hosting provider) to ensure that there are no errors there and the CRON command is running once a minute? How is that fixable? Yeah I had the task to run automatically and then switched it to cron thinking it would solve the issue. I will certainly ask the hosting provider.
Jim M Posted October 7, 2021 Posted October 7, 2021 6 minutes ago, Catsmother said: How is that fixable? You would need to ensure your datastore folder on your server is writable. Please ask your hosting provider if you are unsure what this is. Typically, this is 777 but if you're running suPHP or suexec this may by 755. Buttercup 1
Buttercup Posted October 7, 2021 Author Posted October 7, 2021 4 minutes ago, Jim M said: You would need to ensure your datastore folder on your server is writable. Please ask your hosting provider if you are unsure what this is. Typically, this is 777 but if you're running suPHP or suexec this may by 755. Ok thank you. I have asked my host. Jim M 1
Marc Posted October 8, 2021 Posted October 8, 2021 Another thought here, check with your host to see if you have any external caching, such as cloudflare, varnish cache etc. If so, disable those
Buttercup Posted October 9, 2021 Author Posted October 9, 2021 (edited) Ok so the host has checked everything and there are no errors, he even uploaded files to get it working. was working for 10 minutes then it's returned again. I converted from Simple machines do you think that has something to do with it? @Marc Stridgen Edited October 9, 2021 by Catsmother
Marc Posted October 10, 2021 Posted October 10, 2021 Please could you update your access details on file, and we can then take a look for you?
Buttercup Posted October 10, 2021 Author Posted October 10, 2021 11 hours ago, Marc Stridgen said: Please could you update your access details on file, and we can then take a look for you? Done.
Marc Posted October 11, 2021 Posted October 11, 2021 11 hours ago, Catsmother said: Done. Please check these as you appear to have display name set as the login details, and your site only uses email
Buttercup Posted October 11, 2021 Author Posted October 11, 2021 10 hours ago, Marc Stridgen said: Please check these as you appear to have display name set as the login details, and your site only uses email I don't know why it's like that as I haven't changed anything on my forum. I have done the email now, hopefully it's right.
Marc Posted October 12, 2021 Posted October 12, 2021 Please go to Support in your ACP first of all. At present you have tables which are not INNODB, which can lead to timeouts. Wondering if this may well be what is causing it to be out at some point and not at others.
Recommended Posts