RSS Feed/News Auto flush cache on upgrades through ACP

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,477
Points
823

Reputation:

Every time i upgrade, I get the 'site is currently being upgraded' 'error' string after the upgrade completes. It's due to the inprocess file/var getting in the cache and not clearing out.

it's an easy fix,
redis-cli flushall

and we're back up but that means it's not a one-click install and sometimes i forget that i need to do it.

Suggestion-- At the end of upgrade, if so configured (config.php cache = on), run the flush command on at least that var (or all would be fine for me)

Continue reading...
 
Status
Not open for further replies.
Top