Giter VIP home page Giter VIP logo

Comments (10)

cesalo avatar cesalo commented on May 23, 2024

I also can't save any settings for a user and the only directory i could see was /data so I had to map /data to the directory of my pictures, that finally did the trick.

from ownphotos.

AlexNathan345 avatar AlexNathan345 commented on May 23, 2024

from ownphotos.

cesalo avatar cesalo commented on May 23, 2024

I declared the volumen "data" pointing to the photo folder:

    volumes:
      - /share/photos:/data # CHANGE ME
      - /home/protected_media:/code/protected_media # CHANGE ME
      - /home/logs:/code/logs # CHANGE ME

Originally I thought data was the internal config file of the docker instances but it was the only one I could see in the admin section so I changed to point to my photos folder, that worked for me at least.

from ownphotos.

AlexNathan345 avatar AlexNathan345 commented on May 23, 2024

That's exactly what I did, but I can't see the /data folder anywhere in the admin area. When I try to select a folder there's nothing to select...

from ownphotos.

cesalo avatar cesalo commented on May 23, 2024

weird .. this is what I can see:

image

from ownphotos.

chancez avatar chancez commented on May 23, 2024

I'm hitting this issue also. I simply can't change any setting on my profile nor can I in the admin setting see any folders listed when trying to set the sync dir, even though i can if I exec into the container and check.

from ownphotos.

AlexNathan345 avatar AlexNathan345 commented on May 23, 2024

And all I can see is this:
image

from ownphotos.

chancez avatar chancez commented on May 23, 2024

Yep, that's also what I'm seeing the same as @AlexNathan345

from ownphotos.

AlexNathan345 avatar AlexNathan345 commented on May 23, 2024

Is there any solution for this problems? Can the settings be edited somewhere else if the web admin doesn't work as it doesn't save them?

from ownphotos.

fly-man- avatar fly-man- commented on May 23, 2024

What I did to get this to work properly (as a hacked solution)

docker exec -it ownphotos-db /bin/bash

psql -h localhost -U postgres

\c ownphotos

Then I use ran an update query to actually update those values in the database itself

UPDATE api_user SET scan_directory = 'folder to scan' WHERE id = id

The values you can change are:

  • id
  • password
  • last_login
  • is_superuser
  • username
  • first_name
  • last_name
  • email
  • is_staff
  • is_active
  • date_joined
  • scan_directory
  • avatar
  • nextcloud_server_address
  • nextcloud_username
  • nextcloud_app_password
  • nextcloud_scan_directory

from ownphotos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.