[GH-ISSUE #1327] "Failed to create the following bookmark on the server: [object Object]" #882

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

Originally created by @unficyp on GitHub (Jan 20, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1327

Which version of floccus are you using?

4.18.1

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 109.0.5414.74 (Offizieller Build) Arch Linux (64-Bit)

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

10.5.1

Which version of Nextcloud? (if relevant)

Nextcloud Hub II (23.0.12)

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

No response

Describe the Bug

Syncing (merge) works except for one Entry:
https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh

error part of the logfile:
{ type: 'REORDER', payload: + #403[C++/QT] parentId: 1, hash: 0c5aca1276a5aa9715e869e2d2ba23a405f45d0ca8b74bbd5aebad86bce5c40a - #404[qtforum.de - Foren-Übersicht](https://www.qtforum.de/) parentId: 403 - #405[Qt Centre Forum](https://www.qtcentre.org/forum.php) parentId: 403 - #481[Modernes C++](https://www.modernescpp.com/) parentId: 403 - #483[C++ (Cpp) Code Examples - HotExamples](https://cpp.hotexamples.com/) parentId: 403, order: [Object] } ] } 2023-01-20T10:36:07.604Z Checking failsafe: 0/387=0 2023-01-20T10:36:07.604Z (nextcloud-folders)CREATE - #undefined[NIEMAND glaubt einem Kinderschläger! 🌳 MINECRAFT LiTW #401 - YouTube](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 255 2023-01-20T10:36:08.291Z Syncing failed with E035: Failed to create the following bookmark on the server: [object Object]

already tried to change the name,location or some parts of the url of the bookmark -> same error
uploaded log: floccus-4.18.1-2023-01-20.log

Expected Behavior

No error

To Reproduce

add the book mark to a folder in the bookmark bar, open floccus, press Sync now button.

Debug log provided

  • I have provided a debug log file
Originally created by @unficyp on GitHub (Jan 20, 2023). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1327 ### Which version of floccus are you using? 4.18.1 ### 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 109.0.5414.74 (Offizieller Build) Arch Linux (64-Bit) ### Which version of Nextcloud Bookmarks are you using? (if relevant) 10.5.1 ### Which version of Nextcloud? (if relevant) Nextcloud Hub II (23.0.12) ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug Syncing (merge) works except for one Entry: https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh error part of the logfile: ` { type: 'REORDER', payload: + #403[C++/QT] parentId: 1, hash: 0c5aca1276a5aa9715e869e2d2ba23a405f45d0ca8b74bbd5aebad86bce5c40a - #404[qtforum.de - Foren-Übersicht](https://www.qtforum.de/) parentId: 403 - #405[Qt Centre Forum](https://www.qtcentre.org/forum.php) parentId: 403 - #481[Modernes C++](https://www.modernescpp.com/) parentId: 403 - #483[C++ (Cpp) Code Examples - HotExamples](https://cpp.hotexamples.com/) parentId: 403, order: [Object] } ] } 2023-01-20T10:36:07.604Z Checking failsafe: 0/387=0 2023-01-20T10:36:07.604Z (nextcloud-folders)CREATE - #undefined[NIEMAND glaubt einem Kinderschläger! 🌳 MINECRAFT LiTW #401 - YouTube](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 255 2023-01-20T10:36:08.291Z Syncing failed with E035: Failed to create the following bookmark on the server: [object Object]` already tried to change the name,location or some parts of the url of the bookmark -> same error uploaded log: floccus-4.18.1-2023-01-20.log ### Expected Behavior No error ### To Reproduce add the book mark to a folder in the bookmark bar, open floccus, press Sync now button. ### Debug log provided - [X] I have provided a debug log file
kerem 2026-02-25 22:38:21 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Jan 20, 2023):

The problem is likely the emoji. You should also check the Nextcloud log for errors

<!-- gh-comment-id:1398226683 --> @marcelklehr commented on GitHub (Jan 20, 2023): The problem is likely the emoji. You should also check the Nextcloud log for errors
Author
Owner

@unficyp commented on GitHub (Jan 20, 2023):

also thought that the emoji is the culprit soi changed the name of the bookmark to "test" - but that does not solve the problem - guess thats not enough ?

nextcloud log shows:
"Exception":"OC\\DB\\Exceptions\\DbalException", "Message":"An exception occurred while executing a query: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xF0\\x9F\\x8C\\xB3 M...' for columnnextcloud.oc_bookmarks.description at row 1", "Code":1366,

<!-- gh-comment-id:1398234909 --> @unficyp commented on GitHub (Jan 20, 2023): also thought that the emoji is the culprit soi changed the name of the bookmark to "test" - but that does not solve the problem - guess thats not enough ? nextcloud log shows: ` "Exception":"OC\\DB\\Exceptions\\DbalException", "Message":"An exception occurred while executing a query: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\\xF0\\x9F\\x8C\\xB3 M...' for column `nextcloud`.`oc_bookmarks`.`description` at row 1", "Code":1366,`
Author
Owner

@marcelklehr commented on GitHub (Jan 20, 2023):

That error still points to the emoji. Is this without the emoji?

<!-- gh-comment-id:1398264252 --> @marcelklehr commented on GitHub (Jan 20, 2023): That error still points to the emoji. Is this without the emoji?
Author
Owner

@unficyp commented on GitHub (Jan 20, 2023):

This one is:
- #488[test](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 1, order: [Object] } ] } 2023-01-20T12:07:47.418Z Checking failsafe: 0/388=0 2023-01-20T12:07:47.418Z (nextcloud-folders)CREATE - #undefined[test](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 249 2023-01-20T12:07:48.213Z Syncing failed with E035: Failed to create the following bookmark on the server: [object Object]

strange: i went throuh the bookmaks logfile:

` {
"file":"/var/www/nextcloud/apps/bookmarks/lib/Service/BookmarkService.php",
"line":151,
"function":"_addBookmark",
"class":"OCA\Bookmarks\Service\BookmarkService",
"type":"->",
"args":[
"gweber",
"https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh",
"test",
"🌳 MINECRAFT LITW: http://grnk.yt/litw🌳 ALLE LPs & Co: http://gronkh.video 🌳 NEUE RL-SKINS: http://gronkh.shop·············································...",
null,
[
249
]
]
},

     {
        "file":"/var/www/nextcloud/lib/private/DB/Connection.php",
        "line":270,
        "function":"executeStatement",
        "class":"Doctrine\\DBAL\\Connection",
        "type":"->",
        "args":[
            "INSERT INTO `oc_bookmarks` (`url`, `title`, `description`, `user_id`, `added`, `lastmodified`, `last_preview`, `clickcount`) VALUES(?, ?, ?, ?, ?, ?, ?, ?)",
            [
                "https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh",
                "test",
                **"🌳 MINECRAFT LITW: http://grnk.yt/litw🌳 ALLE LPs & Co: http://gronkh.video 🌳 NEUE RL-SKINS: http://gronkh.shop·············································...",**
                "gweber",
                1674216468,
                "And 3 more entries, set log level to debug to see all entries"
            ],
            [
                2,
                2,
                2,
                2,
                1,
                "And 3 more entries, set log level to debug to see all entries"
            ]
        ]
    },`

where is this link coming from ? don't have that in other bookmarks

<!-- gh-comment-id:1398310820 --> @unficyp commented on GitHub (Jan 20, 2023): This one is: ` - #488[test](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 1, order: [Object] } ] } 2023-01-20T12:07:47.418Z Checking failsafe: 0/388=0 2023-01-20T12:07:47.418Z (nextcloud-folders)CREATE - #undefined[test](https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh) parentId: 249 2023-01-20T12:07:48.213Z Syncing failed with E035: Failed to create the following bookmark on the server: [object Object]` strange: i went throuh the bookmaks logfile: ` { "file":"/var/www/nextcloud/apps/bookmarks/lib/Service/BookmarkService.php", "line":151, "function":"_addBookmark", "class":"OCA\\Bookmarks\\Service\\BookmarkService", "type":"->", "args":[ "gweber", "https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh", "test", **"🌳 MINECRAFT LITW: http://grnk.yt/litw🌳 ALLE LPs & Co: http://gronkh.video 🌳 NEUE RL-SKINS: http://gronkh.shop·············································...",** null, [ 249 ] ] }, { "file":"/var/www/nextcloud/lib/private/DB/Connection.php", "line":270, "function":"executeStatement", "class":"Doctrine\\DBAL\\Connection", "type":"->", "args":[ "INSERT INTO `oc_bookmarks` (`url`, `title`, `description`, `user_id`, `added`, `lastmodified`, `last_preview`, `clickcount`) VALUES(?, ?, ?, ?, ?, ?, ?, ?)", [ "https://www.youtube.com/watch?v=G75F6newMv8&ab_channel=Gronkh", "test", **"🌳 MINECRAFT LITW: http://grnk.yt/litw🌳 ALLE LPs & Co: http://gronkh.video 🌳 NEUE RL-SKINS: http://gronkh.shop·············································...",** "gweber", 1674216468, "And 3 more entries, set log level to debug to see all entries" ], [ 2, 2, 2, 2, 1, "And 3 more entries, set log level to debug to see all entries" ] ] },` where is this link coming from ? don't have that in other bookmarks
Author
Owner

@marcelklehr commented on GitHub (Jan 20, 2023):

The app is probably auto-populating the description from the URL you give it

<!-- gh-comment-id:1398315854 --> @marcelklehr commented on GitHub (Jan 20, 2023): The app is probably auto-populating the description from the URL you give it
Author
Owner

@marcelklehr commented on GitHub (Jan 20, 2023):

In any case, you should change your mysql collation: https://docs.nextcloud.com/server/stable/admin_manual/configuration_database/mysql_4byte_support.html

<!-- gh-comment-id:1398317339 --> @marcelklehr commented on GitHub (Jan 20, 2023): In any case, you should change your mysql collation: https://docs.nextcloud.com/server/stable/admin_manual/configuration_database/mysql_4byte_support.html
Author
Owner

@unficyp commented on GitHub (Feb 22, 2023):

closing. installed nc nexthub 25.x on a new server -> works now

<!-- gh-comment-id:1439725874 --> @unficyp commented on GitHub (Feb 22, 2023): closing. installed nc nexthub 25.x on a new server -> works now
Author
Owner

@github-actions[bot] commented on GitHub (Feb 23, 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:1960600329 --> @github-actions[bot] commented on GitHub (Feb 23, 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#882
No description provided.