Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images page causes "Site not available" #115

Open
moon-phoenix42 opened this issue Oct 16, 2024 · 1 comment
Open

Images page causes "Site not available" #115

moon-phoenix42 opened this issue Oct 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Fixed in /dev Fixed in /dev build for next update.

Comments

@moon-phoenix42
Copy link

moon-phoenix42 commented Oct 16, 2024

if (container_images.includes(images[i].RepoTags[0])) {

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)

@lllllllillllllillll lllllllillllllillll self-assigned this Oct 23, 2024
@lllllllillllllillll lllllllillllllillll added bug Something isn't working Fixed in /dev Fixed in /dev build for next update. labels Oct 23, 2024
@lllllllillllllillll
Copy link
Owner

@moon-phoenix42 This is fixed in the dev builds. I should have left the other issue (#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed in /dev Fixed in /dev build for next update.
Projects
None yet
Development

No branches or pull requests

2 participants