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

[BUG] Empty mobile page when uploading from web only #331

Closed
4 tasks done
Eidenz opened this issue Jul 11, 2022 · 21 comments · Fixed by #335
Closed
4 tasks done

[BUG] Empty mobile page when uploading from web only #331

Eidenz opened this issue Jul 11, 2022 · 21 comments · Fixed by #335

Comments

@Eidenz
Copy link
Contributor

Eidenz commented Jul 11, 2022

Describe the bug
I setup an immich instance and started uploading straight from the web version (about a hundred pics). However, when I open the android app to see my content, the page is empty.
I can see the pictures in the Search tab when I look for detected objects. But the main page is just blank.

I tried setting up another instance, same issue if you start uploading from web only. (I also tried reinstalling the android app)

Task List

  • I have read thoroughly the README setup and installation instructions.
  • If my setup is different, I have included my docker-compose file.
  • I have included my redacted .env file.
  • I have included information on my machine, and environment.

To Reproduce
Steps to reproduce the behavior:

  1. Setup immich following the README steps
  2. Start uploading from the web version only
  3. Open the android app to see your uploaded content

Expected behavior
The web uploaded pictures shows up on the Android app.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Version: 1.17.0_25-dev

Smartphone (please complete the following information):

  • Device: Mi 11
  • OS: CherishOS 3.9
  • Version: 1.17.0 build.25
@Eidenz Eidenz added the bug label Jul 11, 2022
@alextran1502
Copy link
Contributor

Can you please include your .env and docker-compose files? They are in the requirement for troubleshooting purposes

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Well the env and docker-compose are exactly the same from the repo, but here anyway:

env.txt
docker-compose.txt

@alextran1502
Copy link
Contributor

I created a new instance with a fresh setup and the latest release version. However, I cannot reproduce this. Do you have a set of uploaded photos that you can share for testing?

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Well it does this no matter what I feed it... Even pictures that worked just fine on other instances.

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

But now that I think about it, this is a new server as well (used another one for older instances).

There might be something wrong with the connection between the android client and my server?

@alextran1502
Copy link
Contributor

alextran1502 commented Jul 11, 2022

Do you see anything abnormal log-wise on your instance when you upload the file? on all containers log

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Nothing abnormal. Well, that's quite normal to me since I mentioned the web version works perfectly fine. The only problem is the blank page on the android version.
And I know it can actually retrieve the pictures since they show up in the Search tab..

I see nothing in logs either when I load up the app.

I forgot to mention I'm using the scaling option with --scale immich-server=5. It's the first time I try it (there will be thousands of pictures soon, so I prepared it).

@alextran1502
Copy link
Contributor

If you try to run 1 instance, does it change?

@alextran1502
Copy link
Contributor

For your reference, I am using 1 instance for a total of ~20,000 photos/videos split between 2 accounts

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Oh okay, I just read the If you have a few thousand photos/videos, I suggest running docker-compose with scaling option for the immich_server so I just went for it.

Well removing the scaling doesn't seem to fix it, but maybe I should try restarting fresh without scaling?

@alextran1502
Copy link
Contributor

I am testing on Android. I think I might have found something. I will keep you updated.

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Oh alright, will wait before another reinstallation then.

@alextran1502
Copy link
Contributor

@Eidenz it was a permission issue on my end, not something with the application. So I cannot reproduce the issue :/. Can you try a new instance?

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

It worked. Re-making the instance without scaling option fixed it, the pictures now appear on the android app.

@alextran1502
Copy link
Contributor

OK, I will look into the scaling problem that presents a problem with uploading on the web

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Actually, the pictures disappeared again after uploading all of the previous ones.

I didn't mention it as I didn't think it was important, but now it seems it might be a cause of the problem:

Some pictures show up as Invalid date in the immich web. I'm pretty sure as soon as I uploaded one of these invalid date pictures, they all disappeared from the android app.

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

Log trace:
immich_web

@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 11, 2022

I don't know if this one is linked (from microservices):
image

@alextran1502
Copy link
Contributor

Can you share some of the pictures that caused problem?

@alextran1502 alextran1502 reopened this Jul 11, 2022
@Eidenz
Copy link
Contributor Author

Eidenz commented Jul 12, 2022

They are all very small MP4 videos (between 2 and 10sec). Here is one:

37a8a9d8-fd41-4fd0-b7bf-bac4c1b69f1d.mp4

@alextran1502
Copy link
Contributor

Thanks, I can reproduce the issue now.

@alextran1502 alextran1502 mentioned this issue Jul 12, 2022
alextran1502 added a commit that referenced this issue Jul 12, 2022
* fix #331 - Video with no date information in EXIF upload via web caused mobile client not able to render other assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants