-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
VipsJpeg: out of order read at line 0 #65
Comments
Can you try to sign out and sign back in from your phone? |
This issue, plus some order issues with sharp I've run into when working kn the app have made me to rethink of a different method to get the thumbnail images by generating the thumbnail from the phone based on the asset's data and send it along with the raw images. I am experimenting with this to see if there is a lot of difference in term on performance and uploading time. |
doesn't make a difference - should it rescan anything? |
It would retry to refresh the cache. However, I am experimenting with getting thumbnail images from the phone. The result is very promising, with the much faster upload speed and cut dependency from Sharp and FFmpeg. |
@arminus This issue should be fixed in the latest release If you have access to a Postgres client, you can delete all the rows in the assets table and reupload all the files. If not, you can follow the steps below on the command line to delete all the existing assets info in the database after running
Noe, the upload process should be faster and also should resolve the thumbnail issue. Let me know how it goes. |
Ok, the errors are gone and all thumbnails are getting created. All in all though it seems less stable. I repeatedly had these messages:
after which I had to restart both the container as well as the app for the sync to continue. Also, the immich_server container permanently eats ~ 15% of my CPU, even if it doesn't do anything. Is that the development watch mode? How can I turn that of? (tried setting production in the .env file, doesn't start in that case) |
Did you delete the assets from the database following the steps in the previous post? This error means that you have existing assets (files) and try to rewrite them into the database with the existing assets' information. I would assume you only deleted the files in the shared folder? My CPU on standby shows 1.5 to 3 % of usage I am using |
Of course I deleted the contents from the assets table. I think that at some point during the sync (> 2000 images and videos), something "happend", i.e. it stopped from some reason. Maybe when it tries to restart it produces that error. |
Thank you for the feedback, let me think about this issue. |
The original issue is resolved so I think this can be closed. See also #75 |
Client: v.0.6 Android 8.0 / Samsung A5
Server: Pi4
Getting this for every image that is sent:
Might be related to [this|https://github.com/lovell/sharp/issues/1578] which correlates with my Samsung device. Maybe add an option failOnError: false like they did?
Also, does this error have any negative effect downstream? It appears as if my files get stored and thumbnails are created...
The text was updated successfully, but these errors were encountered: