Rodelero
Rodelero
Explore posts from servers
IImmich
Created by Rodelero on 2/11/2025 in #help-desk-support
How to initialize immich db manually.
Hello. I tried to set up Immich using podman quadlets. I know it is unsupported setup and I am on my own but 'd like to ask for help anyway. When setting up, I'm always getting failures like: úno 11 11:19:35 gladius immich2-database[565844]: Error: Database is uninitialized and superuser password is not specified. úno 11 11:19:35 gladius immich2-database[565844]: You must specify POSTGRES_PASSWORD to a non-empty value for the úno 11 11:19:35 gladius immich2-database[565844]: superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run". úno 11 11:19:35 gladius immich2-database[565844]: úno 11 11:19:35 gladius immich2-database[565844]: You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all úno 11 11:19:35 gladius immich2-database[565844]: connections without a password. This is not recommended. úno 11 11:19:35 gladius immich2-database[565844]: úno 11 11:19:35 gladius immich2-database[565844]: See PostgreSQL documentation about "trust": úno 11 11:19:35 gladius immich2-database[565844]: https://www.postgresql.org/docs/current/auth-trust.html I do call db container with: Exec=-c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on But I still keep getting the error. I resorted to create the db by modifying docker-compose.yml file to suit my needs, run "podman compose up -d" and have it working. It works well enough. But it still makes me wonder how come that it succeeds while quadlet doig pretty much the same does not. My quadlets and env files can be found at: https://github.com/vpelcak/quadlets
3 replies
IImmich
Created by Rodelero on 12/8/2024 in #help-desk-support
Fixing files with missing metadata
Hello people. I imported quite a lot of images but later I have noticed that some of them have missing exif date/time metadata and thus are placed wrongly on the timeline. I was thinking about using a script to detect those files, move them to some folder and then import them by your immich go cli tool with the option to read the dates from the name of the file instead. But I suppose it will cause the issues as iirc immich doesn't detect missing original file to remove it from the timeline, right? The only alternative I see is to delete everything and import from a new but I made quite a progress with the face detection etc. What would you advise?
6 replies
HHomarr
Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
Hello. I wrote this quadlet for homarr: [Unit] Description=Homarr Wants=network-online.target After=network-online.target RequiresMountsFor=%t/containers [Container] Image=ghcr.io/ajnart/homarr:latest ContainerName=homarr HostName=192.168.60.139 Network=host AutoUpdate=registry Volume=/home/xxx/homarr-app/assets/:/www/assets PublishPort=192.168.60.139:7575:7575/tcp Timezone=Europe/Prague [Service] Restart=always [Install] Start by default on boot WantedBy=multi-user.target default.target Then I ran systemctl daemon-reload and systemctl start homarr. It works well, but whenever I restart homarr, all my changes are dropped. I was searching for some permission issues or something and found none. /home/xxx/homarr-app/assets is still empty though. Can you please advise?
13 replies