[GH-ISSUE #1379] Syncing failed with E034: Bookmarks file is unreadable. #912

Closed
opened 2026-02-25 22:38:26 +03:00 by kerem · 2 comments
Owner

Originally created by @storm49152 on GitHub (Apr 30, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1379

Which version of floccus are you using?

4.19.1

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Firefox desktop 112.0.1

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

I'm running Pydio Cells. It's just a WebDAV server, nothing special here.

Describe the Bug

I know there have been a couple of issues raised about this error message, but I actually solved the problem I had: I was having an issue with the error message itself.

When I configured Floccus, I thought I did it correct. But I didn't, and I got debug logs like this:

2023-04-12T16:53:16.181Z Starting sync process for account user@webdav.server.tld
2023-04-12T16:53:16.280Z onSyncStart: begin
2023-04-12T16:53:16.281Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T16:53:17.421Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T16:53:18.762Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T16:53:20.422Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T16:53:22.629Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
[etc...etc...etc...]
2023-04-12T17:04:32.340Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T17:07:21.883Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock
2023-04-12T17:10:53.955Z Syncing failed with E034: Bookmarks file is unreadable. Did you forget to set an encryption passphrase?
2023-04-12T17:10:53.977Z onSyncFail

Point is, it says: Syncing failed with E034: Bookmarks file is unreadable. However, this isn't the problem at all, unless the message means that the remote bookmarks file is unreadable (which I guess the message should then clearly state).

The mistake was obviously mine for using an incorrect remote path (Pydio needs dav/ in front of the personal-files/), and therefore Floccus couldn't save a file onto the WebDAV server. The error message threw me off, making me think Floccus could not read the local bookmarks file, but it has no problems doing that.

Expected Behavior

This is not actually a bug, as Floccus works just fine. I only want to make a friendly request: please change the error message to better point to the actual problem, or add a condition which better logs the error.

To Reproduce

Configure an incorrect remote path on the WebDAV server.
Or, I guess, configure a remote path that does not fully exist on the WebDAV server; I didn't test this condition, but it really boils down to the same thing.

Debug log provided

  • I have provided a debug log file
Originally created by @storm49152 on GitHub (Apr 30, 2023). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1379 ### Which version of floccus are you using? 4.19.1 ### Sync method WebDAV ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Firefox desktop 112.0.1 ### Which version of Nextcloud Bookmarks are you using? (if relevant) _No response_ ### Which version of Nextcloud? (if relevant) _No response_ ### What kind of WebDAV server are you using? (if relevant) I'm running Pydio Cells. It's just a WebDAV server, nothing special here. ### Describe the Bug I know there have been a couple of issues raised about this error message, but I actually solved the problem I had: I was having an issue with the error message itself. When I configured Floccus, I thought I did it correct. But I didn't, and I got debug logs like this: ``` 2023-04-12T16:53:16.181Z Starting sync process for account user@webdav.server.tld 2023-04-12T16:53:16.280Z onSyncStart: begin 2023-04-12T16:53:16.281Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T16:53:17.421Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T16:53:18.762Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T16:53:20.422Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T16:53:22.629Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock [etc...etc...etc...] 2023-04-12T17:04:32.340Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T17:07:21.883Z https://webdav.server.tld/personal-files/firefox/floccus.xbel.lock 2023-04-12T17:10:53.955Z Syncing failed with E034: Bookmarks file is unreadable. Did you forget to set an encryption passphrase? 2023-04-12T17:10:53.977Z onSyncFail ``` Point is, it says: `Syncing failed with E034: Bookmarks file is unreadable.` However, this isn't the problem at all, unless the message means that the remote bookmarks file is unreadable (which I guess the message should then clearly state). The mistake was obviously mine for using an incorrect remote path (Pydio needs `dav/` in front of the `personal-files/`), and therefore Floccus couldn't save a file onto the WebDAV server. The error message threw me off, making me think Floccus could not read the _local_ bookmarks file, but it has no problems doing that. ### Expected Behavior This is not actually a bug, as Floccus works just fine. I only want to make a friendly request: please change the error message to better point to the actual problem, or add a condition which better logs the error. ### To Reproduce Configure an incorrect remote path on the WebDAV server. Or, I guess, configure a remote path that does not fully exist on the WebDAV server; I didn't test this condition, but it really boils down to the same thing. ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:38:26 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (May 21, 2023):

Thank you for the nice issue :) I'll change the error message to be more clear :)

<!-- gh-comment-id:1556133705 --> @marcelklehr commented on GitHub (May 21, 2023): Thank you for the nice issue :) I'll change the error message to be more clear :)
Author
Owner

@github-actions[bot] commented on GitHub (May 21, 2024):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:2121475842 --> @github-actions[bot] commented on GitHub (May 21, 2024): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#912
No description provided.