Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening Realm files of format version 23 is not supported by this version of Realm. #8736

Open
devssun opened this issue Jan 2, 2025 · 1 comment

Comments

@devssun
Copy link

devssun commented Jan 2, 2025

How frequently does the bug occur?

Always

Description

Hello,
I am using the realm-swift library in an iOS app through SPM.

After upgrading from version 10.7.4 to 10.38.0, I encountered the error:
"Opening Realm files of format version 23 is not supported by this version of Realm."

Data was being saved successfully, but at some point, the saved data disappeared.

Currently, there have been no changes to the schema, and I only updated the library. I increased the schema version, but the previously saved data is still not visible.
I would like to ask if there are additional steps I need to take or if simply increasing the schema version is sufficient.

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

10.38.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

iOS

Build environment

Xcode version: 16
Dependency manager and version: ...

@marinofaggiana
Copy link

We have millions of installations and something like this has happened to us too, many users have had the app no ​​longer able to store data, they only solved it by reinstalling the app.

In the past if there was some problem the realm file was destroyed starting from scratch if perhaps a bad change had been made or an incorrect migration or simply a forgetfulness of the schema but something like this had never happened to us, it seems that it has corrupted the .realm so that it no longer accepts data... it is mandatory to destroy and recreate the DB

Please Realm Team ... have you some data for us ?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants