this post was submitted on 28 Oct 2024
8 points (90.0% liked)

Lemmy Support

4661 readers
60 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hello,

I'm new to setting up a lemmy instance. Followed the guide using docker compose. I have everything running for the most part, but I'm noticing this error in the logs.

lemmy-pictrs    | 2024-10-28T01:58:48.048727Z  WARN pict_rs::tmp_file: TmpFolder - Blocking remove of directory "/tmp/pict-rs/0192d0d8-e3ec-7dcd-be4e-d1ef1cc09fca/0192d0d8-e3ed-71d6-a5dc-5dc150e868f1"
lemmy-pictrs    | 2024-10-28T01:58:48.048891Z  WARN pict_rs::tmp_file: TmpDir - Blocking remove of "/tmp/pict-rs/0192d0d8-e3ec-7dcd-be4e-d1ef1cc09fca"
lemmy-pictrs    | Error:
lemmy-pictrs    |    0: Error in database
lemmy-pictrs    |    1: IO error: Permission denied (os error 13)
lemmy-pictrs    |
lemmy-pictrs    | Location:
lemmy-pictrs    |    src/repo/sled.rs:130
lemmy-pictrs    |
lemmy-pictrs    |   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
lemmy-pictrs    |
lemmy-pictrs    |    0: pict_rs::repo::sled::build with path="/mnt/sled-repo" cache_capacity=67108864 export_path="/mnt/exports"
lemmy-pictrs    |       at src/repo/sled.rs:124
lemmy-pictrs    |    1: pict_rs::repo::open
lemmy-pictrs    |       at src/repo.rs:889
lemmy-pictrs    |
lemmy-pictrs    |   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
lemmy-pictrs    |   <empty backtrace>

Any help on how to go about debugging this would be helpful! As I understand the pictrs container isn't able to access the volume for postgres. But not sure why.

you are viewing a single comment's thread
view the rest of the comments
[–] Shadow@lemmy.ca 8 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

It's not the postgres db, it's the internal pictrs db.

Fix your docker volume permissions so pictrs can write to the folder

[–] mojolobo@lemmy.jrvs.cc 1 points 4 weeks ago

This was it, thank you so much!