[GH-ISSUE #878] Sync fails with "Failed to map parentId: 55" #568

Closed
opened 2026-02-25 22:37:31 +03:00 by kerem · 12 comments
Owner

Originally created by @lx4r on GitHub (May 15, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/878

Describe the bug

I'm running Firefox 89.0b12 and Nextcloud 20.0.6. Whenever I try to sync my bookmarks using Floccus I get the error message "Failed to map parentId: 55".

To Reproduce

Steps to reproduce the behavior:

  1. Click on the addon icon in Firefox's toolbar.
  2. Click on 'Sync Now'

Expected behavior

I expected my bookmarks to be synced.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

(please complete the following information)

  • OS: macOS Catalina
  • Browser Firefox
  • Browser Version 89.0b12
  • Floccus version: 4.6.4
  • Floccus sync method: (don't know where to get this information, just entered my Nextcloud login details in the Floccus settings)

Server

(please complete the following information)

  • OS: CentOS I think, my Nextcloud is hosted on a webspace
  • Nextcloud version: 20.0.6
  • Bookmarks app version: 4.2.0

Note: Please write down the actual version numbers instead of writing 'latest'.

Debug log

It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser.

Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://cloud.marcelklehr.de/s/PCi3iLWrzdMZSmw

  • Debug log provided

Additional context

Add any other context about the problem here.

Thanks in advance for the help.

Originally created by @lx4r on GitHub (May 15, 2021). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/878 ### Describe the bug I'm running Firefox 89.0b12 and Nextcloud 20.0.6. Whenever I try to sync my bookmarks using Floccus I get the error message "Failed to map parentId: 55". ### To Reproduce Steps to reproduce the behavior: 1. Click on the addon icon in Firefox's toolbar. 2. Click on 'Sync Now' ### Expected behavior I expected my bookmarks to be synced. ### Screenshots If applicable, add screenshots to help explain your problem. ### Desktop (please complete the following information) - OS: macOS Catalina - Browser Firefox - Browser Version 89.0b12 - Floccus version: 4.6.4 - Floccus sync method: (don't know where to get this information, just entered my Nextcloud login details in the Floccus settings) ### Server (please complete the following information) - OS: CentOS I think, my Nextcloud is hosted on a webspace - Nextcloud version: 20.0.6 - Bookmarks app version: 4.2.0 Note: Please write down the actual version numbers instead of writing 'latest'. ### Debug log It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser. Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://cloud.marcelklehr.de/s/PCi3iLWrzdMZSmw - [ ] Debug log provided ### Additional context Add any other context about the problem here. Thanks in advance for the help.
Author
Owner

@marcelklehr commented on GitHub (May 16, 2021):

Could you provide a debug log?

<!-- gh-comment-id:841793341 --> @marcelklehr commented on GitHub (May 16, 2021): Could you provide a debug log?
Author
Owner

@dolomiti70 commented on GitHub (May 18, 2021):

Same problem here, but with different parentID
"Failed to map parentId: 1282"
I can´t provide a debug log, because the Debug-Button doesn´t work.
I´m syncing to my NAS via Webdav. Last successful sync was on 16.05.21. I´m using Vivaldi 3.9.2289.3 on Win10

<!-- gh-comment-id:843406920 --> @dolomiti70 commented on GitHub (May 18, 2021): Same problem here, but with different parentID "Failed to map parentId: 1282" I can´t provide a debug log, because the Debug-Button doesn´t work. I´m syncing to my NAS via Webdav. Last successful sync was on 16.05.21. I´m using Vivaldi 3.9.2289.3 on Win10
Author
Owner

@dolomiti70 commented on GitHub (May 18, 2021):

Found this in the Dec-Console of my browser

2021-05-18T18:05:13.885Z Starting sync process for account xxxxxx192.168.1.xxx
2021-05-18T18:05:14.177Z onSyncStart: begin
2021-05-18T18:05:14.180Z http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock
GET http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock 404 (Not Found)
downloadFile @ 
checkLock @ 
obtainLock @ 
onSyncStart @ 
sync @ 
async function (async)
sync @ 
syncAccount @ background-script.js:9
async function (async)
syncAccount @ background-script.js:9
TRIGGER_SYNC @ chrome-extension://f…ist/js/options.js:7
2021-05-18T18:05:14.222Z http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock
2021-05-18T18:05:14.614Z onSyncStart: completed
2021-05-18T18:05:14.627Z Using "overwrite" strategy
2021-05-18T18:05:15.092Z Overriding title of built-in node 1 Lesezeichen => Bookmarks Bar
2021-05-18T18:05:16.300Z {localDiff: t, serverDiff: t}
2021-05-18T18:05:16.318Z {localTreeRoot: t, serverTreeRoot: t, cacheTreeRoot: t}
2021-05-18T18:05:16.328Z {revertPlan: t}
2021-05-18T18:05:16.669Z Overriding title of built-in node 1 Lesezeichen => Bookmarks Bar
2021-05-18T18:05:16.763Z {localTreeRoot: t, serverTreeRoot: t, cacheTreeRoot: t}
 Error: Failed to map parentId: 1282
    at 
    at Array.forEach (<anonymous>)
    at t.map ()
    at e.<anonymous> ()
    at 
    at Object.next ()
    at a ()
 Syncing failed with Failed to map parentId: 1282
sync @ 
async function (async)
sync @ 
syncAccount @ background-script.js:9
async function (async)
syncAccount @ background-script.js:9
TRIGGER_SYNC @ chrome-extension://f…ist/js/options.js:7
2021-05-18T18:05:16.775Z Syncing failed with Failed to map parentId: 1282
2021-05-18T18:05:16.781Z onSyncFail

I didn't found the xbel.lock-file on my NAS.
Then I've deleted the xbel file on my NAS and made a new sync and anything works fine.

Maybe this helps you.
Sorry for the bad codelayout. The linefeed did not work for me in the codebox.

<!-- gh-comment-id:843421768 --> @dolomiti70 commented on GitHub (May 18, 2021): Found this in the Dec-Console of my browser ``` 2021-05-18T18:05:13.885Z Starting sync process for account xxxxxx192.168.1.xxx 2021-05-18T18:05:14.177Z onSyncStart: begin 2021-05-18T18:05:14.180Z http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock GET http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock 404 (Not Found) downloadFile @ checkLock @ obtainLock @ onSyncStart @ sync @ async function (async) sync @ syncAccount @ background-script.js:9 async function (async) syncAccount @ background-script.js:9 TRIGGER_SYNC @ chrome-extension://f…ist/js/options.js:7 2021-05-18T18:05:14.222Z http://192.168.1.xxx/homes/xxxxxx/bookmarks.xbel.lock 2021-05-18T18:05:14.614Z onSyncStart: completed 2021-05-18T18:05:14.627Z Using "overwrite" strategy 2021-05-18T18:05:15.092Z Overriding title of built-in node 1 Lesezeichen => Bookmarks Bar 2021-05-18T18:05:16.300Z {localDiff: t, serverDiff: t} 2021-05-18T18:05:16.318Z {localTreeRoot: t, serverTreeRoot: t, cacheTreeRoot: t} 2021-05-18T18:05:16.328Z {revertPlan: t} 2021-05-18T18:05:16.669Z Overriding title of built-in node 1 Lesezeichen => Bookmarks Bar 2021-05-18T18:05:16.763Z {localTreeRoot: t, serverTreeRoot: t, cacheTreeRoot: t} Error: Failed to map parentId: 1282 at at Array.forEach (<anonymous>) at t.map () at e.<anonymous> () at at Object.next () at a () Syncing failed with Failed to map parentId: 1282 sync @ async function (async) sync @ syncAccount @ background-script.js:9 async function (async) syncAccount @ background-script.js:9 TRIGGER_SYNC @ chrome-extension://f…ist/js/options.js:7 2021-05-18T18:05:16.775Z Syncing failed with Failed to map parentId: 1282 2021-05-18T18:05:16.781Z onSyncFail ``` I didn't found the xbel.lock-file on my NAS. Then I've deleted the xbel file on my NAS and made a new sync and anything works fine. Maybe this helps you. Sorry for the bad codelayout. The linefeed did not work for me in the codebox.
Author
Owner

@marcelklehr commented on GitHub (Jun 10, 2021):

Thank you for the feedback and sorry for the trouble, I'm a bit swamped at the moment, but will look into this soon-ish.

<!-- gh-comment-id:858608518 --> @marcelklehr commented on GitHub (Jun 10, 2021): Thank you for the feedback and sorry for the trouble, I'm a bit swamped at the moment, but will look into this soon-ish.
Author
Owner

@marcelklehr commented on GitHub (Aug 6, 2021):

The latest release v4.7 is out now and has a lot of fixes, including a fix for an instance of this error. Please test and report back if this is fixed. Thank you 💙

<!-- gh-comment-id:894180723 --> @marcelklehr commented on GitHub (Aug 6, 2021): The latest release v4.7 is out now and has a lot of fixes, including a fix for an instance of this error. Please test and report back if this is fixed. Thank you :blue_heart:
Author
Owner

@stale[bot] commented on GitHub (Aug 20, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:902734975 --> @stale[bot] commented on GitHub (Aug 20, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@bernd-wechner commented on GitHub (Oct 29, 2021):

I landed here Googling the same issue. Just tried to sync with a browser I haven't synced with in a year.

<!-- gh-comment-id:954366305 --> @bernd-wechner commented on GitHub (Oct 29, 2021): I landed here Googling the same issue. Just tried to sync with a browser I haven't synced with in a year.
Author
Owner

@mnalis commented on GitHub (Oct 29, 2021):

@bernd-wechner what is your:

  • browser and its version
  • floccus addon version
  • nextcloud version
  • bookmarks app version

Have you tried latest versions if they fix the problem for you?

<!-- gh-comment-id:954403079 --> @mnalis commented on GitHub (Oct 29, 2021): @bernd-wechner what is your: - browser and its version - floccus addon version - nextcloud version - bookmarks app version Have you tried latest versions if they fix the problem for you?
Author
Owner

@bernd-wechner commented on GitHub (Oct 29, 2021):

  1. Works fine on Firefox.
  2. Works fine on Chrome at work.
  3. Working at home and tried Chrome (as I has some Firefox issues with Outlook and was looking for a comparison).
  4. Noticed bookmarks all old.
  5. Synced, and got that error.

Chrome: Version 95.0.4638.69 (Official Build) (64-bit)
Floccus: 4.8.2
Nextcloud: 22.2.0
Bookmarks app: 10.0.2
Debug log tail:

2021-10-29T03:40:44.275Z (local)CREATEFOLDER     + #undefined[Mobile Bookmarks] parentId: 0, hash: undefined

2021-10-29T03:40:44.276Z This action affects the absolute root. Skipping.
2021-10-29T03:40:44.276Z (local)CREATEFOLDER     + #undefined[Bookmarks Menu] parentId: 0, hash: undefined

2021-10-29T03:40:44.276Z This action affects the absolute root. Skipping.
2021-10-29T03:40:44.292Z Syncing failed with Failed to map parentId: 86
<!-- gh-comment-id:954406885 --> @bernd-wechner commented on GitHub (Oct 29, 2021): 1. Works fine on Firefox. 2. Works fine on Chrome at work. 3. Working at home and tried Chrome (as I has some Firefox issues with Outlook and was looking for a comparison). 4. Noticed bookmarks all old. 5. Synced, and got that error. Chrome: Version 95.0.4638.69 (Official Build) (64-bit) Floccus: 4.8.2 Nextcloud: 22.2.0 Bookmarks app: 10.0.2 Debug log tail: ``` 2021-10-29T03:40:44.275Z (local)CREATEFOLDER + #undefined[Mobile Bookmarks] parentId: 0, hash: undefined 2021-10-29T03:40:44.276Z This action affects the absolute root. Skipping. 2021-10-29T03:40:44.276Z (local)CREATEFOLDER + #undefined[Bookmarks Menu] parentId: 0, hash: undefined 2021-10-29T03:40:44.276Z This action affects the absolute root. Skipping. 2021-10-29T03:40:44.292Z Syncing failed with Failed to map parentId: 86 ```
Author
Owner

@marcelklehr commented on GitHub (Oct 31, 2021):

Noticed bookmarks all old.

If you are confident that there's nothing on that browser you'll miss, you could try a one-time pull sync (possibly with starting from scratch / resetting cache beforehand).

<!-- gh-comment-id:955722150 --> @marcelklehr commented on GitHub (Oct 31, 2021): > Noticed bookmarks all old. If you are confident that there's nothing on that browser you'll miss, you could try a one-time pull sync (possibly with starting from scratch / resetting cache beforehand).
Author
Owner

@bernd-wechner commented on GitHub (Nov 1, 2021):

I've tried that but the button "Trigger Sync from Scratch" was not doing anything noticeable. Alas. I could try disabling all other extensions on that particular Chrome browser and leaving just floccus enabled as sometimes, extensions like Blokada or Privacy Badger or ... or .... or .... that sniff Javascript can have bugs themselves and interfere with other extensions.

I am confident there's nothing on that browser I'll miss yes, a complete pull is a perfectly fine option if I can make it happen ;-).

<!-- gh-comment-id:955823087 --> @bernd-wechner commented on GitHub (Nov 1, 2021): I've tried that but the button "Trigger Sync from Scratch" was not doing anything noticeable. Alas. I could try disabling all other extensions on that particular Chrome browser and leaving just floccus enabled as sometimes, extensions like Blokada or Privacy Badger or ... or .... or .... that sniff Javascript can have bugs themselves and interfere with other extensions. I am confident there's nothing on that browser I'll miss yes, a complete pull is a perfectly fine option if I can make it happen ;-).
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 2023):

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:1476410528 --> @github-actions[bot] commented on GitHub (Mar 20, 2023): 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#568
No description provided.