mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
fix again
This commit is contained in:
1 parent
67f3bec9f1
commit
277b8b927e
1 file changed
+1
-1
@@ -2667,7 +2667,7 @@ export async function cleanupPlausibleLogs(request: FastifyRequest<OnlyId>, repl
|
||||
if (destinationDockerId) {
|
||||
await executeDockerCmd({
|
||||
dockerId: destinationDocker.id,
|
||||
command: `docker exec ${id}-clickhouse clickhouse-client -q "SELECT name FROM system.tables WHERE name LIKE '%log%';" | xargs -I{} clickhouse-client -q "TRUNCATE TABLE system.{};"`
|
||||
command: `docker exec ${id}-clickhouse /usr/bin/clickhouse-client -q "SELECT name FROM system.tables WHERE name LIKE '%log%';" | xargs -I{} /usr/bin/clickhouse-client -q "TRUNCATE TABLE system.{};"`
|
||||
})
|
||||
return await reply.code(201).send()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user