Hello, i had a problem with docker-log: my lemmy instance crashed and i went to see in the server how come and found that it is 100% occupied disk space.

So I have deleted docker logs with: sudo sh -c "truncate -s 0 /var/lib/docker/containers/**/*-json.log and it works but now I can’t see any images: https://feddit.it/pictrs/image/8246b865-e626-4d8e-9527-e298054f2370.png “error trying to connect: dns error: failed to lookup address information: Try again”.

I checked my config and it seems correct:

pictrs_url: "http://pictrs:8080"

I tried to restart pictrs and I have no error but when i execute docker ps it says: "/sbin/tini -- /usr/…" 3 months ago Restarting (1) 13 seconds ago" as if it couldn't start.

I see many errors on docker-logs like:

lemmy_1 | Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("pictrs")), port: Some(8080), path: "/image/process.webp", query: Some("src=5c6125a2-1f94-445b-a1b1-52057c69a545.png&thumbnail=96"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Try again" })) })

I also add that on docker-logs i found this:

on dockers-log i found also this:

pictrs_1 | 2023-01-12T12:12:23.710029Z WARN sled::pagecache::snapshot: empty/corrupt snapshot file found

pictrs_1 | 2023-01-12T12:12:23.710213Z WARN sled::pagecache::snapshot: empty/corrupt snapshot file found

pictrs_1 | Error: Error in DB, Read corrupted data at file offset None backtrace ()

pictrs_1 |

pictrs_1 | Caused by:

pictrs_1 | Read corrupted data at file offset None backtrace ()

fedditit_pictrs_1 exited with code 1

I have found that someone, in the past, have this same issue: https://lemmy.eus/post/3863 and https://lemmy.ml/post/696178 (but no one answer)