Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Immich
  3. Config File

Config File

Scheduled Pinned Locked Moved Immich
4 Posts 2 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chagle
    wrote on last edited by
    #1

    Hello there.

    The more I use Cloudron, the better it gets. However, one thing I cannot get my head around.

    I want to make a few tweaks to the Immich config, even something as basic as the Login Welcome Message. You can't do it from the GUI, as "Config is currently set by a config file" -- Which is fine but... (unless I'm missing something here).

    in /app/data/ there is "immich.json" which only consists of "{}"
    (without quotes).

    I was expecting a file to be full of config like :

    https://immich.app/docs/install/config-file/

    Am I missing something?

    Thank you 😉

    BrutalBirdieB 1 Reply Last reply
    0
    • C chagle

      Hello there.

      The more I use Cloudron, the better it gets. However, one thing I cannot get my head around.

      I want to make a few tweaks to the Immich config, even something as basic as the Login Welcome Message. You can't do it from the GUI, as "Config is currently set by a config file" -- Which is fine but... (unless I'm missing something here).

      in /app/data/ there is "immich.json" which only consists of "{}"
      (without quotes).

      I was expecting a file to be full of config like :

      https://immich.app/docs/install/config-file/

      Am I missing something?

      Thank you 😉

      BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by
      #2

      @chagle said in Config File:

      I was expecting a file to be full of config like

      No 😉
      You place in that file parts of the config which you want to override. Because

      The default configuration looks like this

      https://immich.app/docs/install/config-file/

      {
        "ffmpeg": {
          "crf": 23,
          "threads": 0,
          "preset": "ultrafast",
          "targetVideoCodec": "h264",
          "acceptedVideoCodecs": ["h264"],
          "targetAudioCodec": "aac",
          "acceptedAudioCodecs": ["aac", "mp3", "libopus", "pcm_s16le"],
          "acceptedContainers": ["mov", "ogg", "webm"],
          "targetResolution": "720",
          "maxBitrate": "0",
          "bframes": -1,
          "refs": 0,
          "gopSize": 0,
          "temporalAQ": false,
          "cqMode": "auto",
          "twoPass": false,
          "preferredHwDevice": "auto",
          "transcode": "required",
          "tonemap": "hable",
          "accel": "disabled",
          "accelDecode": false
        },
        "backup": {
          "database": {
            "enabled": true,
            "cronExpression": "0 02 * * *",
            "keepLastAmount": 14
          }
        },
        "job": {
          "backgroundTask": {
            "concurrency": 5
          },
          "smartSearch": {
            "concurrency": 2
          },
          "metadataExtraction": {
            "concurrency": 5
          },
          "faceDetection": {
            "concurrency": 2
          },
          "search": {
            "concurrency": 5
          },
          "sidecar": {
            "concurrency": 5
          },
          "library": {
            "concurrency": 5
          },
          "migration": {
            "concurrency": 5
          },
          "thumbnailGeneration": {
            "concurrency": 3
          },
          "videoConversion": {
            "concurrency": 1
          },
          "notifications": {
            "concurrency": 5
          }
        },
        "logging": {
          "enabled": true,
          "level": "log"
        },
        "machineLearning": {
          "enabled": true,
          "urls": ["http://immich-machine-learning:3003"],
          "clip": {
            "enabled": true,
            "modelName": "ViT-B-32__openai"
          },
          "duplicateDetection": {
            "enabled": true,
            "maxDistance": 0.01
          },
          "facialRecognition": {
            "enabled": true,
            "modelName": "buffalo_l",
            "minScore": 0.7,
            "maxDistance": 0.5,
            "minFaces": 3
          }
        },
        "map": {
          "enabled": true,
          "lightStyle": "https://tiles.immich.cloud/v1/style/light.json",
          "darkStyle": "https://tiles.immich.cloud/v1/style/dark.json"
        },
        "reverseGeocoding": {
          "enabled": true
        },
        "metadata": {
          "faces": {
            "import": false
          }
        },
        "oauth": {
          "autoLaunch": false,
          "autoRegister": true,
          "buttonText": "Login with OAuth",
          "clientId": "",
          "clientSecret": "",
          "defaultStorageQuota": 0,
          "enabled": false,
          "issuerUrl": "",
          "mobileOverrideEnabled": false,
          "mobileRedirectUri": "",
          "scope": "openid email profile",
          "signingAlgorithm": "RS256",
          "profileSigningAlgorithm": "none",
          "storageLabelClaim": "preferred_username",
          "storageQuotaClaim": "immich_quota"
        },
        "passwordLogin": {
          "enabled": true
        },
        "storageTemplate": {
          "enabled": false,
          "hashVerificationEnabled": true,
          "template": "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
        },
        "image": {
          "thumbnail": {
            "format": "webp",
            "size": 250,
            "quality": 80
          },
          "preview": {
            "format": "jpeg",
            "size": 1440,
            "quality": 80
          },
          "colorspace": "p3",
          "extractEmbedded": false
        },
        "newVersionCheck": {
          "enabled": true
        },
        "trash": {
          "enabled": true,
          "days": 30
        },
        "theme": {
          "customCss": ""
        },
        "library": {
          "scan": {
            "enabled": true,
            "cronExpression": "0 0 * * *"
          },
          "watch": {
            "enabled": false
          }
        },
        "server": {
          "externalDomain": "",
          "loginPageMessage": ""
        },
        "notifications": {
          "smtp": {
            "enabled": false,
            "from": "",
            "replyTo": "",
            "transport": {
              "ignoreCert": false,
              "host": "",
              "port": 587,
              "username": "",
              "password": ""
            }
          }
        },
        "user": {
          "deleteDelay": 7
        }
      }
      

      So this means, all that JSON is implicit and does not need to be present in that file to exist.

      So you can just override with e.g.

      # This command will override everything in /app/data/immich.json use with care
      jq -n '.server["loginPageMessage"]="Welcome to the Thunderdome!"' > /app/data/immich.json
      

      Like my work? Consider donating a drink. Cheers!

      1 Reply Last reply
      1
      • C Offline
        C Offline
        chagle
        wrote on last edited by
        #3

        Oh! Actually, what a good idea. Thanks. ☺️

        1 Reply Last reply
        1
        • BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by
          #4

          Also see:
          https://docs.cloudron.io/apps/immich/#settings

          After changing the file, the app needs to be restarted.

          Like my work? Consider donating a drink. Cheers!

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search