Comments (20)
Hmm, so only files from the external library won't have the extension. Let me check
from immich.
I have pushed a fix. Those who are affected, please run a refresh all files job after the fix is merged
from immich.
For those experienced with database queries, if you are still encountering issues with the latest update even after refreshing the files, you can use this query to update the assets
table with the required file extension:
UPDATE assets SET "originalFileName" = CONCAT("originalFileName",SUBSTRING("originalPath" FROM '\..*')) WHERE "originalFileName" NOT LIKE '%.%';
Please make a backup to assets
table before doing the above query.
After the query, pull to refresh twice on the mobile app for the timeline to rebuild to see the changes.
from immich.
Can you share the photos that cannot be downloaded, so that we can troubleshoot?
from immich.
I do not think it is related to the photos because this happened with photos taken from two different phones at the same period. Older photos taken with same phones and previously uploaded have no issues.
from immich.
Hello, just to aid in troubleshooting, having the trouble asset will help us a lot better
from immich.
This is an example of photo with this issue. Also when i try to share these photos through the app the file name in the app selection pop up does notinclude extension.
from immich.
Can you help zip the file up? When I tried to open the image, GitHub doesn't let me
from immich.
I would like to add that I am having this issue as well on both iOS and Android.
On iOS, sharing a photo results in no extension while on Android, I get a .deploy
extension.
An analysis from mine on the database shows that in the assets
table, data in originalFileName
column are missing the extensions and this seems to happen from version 1.98 onwards.
from immich.
@tiltshiftfocus Thank you for the data point. So the file itself doesn't have an extension, and they are in the immich's database?
from immich.
@alextran1502 The file itself has extension as updated from external library. They include JPG, HEIC, MOV, etc as seen below under originalPath
:
But the extensions are missing in the originalFileName
column:
I have checked on older entries before 9 March, and the extensions are there:
This issue should have some relation to #7781 .
from immich.
Hi! I just started using immich today as an application to view my photos. I followed this guide (https://immich.app/docs/features/libraries /) to connect external libraries. But I have the same problem as you. If I upload a photo via the immich web version, then everything works fine for me and the photo is displayed correctly, but if I connect an external library, I can see the files, but they are all gray (there is no image on them). I can see the information about the file and all files from the external library do not have an extension. I think that's why immich can't display them.
from immich.
I have pushed a fix. Those who are affected, please run a refresh all files job after the fix is merged
I just tried in the newest version with this fix. Performing refresh all files didn't fix the extensions. Did I miss anything?
from immich.
I still have the same problem after refreshing. I run all stack using docker. When i connect to the database and run above command i get "relation assets does not exist". Any ideas?
from immich.
My bad, even a force refresh does not re-read the filename, only timestamps.
from immich.
I still have the same problem after refreshing. I run all stack using docker. When i connect to the database and run above command i get "relation assets does not exist". Any ideas?
After connecting to the database it worked. I am noob in databases. Thank you for the solution.
from immich.
My bad, even a force refresh does not re-read the filename, only timestamps.
In the very least, future assets are now updated correctly 👍🏻.
from immich.
I did Install the latest version and did force refresh all external library. However the new photos are still showing up without extension and also cannot download via mobile app. We can see the downloaded file from the web app is ok. But mobile app still fails to download. Also info shows no file extension.
Download From web is ok.
Download error occurs from app.
File name while sharing from app.
from immich.
Yes, it appears that the file extension is not reloaded even on force refresh. Sorry! I'll reopen it until we've fixed it.
from immich.
This is now solved in the latest version. Rescan the library and the file name will be automatically be corrected.
Please verify that this works for you, I'll close this bug in the meantime
from immich.
Related Issues (20)
- Places missing on mobile app HOT 2
- New Thumbnails and images are not showing
- Mobile App - People View truncates after 1000 Pictures HOT 1
- Upload always stuck at ~340MB for large files on iOS HOT 1
- Basic Portainer stack deploy fails
- unhandled Error: 500 when importing an Apple Photos library with the CLI HOT 4
- iOS mobile app - some don't upload to immich server HOT 24
- iOS upload freezes on upload errors, silently fails, never resumes HOT 2
- Failed do delete large albumns (more than 32k items) HOT 3
- Cannot download images when browsing on Webview HOT 3
- Android App - Missing pictures on backed up folder HOT 8
- Photos backed up on the background are displayed as displayed as not uploaded HOT 5
- Videos cannot replay until going to a different photo HOT 2
- Unable to pull container: lchown /root/.npm: no data available HOT 1
- Mobile app is unusable with larger photos library
- [Bug] Live photo video component is downloaded with JPEG/HEIC extension HOT 2
- Immich not accessible after update to v1.103.1
- Web: Comments and video player controls inaccessible due to carousel in the way HOT 3
- FATAL: no pg_hba.conf entry for host
- Run db migrations prior to first startup HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immich.