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
Can you help with posting the content of the error message?
#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
Can you share your server / app version?
App version: 1.79.0 Build.103
Server version: 1.78.1
I'm guessing a new field was added in 1.79 and not being sent by your server, since it is older
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
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.Here are general updates instructions
https://immich.app/docs/install/docker-compose#step-4---upgrading
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.
Will try the upgrade option. Thanks
The upgrade worked. Super seamless. I do not see the error any more. Thank you 😊