octotron15
IImmich
•Created by octotron15 on 1/31/2025 in #help-desk-support
Cannot get new instance to connect to database
Thanks for the direction on the database URL. I'll also look at checking into changing that.
17 replies
IImmich
•Created by octotron15 on 1/31/2025 in #help-desk-support
Cannot get new instance to connect to database
I have an update on this. When using the .env file, it appears that the pgvector container isn't pulling the variables for name, username, password etc. from the .env file, but the rest of the containers are. I was able to get it to set up and running by manually entering the database details in this section of the stack. It doesn't make much sense to me. The .env file is accessible to each container in the same directory.
env_file:
- .env
environment:
POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: '--data-checksums'
POSTGRES_PASSWORD: xxxxxxxxxxx
POSTGRES_USER: postgres
17 replies
IImmich
•Created by octotron15 on 1/31/2025 in #help-desk-support
Cannot get new instance to connect to database
Thanks, I'll post it there as well
17 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
As a final follow up to this, I dug into more of the errors and looked at the files based on the GUID's and found that several files it was choking on came from an external folder with corrupted/invalid files (files that were labeled as images, but were in fact only 1kb shortcuts. I cleared all of these corrupted files, re-deployed immich using the latest .env and .yml configs and then let it re-process all of the files. I also found that although I had renamed the container name immich-redis, and immich-postgres, there is another redis container on my stack that was also labeled redis. I found that I cannot change the service name for immich as it appears to be hard-coded to look for service "redis" and "database" (can we change this?), so I changed the rest of the container names and services and no longer have conflicting redis issues. So far things have been cleared up nicely and I haven't seen any errors in any of the logs, so I think we're good to go ahead and close this out. Thanks for your help in pointing more closely to the log files. I know a bit more what to look for if there is another issue.
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
the database itself is stored on the NVME ssd. For example: path/to/store/immich/db, /immich/server /immich/redis /immich/machine-learning
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Yeah, it definitely seems like something isn't working properly. To expand on how my configuration is setup: single Truenas system, docker containers all run on an NVME SSD (immich server, redis, postgres, worker), and files are stored on a raidz1 4-drive spinning rust. No other issues with any other services or containers, only immich seems to be impacted. To confirm, do all files used by immich and its dependencies need 744 permissions? If all of that looks good, what is my best option at this point? Should I look at rebuilding my immich instance from scratch and re-importing all files, setting up users and restoring shares, or is there anyway to fix any corruption or figure out what is broken and fix that? I'm relativley new on how immich is set up, so I'm not quite sure what the best course of action would be in this case.
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Good morning. I am thinking there must still be an issue. Its now been almost 2 days and the original file still exists in the hard drives on the NAS as well as shows up in the trash on the database, but is not visible in the actual trash for the user. I'm also showing several images in the front end that show a broken thumbnail and updates to dates are not persisting with reboots or re-organizing files. Finally, I'm seeing that the jobs for thumbnails generation are stuck at 3/3740 and have been stuck there over the weekend. I've attached a fresh set of logs as well.
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Thanks!
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Got it. I’ll put this on hold for a bit and check to see if the files clear out after a day or two and can re-upload them.
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Ok, that makes sense. Is there any way to run the system jobs to force/test it or do I simply have to wait for 1-2 days?
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
I have not given it 48hrs for the files to clear after emptying the trash. Is this documented somewhere that it takes 48hrs for deleted files to sync back to the actual disk?
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
I have confirmed that the docker host and containers have root access to all of these files, however, I have noticed that if an image is uploaded via the web, the file permissions are root:root -rwxr—r— I’m not sure if the files should have should be rwxrwxrwx for uploads.
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
These images are all in the mobile and web upload section. I don’t have any issues with deleting images in an external library
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
Good question. This image along with several other images and videos have been deleted and trash emptied. The trash for the user is empty, but the file still appears in the /trash/guid in the address bar or the actual file in the server file directory
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
/trash/d2825417-99f8-4f65-9805-80ccf548881b
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
/usr/src/app/upload/library/eb1eadbb-1e8a-4e04-a760-1455e47d9063/2025/2025-01-04/IMG_5092.jpeg
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
33 replies
IImmich
•Created by octotron15 on 1/5/2025 in #help-desk-support
Uploaded images, deleted, emptied trash. File persists in file structure and database still
attaching log files
33 replies
IImmich
•Created by octotron15 on 12/21/2024 in #help-desk-support
Need help determining device ID
I’ve tried that 😀
53 replies
IImmich
•Created by octotron15 on 12/21/2024 in #help-desk-support
Need help determining device ID
Yes, weird indeed. They seem fine on the phone itself though
53 replies