avoid logs error

This commit is contained in:
Alexandre
2023-03-08 21:27:54 +01:00
committed by GitHub
parent 8dd7eff2e9
commit b49f3953c4

View File

@@ -27,3 +27,6 @@ for var in /defaults/config.php /data/config/www/nextcloud/config/config.php; do
sed -i "2a\ \ 'log_type' => 'file'," "$var"
sed -i "2a\ \ 'log_rotate_size' => 0," "$var"
done
# Correct log search
sed -i 's|!file_exists($this->logFile)|!is_link($this->logFile)|g' /data/config/www/nextcloud/lib/private/Log/File.php