Replies: 2 comments 4 replies
-
It's erroring because it can't find that file. That's a safety feature to prevent starting up Immich with the files missing, which would cause issues. You have two options: Either move the files belonging with this installation into the current UPLOAD_LOCATION, or delete the postgres data to start completely fresh.
Nope, Immich expects its UPLOAD_LOCATION to be an empty folder at first start. If you want to point at existing files you want https://immich.app/docs/features/libraries/. I agree that this can be made clearer in the setup docs. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thank you. That makes sense, but what's not clear is
1. Exactly what files (name, file extension) I should create in the library directory, and whether they are there or in a sub-folder called "encoded-video" as the error suggests.
2. How to delete the postgres database data. Is that literally just deleting everything inside the postgres directory?
From a normie perspective, it would be great if the docs contained a 'delete everything and start again' section 😁
Patrick
…________________________________
From: bo0tzz ***@***.***>
Sent: Tuesday, February 25, 2025 12:49:44 PM
To: immich-app/immich ***@***.***>
Cc: Paddy5150 ***@***.***>; Author ***@***.***>
Subject: Re: [immich-app/immich] Cannot get set up - a normie needs help! (Discussion #16312)
It's erroring because it can't find that file. That's a safety feature to prevent starting up Immich with the files missing, which would cause issues. You have two options: Either move the files belonging with this installation into the current UPLOAD_LOCATION, or delete the postgres data to start completely fresh.
I was expecting it to be like Jellyfin - point it at a library and it displays that stuff.
Nope, Immich expects its UPLOAD_LOCATION to be an empty folder at first start. If you want to point at existing files you want https://immich.app/docs/features/libraries/. I agree that this can be made clearer in the setup docs.
—
Reply to this email directly, view it on GitHub<#16312 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BEKC5USLRGHDSKLQECNQ3ML2RRRGRAVCNFSM6AAAAABX2KWQQ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZRGI4DCMY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
hi everyone,
Immich is a great way to get away from big tech, so I've tried to set it up on my linux 'always on' mini-pc. I have to say, as a normie-keen-to-learn it wasn't easy. There is quite a bit of assumed knowledge in the instructions.
I kind of got it going initially, but the 'upload location' was on a usb drive and that seemed to cause problems. I put a bunch of photos in that library folder but immich did not see them... I was expecting it to be like Jellyfin - point it at a library and it displays that stuff.
anyway, I tried to re-set the upload location in the .env file to be in the same directory as the immich-app directory. But now the server will not start properly (it tries, but keeps cutting out).
I get an error:
"Failed to read upload/library/.immich: Error: ENOENT: no such file or directory"
My upload location is set, in the .ENV file, to:
./immich-app/library
[I've also tried removing the "." and replacing it with the full path (/home/username/) but nothing works.]
The upload location has got full rwx permissions for my username and the group too.
The other parts of the container start up and stay up, it's just the server part that keeps dropping, with that error. It seems it cannot write that hidden .immich file. Does anyone know how to get past this?
Beta Was this translation helpful? Give feedback.
All reactions