session-foundation / session-ios

A private messenger for iOS.
https://getsession.org
GNU General Public License v3.0
3 stars 1 forks source link

[BUG] Database error after offload and reinstall #34

Closed shivaprsd closed 1 year ago

shivaprsd commented 1 year ago

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

Current Behavior

The following error occurs at startup (see screenshot)

B2EB2829-8782-442B-A749-341211BC086E

Expected Behavior

The app should open and restore my chats from the database.

Steps To Reproduce

  1. Offload the app via iOS Storage settings.
  2. Reinstall from the App Store.
  3. Open the app.

iOS Version

iOS 15.7.9

Session Version

2.4.1 (424)

Anything else?

Exported application logs: com.loki-project.loki-messenger 2023-10-23--10-22-19-560.log

aSeniyants commented 1 year ago

The same issue

mpretty-cyro commented 1 year ago

@shivaprsd looking at your logs the issue was caused by a migration problem introduced in 2.4.1 which was fixed in 2.4.2 - if you update to the latest version it should just work (let me know if not)

@aSeniyants Do you know which version you are running or are you able to share the exported logs via the Export Logs button on the modal which appears?

shivaprsd commented 1 year ago

@mpretty-cyro Thanks for the head up. Update solved the issue!