I
Immich•2y ago
dwnewyork

Cannot get memories Null check operator used on a null value

So all was fine until yesterday when photos were uploaded without issues... Suddenly in the timeline page none of the assets are on the cloud. However from the web version I am able to see all assets already uploaded. Any thoughts?
9 Replies
Alex Tran
Alex Tran•2y ago
Can you help with posting the content of the error message?
dwnewyork
dwnewyorkOP•2y ago
#0 AssetResponseDto.fromJson (package:openapi/model/asset_response_dto.dart:246) #1 AssetResponseDto.listFromJson (package:openapi/model/asset_response_dto.dart:272) #2 MemoryLaneResponseDto.fromJson (package:openapi/model/memory_lane_response_dto.dart:53) #3 ApiClient._deserialize (package:openapi/api_client.dart:317) #4 ApiClient._deserialize.<anonymous closure> (package:openapi/api_client.dart:448) #5 MappedListIterable.elementAt (dart:_internal/iterable.dart:415) #6 ListIterator.moveNext (dart:_internal/iterable.dart:344) #7 new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:162) #8 new _List.of (dart:core-patch/array.dart:127) #9 new List.of (dart:core-patch/array_patch.dart:49) #10 SetBase.toList (dart:collection/set.dart:119) #11 ApiClient._deserialize (package:openapi/api_client.dart:449) #12 ApiClient.deserialize (package:openapi/api_client.dart:158) <asynchronous suspension> #13 AssetApi.getMemoryLane (package:openapi/api/asset_api.dart:1023) <asynchronous suspension> #14 MemoryService.getMemoryLane (package:immich_mobile/modules/memories/services/memory.service.dart:26) <asynchronous suspension> #15 memoryFutureProvider.<anonymous closure> (package:immich_mobile/modules/memories/providers/memory.provider.dart:9) <asynchronous suspension> #16 FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:337) <asynchronous suspension> Sorry for late response. Above is the stack trace
shenlong-tanwen
shenlong-tanwen•2y ago
Can you share your server / app version?
dwnewyork
dwnewyorkOP•2y ago
App version: 1.79.0 Build.103 Server version: 1.78.1
jrasm91
jrasm91•2y ago
I'm guessing a new field was added in 1.79 and not being sent by your server, since it is older
dwnewyork
dwnewyorkOP•2y ago
Oh I see. Do you know how can I download previous app version? Or an easy way to upgrade the server to make both compatible? I am new to docker world and I was able to get it setup initially without hiccups via docker compose. Thank you
jrasm91
jrasm91•2y ago
You can use the release environment variable to specify the tag v1.79.1, although there are a lot of bugs in that version that are fixed in 1.80, so I would just update to the latest.
jrasm91
jrasm91•2y ago
Docker Compose [Recommended] | Immich
Docker Compose is the recommended method to run Immich in production. Below are the steps to deploy Immich with Docker Compose.
dwnewyork
dwnewyorkOP•2y ago
Will try the upgrade option. Thanks The upgrade worked. Super seamless. I do not see the error any more. Thank you 😊

Did you find this page helpful?