From e45af9b611f4d0c3b77d4329aac24bacf98e4e6c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 15 Sep 2025 15:46:27 +0200 Subject: [PATCH] sqlite: disable docker logging when backing up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The redirection > ${outputFile} applies to the docker run client process, not to the container itself. The Docker daemon is still collecting the container’s stdout and logging it. https://forum.cloudron.io/topic/13361/after-ubuntu-22-24-upgrade-syslog-getting-spammed-and-grows-way-to-much-clogging-up-the-diskspace/ --- src/services.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services.js b/src/services.js index e635bb4ad..214be3fed 100644 --- a/src/services.js +++ b/src/services.js @@ -932,6 +932,7 @@ async function backupSqlite(app, options) { const cmd = `sqlite3 ${p} ".dump"`; const runCmd = `docker run --rm --name=sqlite-${app.id} \ --net cloudron \ + --log-driver=none \ -v ${volumeDataDir}:/app/data \ --label isCloudronManaged=true \ --read-only -v /tmp -v /run ${app.manifest.dockerImage} ${cmd} > ${outputFile}`;