LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
7.01k stars 309 forks source link

Nextcloud Linking - Unable to add directory #155

Closed cohenchris closed 3 years ago

cohenchris commented 3 years ago

I am hosting LibrePhotos using the recommended docker-compose method. I have added a new app password, entered NextCloud credentials, and it says that I am logged into NextCloud. However, when I attempt to change the NextCloud scan directory, I cannot get it to save the directory. A notification pops up saying "admin's information was successfully updated". When I reload the page, though, it resets itself. I have looked through other issues, and find nothing similar.

ownphotos.log

derneuere commented 3 years ago

Found the error. Fixed it. Please do a docker-compose down and a docker-compose pull and then a docker-compose up.

After you added your credentials, wait for a view seconds. The red circle should switch to green like here: image Click on change, then select a directory: image

Reminder: It will download your pictures from your nextcloud instance. If you use the same server to host librephotos and nextcloud, it makes more sense to point librephotos at the directory than link nextcloud.

ImmortalScientist commented 3 years ago

Yep, I had the same issue - did a down->pull->up and it went away :) Thanks @derneuere