Can't Access my Instance from Browser, but Apps Work Fine?

I think this means that something is wrong with lemmy-ui, but I’m not sure what.

ETA: I’m eleanorOpossum on beehaw.org.

EDIT: FIGURED IT OUT

Cause: I deleted everything in the pictrs folder after the CSAM raid on lemmy.world. The UI was crashing because it couldn’t load the site icon.

Solution: TL; DR: I ran this UPDATE site SET icon = NULL FROM local_site WHERE site.id = local_site.site_id; in the database.

My install uses lemmy-ansible, so my DB was in a docker container.

  • I ran docker ps to find the id of the container running the DB
  • Then I ran this to connected to it docker exec -it $CONTAINER_ID_FROM_DOCKER_PS pqsql -U lemmy -d lemmy
  • Then I searched for my instance in the
  • And then I ran this SQL expression to set my site icon to null; UPDATE site SET icon = NULL FROM local_site WHERE site.id = local_site.site_id;

Based on this comment and the rest of that thread (along with some basic SQL knowledge)

siskourso,
@siskourso@odin.lanofthedead.xyz avatar

Tried restarting the stack?

eleanorOpossum,

Yep, restarted it a couple of times. (Sorry, my instance wasn’t federated with this one so I didn’t see the comment) Still, OP, just replying from my Beehaw account since I can’t see your comment on my instance.

russjr08,
@russjr08@outpost.zeuslink.net avatar

Do you by chance have the logs from lemmy-ui’s container?

eleanorOpossum,

Still, OP, just replying from my Beehaw account since I can’t see your comment on my instance. (That’s also why it took me a day to respond…) Yes!

Constant spam of this. Gonna check the GH issues


<span style="color:#323232;">lemmy-ui_1  | Error: Input bit Array is empty
</span><span style="color:#323232;">lemmy-ui_1  |     at Sharp._createInputDescriptor (/app/node_modules/sharp/lib/input.js:56:13)
</span><span style="color:#323232;">lemmy-ui_1  |     at new Sharp (/app/node_modules/sharp/lib/constructor.js:351:29)
</span><span style="color:#323232;">lemmy-ui_1  |     at Sharp (/app/node_modules/sharp/lib/constructor.js:173:12)
</span><span style="color:#323232;">lemmy-ui_1  |     at /app/dist/js/server.js:2:1229532
</span><span style="color:#323232;">lemmy-ui_1  |     at tryCatch (/app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
</span><span style="color:#323232;">lemmy-ui_1  |     at Generator. (/app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
</span><span style="color:#323232;">lemmy-ui_1  |     at Generator.next (/app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
</span><span style="color:#323232;">lemmy-ui_1  |     at asyncGeneratorStep (/app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
</span><span style="color:#323232;">lemmy-ui_1  |     at _next (/app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
</span><span style="color:#323232;">lemmy-ui_1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
</span><span style="color:#323232;">
</span>
willya,
@willya@lemmyf.uk avatar

What did you do before this started?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • Testmaggi
  • Socialism
  • feritale
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines