DweebUI icon indicating copy to clipboard operation
DweebUI copied to clipboard

Images page causes "Site not available"

Open moon-phoenix42 opened this issue 1 year ago • 1 comments

https://github.com/lllllllillllllillll/DweebUI/blob/7d0bbc27fa2e0b249441233fca0e28a696c4d4b0/controllers/images.js#L80

Creates a TypeError because a used null cannot be read correctly. This leads to the browser showing the site as unavailable and letting you login again.

Full Error Message I could get:

TypeError: Cannot read properties of null (reading '0') at Images (file:///app/controllers/images.js:80:57) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

moon-phoenix42 avatar Oct 16 '24 20:10 moon-phoenix42

@moon-phoenix42 This is fixed in the dev builds. I should have left the other issue (https://github.com/lllllllillllllillll/DweebUI/issues/85) open until it's fixed in the main release.

Fixed in dev image: lllllllillllllillll/dweebui:v0.70-dev

or you could try the "extra-broken" dev build: docker run -d --name=DweebUI -p 8000:8000 -v dweebui:/app/database -v /var/run/docker.sock:/var/run/docker.sock lllllllillllllillll/dweebui:v0.7X-dev

lllllllillllllillll avatar Oct 23 '24 07:10 lllllllillllllillll