-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
NextcloudFilesAppAccountNotFoundException after having server offline and migrating to Nextcloud app authentication #1190
Comments
The app is already fully offline capable and the error message hints on something else going wrong. The communication between the Notes Android app and the Nextcloud Android app failed, it did not even request the server. However i am not able to reproduce the issue, but it looks like you maybe removed your acccount from the Nextcloud Android app after configuring it in the Notes Android app. Can you please uninstall Notes (backup unsynchronized changes, they will be lost) to get rid of this weird state, upgrade to Thanks |
I cannot backup the changes, because it cannot synchronize them with Nextcloud, because of this error. So this is a chicken egg problem. Indeed I have the server running again and it still does not work. Also upgraded to the lastest version now and the error still happens – it tells me it knows my account though:
|
What might have caused this issue is that I upgraded to the new account system (with login via Nextcloud app) when that was available. Before I used a custom access token IIRC, then the server got offline, then I upgraded by selecting my account from the Nextcloud app. But since then, I get this error and the app does not work. Also, what's bad even more is that the app does not load the locally saved data, it just spins infinitively. I can also not click on the "account" switcher in the app to add a new account or so. I can do nothing, Thus, could you please reopen this as a bug? |
No, we keep track of it in #1256 which describes the same issue.
So according to your description you just upgraded from Version 1.x.x to version 3.4.x? Is this correct? |
No, I did upgrade from time to time and used all versions. However, I did the migration (and AFAIK one could alsom not skip it), when it prompted me to do so. That is way older however. |
I am not sure what you mean with "the migration"? The Notes app did never prompt for any migration. The only time in history you were prompted to choose an account was after an update from What exactly fid you do before the issue occurs the first time? You're NC instance was offline - so far so good, that is not an issue, the app can handle offline states. Did you do anything with your user account via the Web UI? Anything on your Android device in the Nextcloud app (the main app)? Or in the accounts section of the Android settings? |
This is what I’m referring to with “the migration”, i.e. the first time when the SSO was introduced.
Based on your description, I guess I upgraded from
Yeah, it could be totally unrelated to that…
No, the server was offline after all. 🙃
No, it stayed all the way it was. The server has a different IP and I upgraded the server from NC 14 (I guess that was the last version it the News app had seen) to NC 21, but that’s it.
Yes, I always updated the app, even though/even when the server was offline. |
Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Is your feature request related to a problem? Please describe.
Yes, I do have the problem that I did upgrade this app to the latest version while not having an active Nextcloud account to use – because the server is “temporarily” down. In my case “temporarily” is a longer time… 😜
In any case, this is a problem, because now I have to choose an account, which cannot be contacted etc. and thus the app stops working. I now even cannot see previously used and saved notes now due to that.
Could not the same problem arise when you are in a forest with no network connectivity or just have flight mode enabled etc. etc.?
IMHO, the app should still be as usable as possible then.
To be more exact, currently it shows this:
Just in case you consider it a bug – though, I have to say it’s totally understandable it cannot find the account as the server is currently offline, as said. 😄
Describe the solution you'd like
Showing errors etc. may be okay – though once I’m logged in a warning is sufficient (that it cannot synchronize my notes), but IMHO, it should still keep my notes locally and allow me to use it as best as possible (just as with the files in a filesystem on a desktop). It should just sync the notes as fast as possible when the internet/server is back online.
Describe alternatives you've considered
Not really many…
Additional context
I saw #615 and it may be similar. However, my problem exists with an existing account and not about a about a separate “local notes could have account ID
0
”, so I thought, this I’ll better open a new feature request as this may be something different…The text was updated successfully, but these errors were encountered: