status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
299 stars 79 forks source link

Account using 2.30.1 is unable to update to 2.31 RC 0 #16566

Closed glitchminer closed 3 weeks ago

glitchminer commented 3 weeks ago

Bug Report

Description

User is unable to update from 2.30.1 to 2.31 RC 0

Steps to reproduce

./nim_status_client --LOG_LEVEL=DEBUG
INFO [10-22|13:28:38.974] Status backend initialized               backend=geth version=3.4.0 commit=3179532b6 IpfsGatewayURL=https://ipfs.status.im/
INF 2024-10-22 13:28:39.421Z app info                                   topics="status-app" tid=11898373 file=nim_status_client.nim:246 version=2.31.0-rc.0 commit=4370e26df currentDateTime=2024-10-22T14:28:39+01:00
INF 2024-10-22 13:28:39.421Z starting application controller...         topics="status-app" tid=11898373 file=nim_status_client.nim:248
ERROR[10-22|13:28:39.422] failed to initialize accounts db         package=status-go/api.GethStatusBackend err="failed to migrate up: file does not exist, current version: 1724407149"
ERROR[10-22|13:28:39.422] error in makeJSONResponse                error="failed to migrate up: file does not exist, current version: 1724407149"
ERROR[10-22|13:28:40.499] error in makeJSONResponse                error="centralized metrics not initialized"
ERR 2024-10-22 13:28:40.499Z isCentralizedMetricsEnabled                tid=11898373 file=service.nim:16 errorMsg="centralized metrics not initialized"
INF 2024-10-22 13:28:40.585Z starting application...                    topics="status-app" tid=11898373 file=nim_status_client.nim:251
DBG 2024-10-22 13:28:40.589Z [threadpool task thread] initiating task   topics="task-threadpool" tid=11898400 file=threadpool.nim:56 messageType=AsyncAddCentralizedMetricIfEnabledTaskArg:ObjectType threadid=11898400 task="{\"$type\":\"AsyncAddCentralizedMetricIfEnabledTaskArg:ObjectType\",\"eventName\":\"navigation\",\"eventValueJson\":\"{\\\"viewId\\\":\\\"Welcome\\\",\\\"flowType\\\":\\\"General\\\"}\",\"vptr\":105553127099616,\"slot\":\"onCentralizedMetricAddedIdEnabled\"}"
ERROR[10-22|13:28:40.589] error in makeJSONResponse                error="centralized metrics not initialized"
ERR 2024-10-22 13:28:40.589Z isCentralizedMetricsEnabled                tid=11898400 file=service.nim:16 errorMsg="centralized metrics not initialized"
2024-10-22 14:28:40.688 nim_status_client[86065:11898373] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
DBG 2024-10-22 13:28:40.692Z qt message   

Expected behavior

2.31 RC 0 allows user to continue using the same account

Actual behavior

App displays existing accounts

Additional Information

jrainville commented 3 weeks ago

I can also reproduce. I've seen it before in dev, but I thought it was because of bouncing back and forth in versions.

I'm unsure what causes it, maybe some sort of migrations to the accounts DB?