this post was submitted on 14 Oct 2023
29 points (89.2% liked)

Technology

60105 readers
1918 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
 

I have a specific question if anyone happens to know the answer.

Do anyone know how and where to create the pictrs directory for Lemmy? I'm getting an error any time I try to upload files.

top 9 comments
sorted by: hot top controversial new old
[–] hardly_alex@lemmy.world 8 points 1 year ago
[–] Valmond@lemmy.mindoki.com 4 points 1 year ago (1 children)

Are you doing the docker install, ansible or all by yourself?

[–] r3df0x@7.62x54r.ru 2 points 1 year ago (1 children)
[–] Valmond@lemmy.mindoki.com 2 points 1 year ago* (last edited 1 year ago)

Okay, I'll bet you're best off with r3df0xs answer.

Good luck!

[–] fry@fry.gs 2 points 1 year ago (1 children)

You probably forgot this line: sudo chown -R 991:991 volumes/pictrs

[–] r3df0x@7.62x54r.ru 3 points 1 year ago (1 children)

I'm not sure where that is or even if it exists. The Lemmy installation is under /var/www/lemmy

It doesn't use Docker. It was installed using Yunohost.

[–] fry@fry.gs 2 points 1 year ago* (last edited 1 year ago) (1 children)

That sounds like it’s a commercial service. They should have a support option you can ask. It sounds like their deployment scripts are broken. Ansible and Docker are the easiest ways to run Lemmy, I’m guessing these guy’s scripts are just grabbing the docker images and launching them for you.

[–] r3df0x@7.62x54r.ru 2 points 1 year ago (1 children)

I'll see if I can find the script it uses and check but I think it's installed directly because I was able to fix the site when it didn't work after a restart using service lemmy restart.

[–] fry@fry.gs 2 points 1 year ago

No, it won’t work if it’s deployed wrong. Is this a shared host or a VPS service? If it’s a shared host and you’re just clicking a button to deploy a software package, it that host’s job to make that button work right.