Compare commits
2 Commits
8938437b1e
...
263755aa58
Author | SHA1 | Date |
---|---|---|
Ze'ev Schurmann | 263755aa58 | |
Ze'ev Schurmann | 1ec0034d5c |
|
@ -38,8 +38,6 @@ function updatelog {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
sudo -u $wwwuser php "$nextcloudpath/occ" user:list > /tmp/ncchecknewusers.txt
|
|
||||||
|
|
||||||
array=($(cat $nextcloudpath/config/config.php | grep 'datadirectory'))
|
array=($(cat $nextcloudpath/config/config.php | grep 'datadirectory'))
|
||||||
nextcloudfilespath=${array[2]:1:-2}
|
nextcloudfilespath=${array[2]:1:-2}
|
||||||
cat $nextcloudfilespath/nextcloud.log | grep '"level":2,' | grep '"Login failed:' > /tmp/ncfailedlogins.tmp
|
cat $nextcloudfilespath/nextcloud.log | grep '"level":2,' | grep '"Login failed:' > /tmp/ncfailedlogins.tmp
|
||||||
|
|
|
@ -49,8 +49,6 @@ function updatelog {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
sudo -u $wwwuser php "$nextcloudpath/occ" user:list > /tmp/ncchecknewusers.txt
|
|
||||||
|
|
||||||
array=($(cat $nextcloudpath/config/config.php | grep 'datadirectory'))
|
array=($(cat $nextcloudpath/config/config.php | grep 'datadirectory'))
|
||||||
nextcloudfilespath=${array[2]:1:-2}
|
nextcloudfilespath=${array[2]:1:-2}
|
||||||
cp $nextcloudfilespath/nextcloud.log /tmp/nclog.tmp
|
cp $nextcloudfilespath/nextcloud.log /tmp/nclog.tmp
|
||||||
|
|
Loading…
Reference in New Issue