I have never ever been able to sync any app from my phone to the Murena cloud, other than my email. All my notes in the Notes app were always stored on my phone and persisted through all previous /e/OS updates.
But, today, my phone updated to /e/OS 1.9-s-20230310268290-stable-FP3 and all my phone-stored notes are gone. My Notes app is now sync’ed and, I’m assuming, sync’ed with the empty Notes stored in the cloud.
Is there any hope that I can recover the notes that were stored on my phone?
I have the same issue : lost my precious notes after the last update. I wonder where the notes are saved on the phone.
I went to my Murena account and there is nothing there (Notes has not synchronised it seems). Any walkaround appreciated!
Hi thanks for the link. Unfortunately, I don’t quite understand what to do…
I can’t find the `/data/data/foundation.e.notes/databases/OWNCLOUD_NOTES folder.
Also when I open note app I get an error message. Should I paste it here?
Yes I reviewed the whole post but as I said I don’t understand. I see there is a two line method but where should it be written?
My phone is a galaxy S7 bought from eelo in 2018. I didn’t install anything I am just a skillless user.
Below is the message I get when I try to open note
App Version: 3.7.1
App Version Code: 3007001
App Flavor: ACCOUNT_MANAGER
Files App Version Code: 402060000OS Version: 3.18.91-g35f12d2389e(eng.root.20230310.201313)
OS API Level: 29
Model (and Product): SM-G930F (heroltexx)com.nextcloud.android.sso.exceptions.NextcloudHttpRequestFailedException: La requête HTTP a échoué avec le statut HTTP :301
at com.nextcloud.android.sso.api.NextcloudAPI$$ExternalSyntheticLambda0.subscribe(Unknown Source:6)
at it.niedermann.owncloud.notes.importaccount.ImportAccountActivity$$ExternalSyntheticLambda2.run(Unknown Source:4)
Caused by: java.lang.IllegalStateException:
301 Moved Permanently
301 Moved Permanently
your error is the same as filed in Gitlab (see further up the thread), something goes wrong inside a method that imports accounts into the App state. Before the update to v1.9, the Notes app was rather far behind (1.0.1, more than 2 years), and since got account management added. For some users on the migration to the account model, something fails when talking to the remote (murena cloud or else).
The App can’t handle this breakdown and recover. Without reproducing the error reliably there’s no bugfix yet, one that would also need to be distributed wit another update - the “two line” method I gave is for people familiar with debugging Android, I’m afraid it could be useless to most, but user @aibd gave a longer explanation, that again, still can be useless to a majority of users.
Here is an adb manual https://adbshell.com/. Please feel free to ask if you would like to take this further. However …
Are you familiar with booting into Recovery mode ? Would you be comfortable using the TWRP File manager, to see if you can confirm the existence of OWNCLOUD_NOTES on your device; as I showed on my device:
I do not know if it could be part of a fix … but there might be the opportunity to copy the database … and think of a way to have the notes extracted by others … just a thought.
You might add your experience to the bug report, hoping that an official fix can be devised and you can be kept informed of progress.
let’s try something easier first - as the stacktrace fails inside the account importer method and it relies usually on the official nextcloud client, install that one, associate with the murena server (disable file sync) and open the native Notes App (not yet the upstream fork) - let’s see if this let’s the migrations successfully run.
In any case you can still try the adb method if this doesn’t yield something positive.
the next /e/ update to v1.10 will avoid the error and open, but not restore notes that were local only and never synced. As I see it, adb methods are the only ones available. I can write more elaborate Howtos, but they will involve the commandline.
I mean I’d be glad if this (the recovery of local-only notes) works, but didn’t see it when I tested myself, maybe I missed something.
Nextcloud notes app uses the official Room library for its Db. There must be tooling around to offer a button in the settings to export db state - greatly simplifying any recovery if the user needs one. That is one of my takeaways from this. It would empower the user that can install a GUI Sqlitebrowser, but the whole adb stuff is too much for
as you initially said you lost all your notes on both phone and in the Murena account I’m sceptic the v1.10 update once released will make a difference for you. But if it will, all the better and feedback that it does is appreciated
I noticed there was further work by Fahim I was missing before on introducing a migration for old note entries that never synced. That is the proper way, I’m impressed - https://gitlab.e.foundation/e/os/notes/-/merge_requests/39 … this will very likely recover notes that were thought to be lost with the App update