paperless-mobile icon indicating copy to clipboard operation
paperless-mobile copied to clipboard

[Bug]: mobile app can't save changes to documents

Open Malli88 opened this issue 1 year ago • 7 comments

What happened?

If changing something to a document I can't save the changes. That's just in the mobile app

Steps to reproduce

Change something in a document Click save Nothing happens

Log output from the app

2024-05-30 19:48:22.084	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to restore previous session...
2024-05-30 19:48:22.085	DEBUG   --- [      AuthenticationCubit] - restoreSession           : There is nothing to restore.
2024-05-30 19:48:22.090	INFO    --- [                         ] -                          : Setting refresh rate to 90.0
2024-05-30 19:49:12.660	DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in stephan@pa***de...
2024-05-30 19:49:12.661	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user stephan@pa***de..
2024-05-30 19:49:12.661	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...
2024-05-30 19:49:12.999	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Bearer token successfully retrieved.
2024-05-30 19:49:13.001	DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Trying to fetch API version...
2024-05-30 19:49:13.103	WARNING --- [      AuthenticationCubit] - _getApiVersion           : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior!
2024-05-30 19:49:13.104	DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Successfully retrieved API version (3).
2024-05-30 19:49:13.104	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Trying to fetch remote paperless user for stephan@pa***de.
2024-05-30 19:49:13.286	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Remote paperless user successfully fetched.
2024-05-30 19:49:13.287	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Persisting user account information...
2024-05-30 19:49:13.314	DEBUG   --- [      AuthenticationCubit] - _addUser                 : User account information successfully persisted.
2024-05-30 19:49:13.314	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Persisting user app state...
2024-05-30 19:49:13.320	DEBUG   --- [      AuthenticationCubit] - _addUser                 : User state successfully persisted.
2024-05-30 19:49:14.224	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Saving user credentials inside encrypted storage...
2024-05-30 19:49:14.227	DEBUG   --- [      AuthenticationCubit] - _addUser                 : User credentials successfully saved.
2024-05-30 19:49:14.231	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Added new url to list of hosts.
2024-05-30 19:49:14.232	DEBUG   --- [      AuthenticationCubit] - login                    : User stephan@pa***de successfully logged in.
2024-05-30 19:49:14.254	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.256	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:14.330	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.331	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:14.819	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:49:14.819	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:14.820	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:14.821	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:14.839	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:49:14.839	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:49:15.011	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:15.034	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:49:44.338	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:49:44.519	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:27.295	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:50:27.594	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:39.860	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:50:39.861	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:50:40.287	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:50:40.400	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:50:40.401	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:50:40.519	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:27.885	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to restore previous session...
2024-05-30 19:51:27.886	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Verifying user identity...
2024-05-30 19:51:27.887	INFO    --- [                         ] -                          : Setting refresh rate to 90.0
2024-05-30 19:51:30.262	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Identity successfully verified.
2024-05-30 19:51:30.263	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Reading encrypted credentials...
2024-05-30 19:51:30.433	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Credentials successfully retrieved.
2024-05-30 19:51:30.433	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Updating security context...
2024-05-30 19:51:30.433	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Security context successfully updated.
2024-05-30 19:51:30.586	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Trying to update remote paperless user...
2024-05-30 19:51:30.586	DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Trying to fetch API version...
2024-05-30 19:51:30.749	WARNING --- [      AuthenticationCubit] - _getApiVersion           : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior!
2024-05-30 19:51:30.749	DEBUG   --- [      AuthenticationCubit] - _getApiVersion           : Successfully retrieved API version (3).
2024-05-30 19:51:30.749	DEBUG   --- [      AuthenticationCubit] - _updateRemoteUser        : Trying to update remote user object...
2024-05-30 19:51:30.927	DEBUG   --- [      AuthenticationCubit] - _updateRemoteUser        : Successfully updated remote user object.
2024-05-30 19:51:30.928	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Successfully updated remote paperless user.
2024-05-30 19:51:30.929	DEBUG   --- [      AuthenticationCubit] - restoreSession           : Previous session successfully restored.
2024-05-30 19:51:30.947	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:51:30.948	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 19:51:31.204	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:31.247	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 19:51:31.247	DEBUG   --- [          LabelRepository] - findAllTags              : Loading all tags...
2024-05-30 19:51:31.343	DEBUG   --- [          LabelRepository] - findAllTags              : Successfully updated all tags.
2024-05-30 19:51:33.955	DEBUG   --- [     DocumentScannerCubit] - initialize               : Restoring scans...
2024-05-30 19:51:33.982	DEBUG   --- [     DocumentScannerCubit] - initialize               : Restored 0 scans.
2024-05-30 20:09:45.317	INFO    --- [        DocumentEditCubit] - loadFieldSuggestions     : Loading suggestions for document 918...
2024-05-30 20:09:46.574	INFO    --- [        DocumentEditCubit] - loadFieldSuggestions     : Found 4 suggestions for document 918.
2024-05-30 20:09:53.733	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.299	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.639	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.823	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:55.994	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.174	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.344	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:56.403	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:09:56.565	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 20:09:57.050	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:09:58.088	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:02.861	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:03.065	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:03.244	INFO    --- [        DocumentEditCubit] - updateDocument           : Updating document 918...
2024-05-30 20:10:26.402	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:10:26.545	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-05-30 20:10:56.403	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : Checking for new documents in inbox...
2024-05-30 20:10:56.671	INFO    --- [               InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.

Screenshots

No response

Paperless-ng*x Version

2.8.6

Paperless-Mobile Version

3.2.1

Device

Pixel 7

Operating System Version

Android 14

Device Locale

German

Selected Locale

German

Additional Context

No response

Malli88 avatar May 30 '24 18:05 Malli88

I have exactly the same issues. Even after reinstalling the app.

Arlson avatar Jun 28 '24 20:06 Arlson

Is there something we can do to make working on that issue easier? Can we support?

Malli88 avatar Jul 15 '24 10:07 Malli88

Same here, logging in seems to update the list of documents but saving tags isn't possible.. Paperless version 2.9. not compatible with the android app?

Like this the app is unusable (to edit) I would be ready to donate some money to fix this.

epe avatar Aug 10 '24 08:08 epe

https://github.com/astubenbord/paperless-mobile/issues/331

This seems to have existed before and apparently has been solved. Don't understand how this works...

epe avatar Aug 10 '24 08:08 epe

Saving does not work for me as well. Pixel 7 Android 15

supaeasy avatar Nov 29 '24 17:11 supaeasy

I have exactly the same issues. Even after reinstalling the app.

Sipfox avatar Apr 08 '25 16:04 Sipfox

For me, recently it worked again.

epe avatar Apr 08 '25 16:04 epe