Skip to content

Commit 186605d

Browse files
authored
Clarify Redis post upgrade instruction
After internal discussion, the team decided it is required to point out that flushall is only applicable if Redis is used solely for ThingsBoard.
1 parent 9584784 commit 186605d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_includes/templates/redis-post-upgrade-notice.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ If you use Redis for caching, you need to flush all stored keys before starting
44
Connect to your Redis instance (or container/pod, depending on your setup) and run the command:
55

66
`redis-cli flushall`
7+
8+
Please note that this command is applicable only if you use Redis exclusively for ThingsBoard. If other applications use Redis, you need to locate the ThingsBoard database and flush only that. The default database index is 0, configurable with REDIS_DB <a style="pointer-events: all;" href="/docs/user-guide/install/config/">ThingsBoard environment value</a>.
9+
10+
`redis-cli`
11+
12+
`select 0`
13+
14+
`flushdb`
15+
716
{% endcapture %}
817
{% include templates/info-banner.md content=redis-notice %}
918

0 commit comments

Comments
 (0)