5
submitted 2 years ago by letstry@lemmy.ml to c/lemmy_support@lemmy.ml

I ran out of space on my instance which is hosted on linode. I used their automated system to upgrade the node so it had more hard drive space.

Since I did that, images have not displayed on my instance. Either from existing posts or new posts. How do I fix this?

I submited a question on GitHub https://github.com/LemmyNet/lemmy/issues/2637 and was asked to provide a "the docker compose logs" and to try restarting "docker compose".

I rebooted the virtual server, which I assume would restart the docker compose. If not, how do I restart it?

Also can you give me the exact commands to:

  • do a docker compose restart and where I do it from
  • generate the docker compose logs and how to limit the size if it is likely to be to big to upload to github and where to run the commands from.

Thanks in advance for your help.

you are viewing a single comment's thread
view the rest of the comments
[-] letstry@lemmy.ml 1 points 2 years ago

Thanks

I did the docker-compose restart. It is still not working.

So I went to post a test image so the logs would show what happens and I got this error in the UI

SyntaxError: Unexpected token 'R', "Request er"... is not valid JSON

[-] poVoq@slrpnk.net 1 points 2 years ago

Try the force-recreate option to make sure you are not only restarting the containers but actually recreating them.

[-] letstry@lemmy.ml 1 points 2 years ago

I ran the force-recreate option.

Now when I go to the instance I get a spinning wheel where the posts would normally appeal. I am assuming this is just rebuilding all the pages and may take some time? Would take be correct?

[-] poVoq@slrpnk.net 1 points 2 years ago

no that looks more like it has issues connecting to the database. Maybe the database container got renamed?

[-] letstry@lemmy.ml 1 points 2 years ago

so what should I do now?

Should I restore the backup from before I ran the recreate command or do something else?

[-] letstry@lemmy.ml 1 points 2 years ago

I ran the up command with force recreate and seem to be back to where I started. Instance working except images no displaying

I posted a copy of the screen output here https://github.com/LemmyNet/lemmy/issues/2637#issuecomment-1374677294

It showed a bunch of errors

[-] poVoq@slrpnk.net 1 points 2 years ago* (last edited 2 years ago)

Sorry I am not deep enough into hosting Lemmy (yet) to answer your question. I guess the Pict-rs container that is used as the image backend has some sort of issue?

[-] letstry@lemmy.ml 1 points 2 years ago

Thanks for the help you have provided so far - if nothing else I learnt some stuff.

this post was submitted on 07 Jan 2023
5 points (100.0% liked)

Lemmy Support

4656 readers
17 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS