I just updated (updateself/update) and upon restarting was looking at logs - I noticed this error in the bitwarden-api log - things seem to be working ok, but I don’t like to ignore errors. Is this something I should be concerned about? I host this for my friends and family, so I try to be diligent with backups and such. What steps should I take to troubleshoot this?
Thanks,
Jason P.
Info below:
bitwarden.sh version 2023.12.0
Docker version 24.0.5, build ced0996
docker-compose version 1.18.0, build 8dd22a9
docker logs bitwarden-api
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://[::]:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /app
fail: Bit.Api.Jobs.ValidateUsersJob[2]
Error performing ValidateUsersJob.
System.Text.Json.JsonException: 'E' is invalid after a single JSON value. Expected end of data. Path: $ | LineNumber: 15 | BytePositionInLine: 1.
---> System.Text.Json.JsonReaderException: 'E' is invalid after a single JSON value. Expected end of data. LineNumber: 15 | BytePositionInLine: 1.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker)
at System.Text.Json.Utf8JsonReader.ConsumeNextTokenOrRollback(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at Bit.Core.Services.LicensingService.ReadUserLicense(User user) in /home/runner/work/server/server/src/Core/Services/Implementations/LicensingService.cs:line 257
at Bit.Core.Services.LicensingService.ProcessUserValidationAsync(User user) in /home/runner/work/server/server/src/Core/Services/Implementations/LicensingService.cs:line 198
at Bit.Core.Services.LicensingService.ValidateUsersAsync() in /home/runner/work/server/server/src/Core/Services/Implementations/LicensingService.cs:line 156
at Bit.Api.Jobs.ValidateUsersJob.ExecuteJobAsync(IJobExecutionContext context) in /home/runner/work/server/server/src/Api/Jobs/ValidateUsersJob.cs:line 21
at Bit.Core.Jobs.BaseJob.Execute(IJobExecutionContext context) in /home/runner/work/server/server/src/Core/Jobs/BaseJob.cs:line 19