• 4 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle















  • It’s really weird. I think there are somehow two database volumes on my system.

    The reason I think this is because:

    1. I am the only user
    2. there is only one user in the user table
    3. there are two folders in the upload folders. Both have a uuid as their name and one of the uuids matches with the user id in the database
    4. the user_token table has tokens no tokens from before this happened to me a couple days ago

    So, where did this other user come from? Why have none of my log ins been tracked in the database before the incident?



  • The volume is defined like this at the end of the compose file

    database:
        container_name: immich_postgres
        image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
        environment:
          POSTGRES_PASSWORD: ${DB_PASSWORD}
          POSTGRES_USER: ${DB_USERNAME}
          POSTGRES_DB: ${DB_DATABASE_NAME}
        volumes:
          - pgdata:/var/lib/postgresql/data
        restart: always
    
    volumes:
      pgdata:
      model-cache: