Skip to content
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

Syncing failed with E035: Failed to create the following bookmark on the server: [object Object] #1799

Open
1 task
tom-ch1 opened this issue Dec 14, 2024 · 8 comments
Labels

Comments

@tom-ch1
Copy link

tom-ch1 commented Dec 14, 2024

Which version of floccus are you using?

5.4.0

How many bookmarks do you have, roughly?

800

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Nextcloud Bookmarks

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

Chromium Version 131.0.6778.139 (Official Build) built on Debian GNU/Linux 12 (bookworm) (64-bit)

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

v14.2.4

Which version of Nextcloud? (if relevant)

Nextcloud Hub 7 (28.0.9)

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

No response

Describe the Bug

I have 3 sync tasks: a) for the bookmark bar, b) for other bookmarks, and c) for Tabs.
a) and b) are working fine but c) stops with an error:
Syncing failed with E035: Failed to create the following bookmark on the server: [object Object]

Expected Behavior

Syncing Tabs should succeed

To Reproduce

It is unclear what causes the issue. From previous experiences with floccus - nextcloud, it was always due to long page names or special characters. As floccus does not tell me which tab fails (is that a bug in the logger?) and only outputs [object Object] it is impossible for me to check this out.

Debug log provided

  • I have provided a debug log file
@tom-ch1 tom-ch1 added the bug label Dec 14, 2024
Copy link

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus a few years ago, maintaining it ever since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
To continue the development and maintenance of this project in a sustainable way it is expected that you donate to the project when opening a ticket,
if you're not a donor already. You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

I look forward to working with you on this issue
Cheers 💙

@tom-ch1
Copy link
Author

tom-ch1 commented Dec 14, 2024

Donation done :-)

@marcelklehr
Copy link
Member

marcelklehr commented Dec 15, 2024

Hello 👋
Can you check the logs for the full error message? Ah, that won't work. Let me check how we can get the offending bookmark.

marcelklehr added a commit that referenced this issue Dec 15, 2024
see #1799

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr
Copy link
Member

Can you still send the last logs (possibly in redacted form)? I might be able to figure it out from there.

@github-project-automation github-project-automation bot moved this to Backlog in Floccus Dec 15, 2024
@marcelklehr marcelklehr moved this from Backlog to To Do: Bugs in Floccus Dec 15, 2024
@tom-ch1
Copy link
Author

tom-ch1 commented Dec 15, 2024

Hi Marcel,

9b2f6b9 --> cool thanks! How can I install a version with this commit? I could probably then find the offending bookmark

I found the redacted log and redacted it even more with:

  • replaced my server with https://my.redacted.nextcloud.domain
  • sed 's/\(url=https\?%3A%2F%2F\).*$/\1-redacted/' floccus-5.4.0-2024-12-15-redacted.log > floccus-5.4.0-2024-12-15-really-redacted.log because of some leaking bookmark urls.

You'll find the log on my google drive: https://drive.google.com/file/d/1sb0lWWzuahcx26T4lNAnfSYpZwFMcXIZ/view?usp=sharing

@marcelklehr
Copy link
Member

If you scroll down in the log, there's 6 bookmarks beig CREATEd on the server, I think. Three of those are failing. That should be quite easy to narrow down.

@tom-ch1
Copy link
Author

tom-ch1 commented Dec 20, 2024

I don't understand: There are hundreds of bookmarks created not just 6. What do I search for in the log to find the 6 you are talking about?

How can I install a version with this commit? 9b2f6b9

I could probably then find the offending bookmark

@marcelklehr
Copy link
Member

Sorry, you're right, it's not just 6, but right before the error and after Server: executing CREATEs I count 13 log entries with (nextcloud-folders)CREATE, which signals the execution of a create action. That should hopefully be easier to pin down than all bookarks.

How can I install a version with this commit? 9b2f6b9

Yes, that would be easier. You or someone else needs to build it.* I expect to work on floccus during the holidays and will probably publish this patch along with the next version soon, but I cannot promise anything.

* Build steps can be found here: https://github.com/floccusaddon/floccus?tab=readme-ov-file#development

@marcelklehr marcelklehr moved this from To Do: Bugs to Triaging in Floccus Dec 21, 2024
marcelklehr added a commit that referenced this issue Dec 21, 2024
see #1799

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr moved this from Triaging to In progress in Floccus Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

No branches or pull requests

2 participants