Floccus: Failed to map parentId: uw7U4EZOJHvn

Created on 25 Feb 2021  路  13Comments  路  Source: floccusaddon/floccus

Describe the bug

I get this error, but I can't find the error or the ID 'uw7U4EZOJHvn' in the log at all. The log looks pretty normal

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

(please complete the following information)

  • Archlinux (EndeavorOS)
  • Firefox 86
  • Floccus 4.5.0
  • Nextcloud Bookmarks

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

  • [x] Debug log provided (floccus-4.5.0-2021-02-25_lesnake04)

Additional context

My other sync to the same cloud has no problem at all.

bug

Most helpful comment

Sorry that it has been taken for so long -- was busy with other things unfortunately. I've just uploaded my anonymized log file "floccus-4.6.2-2021-04-08_anonymized.log" to your server. Hope that helps! Thank you!

All 13 comments

hi @LeSnake04

This would be a bug in the sync algorithm, likely in the "Sync down" strategy. A short-term fix might be to 1.) do a backup 2.) reset the cache to sync from scratch.

hi @LeSnake04

This would be a bug in the sync algorithm, likely in the "Sync down" strategy. A short-term fix might be to 1.) do a backup 2.) reset the cache to sync from scratch.

Yeah. This only happends when downloading bookmarks

I will try the 'fix' in the next days

Updated to 4.6 (didn't tried the temporary fix yet)
Now I get the mentioned error when uploading and when downloading the plugin can't map the parentid 58 (discovered in my log this is the ID of my Folder "BackupKonferenzen")

Get this here as well. Extract from my debug log:

    + #miYKinwKZlU9[Search-Engines] parentId: menu________, hash: undefined
    - #p_Ove-N_oOmF[Example](http://www.example.com/) parentId: miYKinwKZlU9

So the parentId is pointing to the entry in the first line it seems, but the hash for this is undefined. Not sure if my analysis is correct though.

I'm working on a fix, I'll have a patch release ready soon :)

Nice! Can't wait for it :-) Thanks

Release with the fix is out now. Let me know if this works for you :)

Just upgraded to 4.6.1 on FF 86 here -- unfortunately did not fix my problem, same error. I also clicked on the "Trigger Sync from Scratch" button, but has the same effect.

Is there anything particular in the debug log I can send you to help debugging this?

{ type: 'CREATE', payload: + #miYKinwKZlU9[Search-Engines] parentId: menu________, hash: undefined ... { type: 'UPDATE', payload: - #gymCylWGa3Pd[Startpage](https://www.startpage.com/do/search) parentId: miYKinwKZlU9, oldItem: - #905;211[Search Startpage.com - The world's most private search engine](https://www.startpage.com/do/search) parentId: 211 }, ... 2021-03-16T19:30:05.063Z Syncing failed with Failed to map parentId:miYKinwKZlU9

Is there anything particular in the debug log I can send you to help debugging this?

I'd need more information on which way you're syncing, where the line that you pasted came from, i.e. what is written before the list that this line is part of. So far it seems that "Search-Engines" may have been removed, but only after Startpage was moved out of it. Now, Search-Engines is being recreated and Startpage moved back in, but as Search-Engines has been recreated it has a new ID now. It's just guesswork, though. It would help tremendously if you could upload the full log here: cloud.marcelklehr.de/s/PCi3iLWrzdMZSmw The log will not be publicly accessible and I will destroy it once I've fixed this bug.

Thanks for the offer -- right now I can't access the machine in question, but I'll upload the log as soon as I can!

Sorry that it has been taken for so long -- was busy with other things unfortunately. I've just uploaded my anonymized log file "floccus-4.6.2-2021-04-08_anonymized.log" to your server. Hope that helps! Thank you!

@x86dev Thanks! This was helpful indeed! I'll get on to fixing this soon.

Note to self: There's an UPDATE happening on an item in a newly created item, during a "merge default" sync. The UPDATE should probably have been a MOVE instead, to delay mapping until the new element is actually created.

Nice, glad to hear that this has helped! I felt a bit uncomfortable to provide a non-anonymized log, but this was easy to cripple with a few regexes. This might be an idea for Floccus as well to have a checkbox (opt-in to not anonymize by default), so that users have a lower barrier of providing their (often work-critical / sensitive) bookmarks.

I'll try out the fix as soon as I've access to the new version. Thanks again!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozboss picture ozboss  路  3Comments

gerroon picture gerroon  路  4Comments

fermat2a picture fermat2a  路  3Comments

aliher1911 picture aliher1911  路  6Comments

enoch85 picture enoch85  路  7Comments