-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset is no longer in an import path, removing #13570
Comments
Can you help updating to the latest version first then see of the error message is still there? |
Ope thought I was at the latest, you guys come out with releases quick :) I just upgraded to v1.118.2 and did the appropriate yml config changes, then deleted the library, created and scanned new library, and I saw all the photos and videos and 154GB in the external library tab, however server stats only says 2GB. Then did a rescan and got the same issue as before. Tons of messages saying: "DEBUG [Microservices:LibraryService] Asset is no longer in an import path, removing: " then the photo name. |
What is your import path? |
@etnoy docker container shows it exists: |
Your import path must be absolute. /usr/src/app/external/Norton_Family I didn't know a relative path would pass validation, that part is a bug |
Oh. Well, that was an easy fix. I see these messages during a rescan and they are showing in the external library tab: So it looks like it's working alright now after using an absolute path. Thanks! Weird that's been working fine for me for months, didn't realize it was absolute path, but I should've tried that. |
We have done major work under the hood recently, likely it worked before but no longer. Closing. |
The bug
I created a new postgres and library folder to test it wasn't just something weird there and I scanned in one of the smaller folders to test. I found when I scanned in the library it shows the correct size in the external library tab, but under server stats it says 0B but have 1400 images and 200 videos. But I can see everything in Immich just fine. But if I try to rescan the folder, I get a bunch of messages that says:
"DEBUG [Microservices:LibraryService] Asset is no longer in an import path, removing: " then the file name it's removing. Then I go back to immich Photos tab and all the images are gone, but they still exist on the hard drive and are in the correct spot in the immich_server docker container.
I have the most recent version of Immich installed through Docker on Armbian on my RockPi. It has run without issues till a couple weeks ago.
My question is why is it removing them? and it was scanning them correctly and the path is the same, but what changed?
How do I fix this issue? I'm out of ideas.
The OS that Immich Server is running on
Armbian 23.8.1 bullseye
Version of Immich Server
v1.118.2
Version of Immich Mobile App
v1.118.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
Immich has been working fine since January and I've been staying up-to-date. I've followed the breaking changes and made appropriate changes.
The text was updated successfully, but these errors were encountered: