nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
517 stars 59 forks source link

Empty page on NC 29.0.0 Beta 2 #2382

Open guillebot opened 3 months ago

guillebot commented 3 months ago

Describe the bug Just updated to 29 beta 2, from beta 1 I don't see any picture in photos app.

To Reproduce Steps to reproduce the behavior:

  1. Go to NC 29 beta 2
  2. Click on Photos app

Expected behavior I should see thumbnails.

Screenshots image

Desktop (please complete the following information):

Additional context I know this is cutting edge, feel free to disregard. Just thought it would be useful to let you know.

guillebot commented 3 months ago

I'll answer myself here. At some point in the update, the MEDIA FOLDER setting got reset to "Photos"

Going back to my media folder seems to solve the issue.

mdsina commented 2 months ago

In my case I have multiple media folders, so, after upgrading to nextcloud 29 it breaks all my albums, and I see no way to restore them 😢

XLixl4snSU commented 1 month ago

In my case I have multiple media folders, so, after upgrading to nextcloud 29 it breaks all my albums, and I see no way to restore them 😢

You could go the photos settings (in photos bottom left) and choose to select a new media folder, then go to the top level and choose it as a folder. It should now use all folders in your account. You can't select multiple individual folders though.

mdsina commented 1 month ago

You could go the photos settings (in photos bottom left) and choose to select a new media folder, then go to the top level and choose it as a folder. It should now use all folders in your account. You can't select multiple individual folders though.

Yes, it works if you select the root directory, but it won't fix albums, they're broken anyway

vasyugan commented 1 month ago

This is a very unfortunate design decision. The app should simply show all photos accessible to the user, just as previous versions did. The problem is, that, while this can be fixed by going into the app settings, each user has to do so individually, and in order to do that, they have to be aware of this possibility in the first place, which an estimated 98% of my users are not. Nextcloud should come with sane default settings, because most users never touch the settings in the first place. In my case, most photo files on all of my instances are in shared folders or group folders, therefore this change, where only the private photos folders is used by default goes against all the use scenarios I see on my instances.

One "solution" would be to allow the admin to add system wide photo folders for all users, in addition to the private folders or maybe to add photo folders per group, similar to the group folders functionality.

vasyugan commented 1 month ago

You could go the photos settings (in photos bottom left) and choose to select a new media folder, then go to the top level and choose it as a folder. It should now use all folders in your account. You can't select multiple individual folders though.

Yes, it works if you select the root directory, but it won't fix albums, they're broken anyway

My experience is that it sometimes works, sometimes not. No idea why. In any case, this isn't a reliable fix. And of course, that's a change that has to be done for every individual user. It would be better if the admin could do that system wide or per user group.