Skip to content

Commit 5973a1d

Browse files
committed
Remove Redis password from config.php if set (not used with unix socket)
1 parent e372e90 commit 5973a1d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

nextcloud_update.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,12 @@ do
485485
fi
486486
done
487487

488+
# Remove Redis password from config.php if set (no longer used with unix socket)
489+
if [ -n "$(nextcloud_occ_no_check config:system:get redis password 2>/dev/null)" ]
490+
then
491+
nextcloud_occ config:system:delete redis password
492+
fi
493+
488494
# Clean up no longer needed build dependencies if no PECL packages remain
489495
if pecl list 2>/dev/null | tail -n +4 | grep -qv "^no packages"
490496
then

0 commit comments

Comments
 (0)