iluvaty
iluvaty
IImmich
Created by iluvaty on 11/27/2024 in #help-desk-support
Can I mount /data for redis on a tmpfs or bind mount?
No description
4 replies
IImmich
Created by iluvaty on 7/23/2023 in #help-desk-support
Postgres having error in logs after update to latest immich_server version (immich is running)
Immich is running and accessible via web. Yet I found this error in the postgres container of immich after updating Was curious if theres a fix PostgreSQL Database directory appears to contain a database; Skipping initialization
2023-06-20 15:20:14.478 UTC [1] LOG: starting PostgreSQL 14.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-06-20 15:20:14.479 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-06-20 15:20:14.479 UTC [1] LOG: listening on IPv6 address "::", port 5432
2023-06-20 15:20:14.493 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-06-20 15:20:14.516 UTC [22] LOG: database system was shut down at 2023-06-20 15:19:47 UTC
2023-06-20 15:20:14.576 UTC [1] LOG: database system is ready to accept connections
2023-06-24 22:20:01.423 UTC [26] LOG: using stale statistics instead of current ones because stats collector is not responding
2023-07-17 06:23:22.917 UTC [26] LOG: using stale statistics instead of current ones because stats collector is not responding
2023-07-23 17:22:29.847 UTC [96581] ERROR: column "isReadOnly" of relation "assets" already exists
2023-07-23 17:22:29.847 UTC [96581] STATEMENT: ALTER TABLE "assets" ADD "isReadOnly" boolean NOT NULL DEFAULT false
2023-06-20 15:20:14.478 UTC [1] LOG: starting PostgreSQL 14.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-06-20 15:20:14.479 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-06-20 15:20:14.479 UTC [1] LOG: listening on IPv6 address "::", port 5432
2023-06-20 15:20:14.493 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-06-20 15:20:14.516 UTC [22] LOG: database system was shut down at 2023-06-20 15:19:47 UTC
2023-06-20 15:20:14.576 UTC [1] LOG: database system is ready to accept connections
2023-06-24 22:20:01.423 UTC [26] LOG: using stale statistics instead of current ones because stats collector is not responding
2023-07-17 06:23:22.917 UTC [26] LOG: using stale statistics instead of current ones because stats collector is not responding
2023-07-23 17:22:29.847 UTC [96581] ERROR: column "isReadOnly" of relation "assets" already exists
2023-07-23 17:22:29.847 UTC [96581] STATEMENT: ALTER TABLE "assets" ADD "isReadOnly" boolean NOT NULL DEFAULT false
8 replies
IImmich
Created by iluvaty on 6/20/2023 in #help-desk-support
Immich upgrade from 1.54.1 to 1.62.1 without database manual migration?
I saw there is a breaking change during the upgrade, according to https://github.com/immich-app/immich/issues/2590 I upgraded from 1.54.1 to 1.62.1 and it seems everythings running fine and I did not have an this issue. Just wanted to ask if this fix is applied automatically or just that some users have null values and some do not and I was lucky I didnt?
4 replies
IImmich
Created by iluvaty on 4/22/2023 in #help-desk-support
"Bad request" upload from Android immich app
I just set up immich according to the docs via portainer. ( I changed all the .env to stack.env) the env is like following
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=1YoKj5oPQV66
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/wd-drive/Pictures/Immich
TYPESENSE_API_KEY=some-random-text
PUBLIC_LOGIN_PAGE_MESSAGE=
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
IMMICH_API_URL_EXTERNAL=https://....com
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=1YoKj5oPQV66
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/wd-drive/Pictures/Immich
TYPESENSE_API_KEY=some-random-text
PUBLIC_LOGIN_PAGE_MESSAGE=
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
IMMICH_API_URL_EXTERNAL=https://....com
I followed the post for post install, I added admin and user, I downloaded the phone app and set up albums for upload. Now the thing is that it puts the pictures in the upload folder, but somehow the immich server responds with failure, so the phone gets "Bad Request" into all the uploads, even though it uploaded the picture in the uploads folder. Because the phone then thinks it didnt upload, it tries again it tries to upload it again. This continues indefinitely and the immich server will not see uploaded pictures, just aswell as the phone. The main problem seems to be that the server responds with "Bad request" (I guess 400 http code). Since I followed the exact procedure of the docs I cannot find the error. I set http://192.168.1.2:2283/api as the URL via the phone aswell as without the /api. uploading from browser in Desktop worked though, so is there a problem with the app?
62 replies