Conflicting "out of date" vs "up to date" statuses

AI-generated summary

markplindsay reported a confusing issue where their Discourse Admin screen displayed an “out of date” warning despite all items showing as “up to date” upon inspection. Additionally, the system claimed a recent update check hadn’t occurred, even though the sidekiq process appeared active in the list. Suspecting memory constraints on a Linode 2048 instance, the user upgraded to a 4096 MB plan, but the issue persisted. codinghorror suggested a reboot, which had already occurred during the resize, but the problem remained. fefrei requested a screenshot of the /sidekiq dashboard to investigate further. markplindsay provided the dashboard image, noting a high number of dead jobs (9,999) which riking flagged as abnormal. markplindsay clarified that these were historical failures from two months prior related to email jobs and were likely unrelated to the current update issue. Ultimately, markplindsay resolved the problem by manually running /var/discourse/launcher rebuild app. The user suspects a non-standard Docker installation specific to their Linode environment may be the root cause, preventing updates via the standard UI.

At the top of the Admin screen, I am told Your Discourse installation is out of date. Click here to upgrade. But when I click, each item is Up to date.

Also on the Admin screen: A check for updates has not been performed lately. Ensure sidekiq is running. However, in the Processes list, I see sidekiq 4.0.1 discourse [0 of 5 busy].

What’s going on here? I suspected that Discourse was running out of memory on my Linode 2048 because it was using swap. (Perhaps this is why sidekiq wasn’t up?) So, I just finished upgrading it to a 4096 MB instance. Now no swap is being used, but I am still unable to upgrade.

Is this something to worry about or should I just leave it be? Thanks in advance!!

(I tried to include a second screenshot, but new users can only put one image in a post, so just trust me that my Discourse install says all upgradeable items are Up to date.)

Have you tried rebooting?

Jeff, thanks for your response.

The Linode VPS rebooted when I resized it to a 4096 MB instance. I am assuming this is what you mean?

Btw I checked the admin screen again just now, thinking the situation may have corrected itself overnight due to the new extra 2 GB of RAM. However, I am still seeing the same symptoms.

Try to visit /sidekiq – do you see Sidekiq’s dashboard there? If so, can you post a screenshot?

Hi Felix, thanks a lot. Yes, I can see the dashboard. Here it is:

Note that the high number of failed jobs is from 2 months ago, when every Jobs::UserEmail failed with Jobs::HandledExceptionWrapper: Wrapped SocketError: getaddrinfo: Name or service not known. I fixed that by doing an upgrade + restart, which is good but makes me uneasy since I don’t know how I fixed it! No jobs have failed since then.

What’s with the “9,999 Dead”? Pretty sure that’s not normal…

Hi Kane, those are many failed Jobs::UserEmail from when it was messed up 2 months ago:

I do not think they are related to my current problem, but I may be wrong.

/var/discourse/launcher rebuild app successfully updated Discourse for me. I am just gonna do it that way from now on.

FWIW, I suspect I have a weird Linode-specific Docker install on my Linode instance. This may or may not be the cause of my inability to update within the Discourse UI, and some other problems.