occ_file_scan_all_accounts.sh: add 'occ maintenance:repair' to script.
This commit is contained in:
parent
f537044901
commit
e64364b0b4
@ -351,6 +351,17 @@ if $terminal ; then
|
||||
echo ""
|
||||
fi
|
||||
|
||||
echononl " Running 'occ maintenance:repair'.."
|
||||
su -c "$PHP_BIN ${INSTALL_DIR}/occ maintenance:repair" -s /bin/bash $HTTP_USER > $log_file 2>&1
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo_ok
|
||||
else
|
||||
echo_failed
|
||||
error "$(cat "$log_file")"
|
||||
fi
|
||||
|
||||
blank_line
|
||||
|
||||
for _user in $(ls ${DATA_DIR}) ; do
|
||||
[[ "$_user" =~ ^appdata_ ]] && continue
|
||||
[[ "$_user" =~ ^files_ ]] && continue
|
||||
|
Loading…
Reference in New Issue
Block a user