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

Home view empty after NC 19 to 20 upgrade #145

Closed
mooninite opened this issue Jun 7, 2021 · 18 comments
Closed

Home view empty after NC 19 to 20 upgrade #145

mooninite opened this issue Jun 7, 2021 · 18 comments

Comments

@mooninite
Copy link

Yaga version 0.26.1
Repo: F-Droid
Phone: Pixel 3 (June 2021 firmware)
Nextcloud 20.0.8
Server OS: Fedora 34 x86_64

After upgrading my Nextcloud server from 19 to 20 the Home View in Yaga became stagnant. I took new photos but they did not show up in Yaga. They do show up from the Nextcloud Android app or from a web browser.

Clearing the app data/cache and logging back in resulted in a blank home view.

Yes, Root Folder and General Path are set to correct values. Changing the General Path to a different folder with images in it shows those images. Changing back to my phone photos shows an empty home view.

I will email you the most recent logs.

@KruyKaze
Copy link

I just discovered Yaga and I'm on NC20 . I can confirm that no photos show up in home view.
Thanks for looking into this

@chrismin13
Copy link

Same problem here but with Nextcloud 21!

@vauvenal5
Copy link
Owner

@mooninite I finally had a chance to look into your logs. Short questions if you change your Home View -> View Type to List View you still do not see any images?

It probably is not related to the Nextcloud version since I myself am running NC21.

@mooninite
Copy link
Author

Changing View Type to any type, List, Grid, etc. does not display the photos.

@DecaTec
Copy link

DecaTec commented Aug 17, 2021

I just discovered this app and it really sounds great if you don't want to double your pictures on the phone and in the cloud.
But I also can confirm that issue (meanwhile NC 21.0.4).

In the app's logs there is nothing really interesting:

2021-08-17 16:28:23.548781 WARNING FileListLocalManager - 9755d7a0-ff3f-11eb-a5dc-0df65fd8336d (start)
2021-08-17 16:28:23.553727 WARNING FileListLocalManager - 9755d7a0-ff3f-11eb-a5dc-0df65fd8336d (received list - #images: 0)
2021-08-17 16:28:23.554081 WARNING FileListLocalManager - 9755d7a0-ff3f-11eb-a5dc-0df65fd8336d (done - manager key)
2021-08-17 16:28:23.554148 WARNING FileListLocalManager - 9755d7a0-ff3f-11eb-a5dc-0df65fd8336d (done - event key)

Would be great if this would be fixed!

@vauvenal5
Copy link
Owner

First of all sorry for the slow response. I am currently under water at work.

2nd, is your browse view also empty?

@Happyfeet01
Copy link

Hello,

under NC 22.1.1 the same Problem. Homeview Tab is empty, when the Path is set to Nextcloud.

the Browse View Tab wont show any Photo.

@DecaTec
Copy link

DecaTec commented Aug 31, 2021

2nd, is your browse view also empty?

No, the browse tab is working correctly.
It's only the home tab which would be the most useful part of the app.

@vauvenal5
Copy link
Owner

Have you done the following? https://vauvenal5.github.io/yaga-docs/assets/videos/change_path.gif

@DecaTec
Copy link

DecaTec commented Sep 3, 2021

Have you done the following? https://vauvenal5.github.io/yaga-docs/assets/videos/change_path.gif

That was the missing link for me...thanks!

Maybe it's a good idea to put a link to the docs in the Readme of the project? I just missed the link in the about section...

@Happyfeet01
Copy link

Happyfeet01 commented Sep 3, 2021 via email

@Happyfeet01
Copy link

Happyfeet01 commented Sep 3, 2021 via email

@Happyfeet01
Copy link

After an Reset nothing works. I dont no why
Screenshot_20210910_212220

@Happyfeet01
Copy link

Happyfeet01 commented Sep 12, 2021 via email

@vauvenal5
Copy link
Owner

vauvenal5 commented Sep 22, 2021

@Happyfeet01 did you grant permissions to the app? For some reason the app is failing to sync the date modified when pulling images. Can you narrow down when it is working and when not? What is different when it works?

@kojid0
Copy link

kojid0 commented Nov 8, 2021

Have you done the following? https://vauvenal5.github.io/yaga-docs/assets/videos/change_path.gif

Had the same issue, this solved it for me. Thank you!

@Happyfeet01
Copy link

@Happyfeet01 did you grant permissions to the app? For some reason the app is failing to sync the date modified when pulling images. Can you narrow down when it is working and when not? What is different when it works?

Sorry for the late response.

I made an fresh Setup from the gallery App. When choose at the Homeview Tab the Path to my uploads i can't see any files.
When i select the remoteview Tab, choose my cloud and browse to Path for the camera uploads (Kamerauploads/2021/11) the images are loaded and these Pictures are visible at the Homeview Tab. But only when i tab on each folder at the remoteview tab.

It seems the Homeview Tab can't load recursive.

@mooninite
Copy link
Author

mooninite commented Dec 20, 2021

Duplicate of issue #97 because of the bad handling of missing last modification dates.

For some reason (Nextcloud app bug?) I had 3 files out of 3000 that had a zero'd last modification date. Setting the date to the real one let Yaga load my photos and they all load fine.

Should probably raise the priority of gracefully handling bad dates on files. :)

For those that may not know about setting last modified date:

Navigate to your cloud storage directory on the Nextcloud Server and run the touch command:
touch -d "<RFC 5322 date string>" filename.jpg
example:
touch -d "Mon, Dec 20 2021 13:39:01" IMG20211220_133901.JPG

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

No branches or pull requests

7 participants