Open eygraber opened 11 months ago
The mobile app seems to be fine.
Could you share the server logs?
Hmm, the most relevant change in 1.91.4 seems to be #5829. cc @jrasm91
There doesn't seem to be anything useful in the server logs.
I restarted again and everything went back to normal.
My first thought was #5829 but aside from files not showing up, the UI is very slow and laggy.
It's possible that this is getting caused by opening multiple tabs and doing some actions. I just got it to happen again by doing that, and then this appeared in the browser console:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'href')
at 18.141b9aa8.js:1:46940
at start.4983a0cc.js:1:15986
at Array.forEach (<anonymous>)
at ce (start.4983a0cc.js:1:15975)
01:29:16.270 websocket.2a2ae4b2.js:1 WebSocket connection to 'wss://.../api/socket.io/?EIO=4&transport=websocket&sid=yV5OYN9_7YL2bUaSAAAi' failed:
doOpen @ websocket.2a2ae4b2.js:1
yV5OYN9_7YL2bUaSAAAi
doesn't show up in CommunicationRepository
server logs.
I'm pretty sure it's related to having multiple tabs open. When I close all the tabs except for one it works, and shortly after I open 3-5 tabs it starts to have problems again.
Possibly unrelated, but URL-based album shares seem to be broken, too. Downgrading to 1.91.3 and 1.91.2 did not fix the issue and there are no server logs.
Can this behavior be reproducible over localIP?
In my possibly unrelated case, yes. Note that I don't use the docker image, but the AUR package https://aur.archlinux.org/packages/immich-server .
@hrdl-github what do you mean by URL-based album shares?
In the user interface this is called "shared links", which for me are resulting in an empty HTTP response at the moment, @alextran1502 .
@hrdl-github Hmm I cannot reproduce it https://demo.immich.app/sharing/sharedlinks
I'll take a closer look at this this weekend and report back.
curl https://demo.immich.app/albums/df64ca3f-cb80-4001-99aa-05f69a176c2c
returns a non-empty result. Opening the link using a browser causes the SPA to be loaded. On my installation selecting this seems to be broken: instead of the SPA I get an empty reply.
@hrdl-github Since you are using a different installation method, I am not sure I can help you much here
You're right, what I reported was a distribution error. ed4358741ebf8d9a5098bad31ec809f7df51e81a introduces a new path /usr/src/app/www/index.html
, which doesn't exist in the AUR package. The error is masked by 81603fddc8065e0f30e2ce41ce919f3564840d78, which produces a line in the log that I had overlooked.
@alextran1502 sorry for the delay.
I browsed around, making changes to albums, faces, people, etc... in one tab for a while with no issues. Then I started opening multiple tabs and after a few minutes was able to repro. I can repro using local IP as well.
Closing all of the tabs except one and then refreshing a few times got it back to normal. Except nothing was loading in the albums page on local IP even after restarting the server (using my domain works). I can load a specific album though.
I can consistently repro this by opening up 5+ tabs at once.
Hmm that is interesting especially if it happens over local IP.
Might be worth trying to reproduce locally.
The bug
After updating to 1.91.4 I had the website open in a few tabs. I was merging some people, adding some birthdays, and suddenly everything stopped loading. Refreshing didn't work, opening a new tab didn't work, and restarting all the docker containers didn't work.
Eventually if I waited a while some content loaded, but most did not. The server status and version fluctuates between offline and online
The OS that Immich Server is running on
Ubuntu 22.04
Version of Immich Server
v1.91.4
Version of Immich Mobile App
v1.91.4
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
I'm waiting (a very long time) for the admin page to load so I can change the log settings and see if anything is happening there.