惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
B
Blog
小众软件
小众软件
T
Tailwind CSS Blog
MyScale Blog
MyScale Blog
I
InfoQ
Engineering at Meta
Engineering at Meta
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
H
Help Net Security
雷峰网
雷峰网
S
SegmentFault 最新的问题
V
Visual Studio Blog
爱范儿
爱范儿

Discourse Meta - Latest posts

Horizon: High Context Topic Cards I'd like to ask what this file /var/www/discourse/vendor/data/RT_sRGB.icm is used for? Discourse to Markdown Plugin Testing reply function How to verify a subdomain (mysite.discourse.group) in Google Search Console? Reader Mode Publishing WordPress gallery posts on Discourse Discourse User Feedback New user filter by custom field and contact Interact with discourse from Python? Why we can't type the assignee in the search of a post to assign - home screen app Category-toggled one-touch move post Some sort of variable to eliminate duplicate text? Why did this plugin replacement fail? Add user to list modal often appears above the mobile viewport sceen Creating/Editing a post on mobile: let's discuss the 2026 Discourse experience Wp-discourse feature request - do not show comments with specific tag? Are there any good Chinese plugins? Discourse ID and 2FA Discourse MCP is here! Sample Forum to See Admin Features? I am unable to register for a free Discourse site Wikipedia Lookup Add text for /login (like js.create_account.disclaimer for /signup) How can i set disable Markdown & Default to Rich Text What's the background image size for the Welcome Banner? How do I enable Associated Accounts with 2FA? Hamburger toggle Support <span data-attribute> in the rich editor Cannot disable read-only mode on Free Plan
Redis Flushall
@Ethsim2 Eth · 2026-04-19 · via Discourse Meta - Latest posts

April 18, 2026, 12:27am 1

Sharing in case this helps anyone else that sees “Updating” in the admin panel although no update is actually in progress and the forum appears otherwise healthy.

While it never impacted docker manager updates, the past few versions I’ve had to do CLI updates as the admin panel always seemed to indicate discourse was updating.

My forum is small, no custom plugins.

The resolution to clear the issue was to flush the redis cache.

While I cannot share the underlying cause, it was super frustrating to hit a limit of my knowledge and understanding of the discourse update process (this is not a complaint, its an admission).

To this point, rebuild app had always been the reliable fix for pretty much any issue.

RGJ (Richard - Communiteq) April 18, 2026, 4:45am 2

Redis also contains user sessions and much more. Flushing Redis completely will log everyone out and delete all pending Sidekiq jobs. Scheduled jobs will only come back after the next restart.

This should only be a last resort and even then I encourage you to see which specific keys are the culprit instead of doing a flushall. This is like setting an entire building on fire because you want to get rid of a mouse.

Ed_S (Ed S) April 18, 2026, 7:15am 3

Could Redis be restarted instead? I think (Edit: wrong! see below) it’s an in-memory database so nothing would persist over, say, a server reboot. And a server reboot isn’t destructive (and could happen at any time.)

RGJ (Richard - Communiteq) April 18, 2026, 7:39am 4

That is incorrect. Redis does persist to disk.

fuse (Geoff Hughes) April 18, 2026, 11:35am 5

I appreciate your insight and expertise.

Things I tried:

Update from admin panel (failed/never started)

Followed the manual updating discourse steps (over the past 3 releases)

Did several launcher app rebuilds.

Searched the forum for a similar issue and solution

Finally resorted to a chatgpt query which uncovered redis options even though chatgpt itself said an unlikely fix (and suggested the things I had already tried).

This was the one action I took that resolved the issue.

I understand the analogy.

What else could I have done to better understand and resolve the problem as an alternative?

Ed_S (Ed S) April 18, 2026, 3:26pm 6

To be clear, you found

cd /var/discourse
git pull
./launcher rebuild app

did not work for you? (In what way did it not work? Is this a standard install?)

fuse (Geoff Hughes) April 18, 2026, 4:55pm 7

Did not do the git pull, did do the launcher rebuild app.

That process worked fine, just never cleared that the admin panel believed an update was in progress.

Ed_S (Ed S) April 18, 2026, 5:17pm 8

Thanks - so the observation is that the admin panel update isn’t working for you. Also, it hasn’t been working for me for a while! It would be better if it did work.

Lilly

April 18, 2026, 8:42pm 9

i prefer the command line updating, but i just did a docker and discourse update from the UI on my iphone 15 and it worked quite well this time (standard install on DO).

IMG5141

IMG5142

i usually do it all from CLI on one of my computers, since it failed for me in UI last time i tried (a few months ago, so i had to ssh in anyways).

Ethsim2 (Ethan ) April 19, 2026, 6:46am 10

what deos free -h return?

what is UNICORN_WORKERS set to in app.yml?

what is db_shared_buffers set to in app.yml?

is db_work_mem commented out in app.yml?

how many (v)CPU’s deos your server have?