• 0 Posts
  • 28 Comments
Joined 2 years ago
cake
Cake day: June 3rd, 2023

help-circle


  • Realistically I don’t see how it would ever not be managed by a corporation. Your average person doesn’t know how and doesn’t want to manage their own messaging system. They are just going to offload that responsibility to a corporation to do it for them. We are just going to have exactly the same system we have now. Just called some else besides email.

    I wish there was a better solution but I am not seeing a way that doesn’t just end up the same as email.







  • Yes but it has limitations/risks that could be a deal killer depending on your use case.

    When a file changes externally, Nextcloud doesn’t know about the the changes until it looks at the file. It only looks when a user access that location within Nextcloud or during a automatic file scan.

    The only time I have had issues with it is using a Nextcloud desktop client, as files are cached locally on the desktop and the client doesn’t live query the server when you view the files locally.

    Changes made externally of Nextcloud won’t get updated on desktop clients until Nextcloud looks at the file an realizes a change happened.

    This can be very annoying but also dangerous as you are at risk of editing an outdated file. For example if you edit a file via SMB and then edit the same file again on a desktop clients. The desktop clients won’t have the new file with the B changes. So you risk overwriteing the files with an old version.






  • Could be battery. That is usually the first thing to swap no matter what.

    It could be whatever internal component the UPS uses to measure the line voltage is going bad. If that is the case your probably looking for a new UPS :(. Unless you want to do some very indept troubleshoot and potentially board level repairs.

    Other option is to try the UPS on another circuit, or if available, another building entirely.




  • Oh wow that is really fast drive. I will have to take a look at that one. Glad to see other companies are starting to come out with fast drives.

    A few years ago when I was looking the SanDisk was the only drive that was actually fast on writing. Every flash drive I found basically lied about the write speed. They would say oh it is 300mbps but when it would only be able to sustain that speed for a very short time then it would would drop to a slow crawl of 10mbps sometimes even less. One drive was 3mpbs. Or they wouldn’t advertise the write speed at all and just focus on read speeds.

    There was those portable SSDs but they were still a little big and I wanted something small I could carry with keys.




  • I am kind of just making this up as I go along so odds are this won’t work but it will hopefully get you closer. I only modified the very end under the volumes from their default compose file here https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml

    You will need to change the IP address to the address of you SMB server as well as the user name and password your going to be using. You may need to change the uid and gid I think you want those to be the id of whatever user is running immich. 1000 is usually a good default if you don’t know.

    In the .env file try just putting in upload-volume as the upload location. Like this

    UPLOAD_LOCATION=upload-volume

    Oh I almost forgot your host computer (the one running docker) needs to have cifs-utils installed or the cifs volume will not work and you will get a bunch of errors (Ask me how I know).

    Modified Compose file

    version: "3.8"
    
    services:
      immich-server:
        container_name: immich_server
        image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
        command: [ "start.sh", "immich" ]
        volumes:
          - ${UPLOAD_LOCATION}:/usr/src/app/upload
        env_file:
          - .env
        depends_on:
          - redis
          - database
          - typesense
        restart: always
    
      immich-microservices:
        container_name: immich_microservices
        image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
        # extends:
        #   file: hwaccel.yml
        #   service: hwaccel
        command: [ "start.sh", "microservices" ]
        volumes:
          - ${UPLOAD_LOCATION}:/usr/src/app/upload
        env_file:
          - .env
        depends_on:
          - redis
          - database
          - typesense
        restart: always
    
      immich-machine-learning:
        container_name: immich_machine_learning
        image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
        volumes:
          - model-cache:/cache
        env_file:
          - .env
        restart: always
    
      immich-web:
        container_name: immich_web
        image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release}
        env_file:
          - .env
        restart: always
    
      typesense:
        container_name: immich_typesense
        image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
        environment:
          - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
          - TYPESENSE_DATA_DIR=/data
        volumes:
          - tsdata:/data
        restart: always
    
      redis:
        container_name: immich_redis
        image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
        restart: always
    
      database:
        container_name: immich_postgres
        image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
        env_file:
          - .env
        environment:
          POSTGRES_PASSWORD: ${DB_PASSWORD}
          POSTGRES_USER: ${DB_USERNAME}
          POSTGRES_DB: ${DB_DATABASE_NAME}
        volumes:
          - pgdata:/var/lib/postgresql/data
        restart: always
    
      immich-proxy:
        container_name: immich_proxy
        image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release}
        environment:
          # Make sure these values get passed through from the env file
          - IMMICH_SERVER_URL
          - IMMICH_WEB_URL
        ports:
          - 2283:8080
        depends_on:
          - immich-server
          - immich-web
        restart: always
    
    volumes:
      pgdata:
      model-cache:
      tsdata:
      upload-volume:
        driver: local
        driver_opts:
          type: cifs
          device: "//172.1.1.6/changetoshare"
          o: addr=172.1.1.6,username=changetouser,password=changeme,vers=2.0,uid=1000,gid=1000