realm / realm-object-server

Tracking of issues related to the Realm Object Server and other general issues not related to the specific SDK's
https://realm.io
293 stars 42 forks source link

No data on ROS #296

Closed seferdemir closed 6 years ago

seferdemir commented 6 years ago

I removed ROS after Error:Failed to resolve ':::9080'. I reinstalled ROS v1.8.3 and copied files to /var/lib/realm/object-server/0/user_data. Users can login but no data. How can i resolve it?

bigfish24 commented 6 years ago

Are you trying to migrate to 2.0?

Sent with GitHawk

seferdemir commented 6 years ago

Thank you for interest. No, but can I migrate while preserving data? Current version is v1.8.3, but previous data does not appear.

bigfish24 commented 6 years ago

Have you read the migration docs: https://realm.io/docs/realm-object-server/latest/#upgrading which will help copy and convert the data for 2.0. If the app is deployed you have to do a couple updates to make it seamless for your users, as described in the doc. Each SDK provides a callback to manually copy data from the client 1.x Realm to 2.0 such as https://realm.io/docs/swift/latest/#migrating-from-realm-object-server-1-to-20

As for 1.8.3 did you make sure the configuration.yml has the data path correct?

Sent with GitHawk

seferdemir commented 6 years ago

Yes I have read. I don't use Swift. How can i do it for Java? Where is the /srv/old-root directory?

bmunkholm commented 6 years ago

@seferdemir Did you get further on this? Did you check the relevant section in the Java docs? https://realm.io/docs/java/latest/#migrating-from-realm-object-server-1-to-2?

bmunkholm commented 6 years ago

Closing due to no response. Please reopen when/if you can provide more details.