Closed 2GetApp closed 5 days ago
Hello :wave:
Thank you for taking the time to open this issue with the bookmarks app. 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 have been maintaining this software the last few years. I currently work for Nextcloud but maintain this app in my free time, because it is not an official Nextcloud product. My day job at Nextcloud is pretty awesome but sadly 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 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! 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 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. (Also see our Code of Conduct. Really.)
I look forward to working with you on this issue Cheers :blue_heart:
mmmh, that's strange. Could you perhaps export your bookmarks in the web UI and send the export to me for reproduction?
mmmh, that's strange. Could you perhaps export your bookmarks in the web UI and send the export to me for reproduction?
Sorry to leave out the most important information. My bookmarks contain just too much sensitive information to be shared. I am still trying to find out the relevant bookmark entries that are related to this bug.
After exporting all bookmarks and importing them to a fresh account, synchronization proceeds normally for the new account. So my current guess is that the generated fields (notes, generated previews and fetched html, etc) from some web pages with faulty encoding caused the problem.
After exporting all bookmarks and importing them to a fresh account, synchronization proceeds normally for the new account. So my current guess is that the generated fields (notes, generated previews and fetched html, etc) from some web pages with faulty encoding caused the problem.
That's a good lead!
@2GetApp Could you try making these changes locally in your environment to see if they fix your issue? https://github.com/nextcloud/bookmarks/pull/2204/files
@2GetApp Could you try making these changes locally in your environment to see if they fix your issue? https://github.com/nextcloud/bookmarks/pull/2204/files
After some experimentation (edit note with messy contents like 製ä½, move to trash bin and restore) on suspicious folders and bookmarks, my account is able to synchronize now. But I somehow lost the content that caused the problem because I had to do the experimentation on the original account (new account synchronizes normally). Now I am not able to reproduce the bug myself :(
I have to wait for the content to be regenerated in the new account (I don't know how to generate them immediately). I will try the fix if I reproduce the bug.
Still not able to reproduce it. I will just give up and upgrade the bookmarks app.🥲
I ran into a very similar issue: Desktop:
OS: Debian 12
Browser: Firefox
Version: 115.14.0esr
Server:
OS: Ubuntu 22.04 arm64
HTTP server: apache2
Database: 10.11.8-MariaDB-0ubuntu0.24.04.1
PHP version: 8.3
Nextcloud version: 29.0.5
Bookmarks app version: 14.2.4
The error message I get when I try to sync my bookmarks from my browser to Nextcloud is:
DbalException An exception occurred while executing a query: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xE8\xE2\x80\xA6' for column
nextcloud.
oc_bookmarks.
titleat row 1
I found out that the the following link is causing the issue: https://github.com/cirosantilli/china-dictatorship#cute-cat-theory-of-digital-activism
I also have another setup of Nextcloud where the only difference is the database being mysql not mariadb. There, the syncing goes without an error.
@reary1993 Could you try making these changes locally in your environment to see if they fix your issue? #2204 (files)
@marcelklehr I can confirm that #2204 fixed my issue. Thanks for your work.
Yay!
Describe the bug floccus was not able to synchronize bookmarks (got http 500 error). The server log shows: "Malformed UTF-8 characters, possibly incorrectly encoded". This happened after I upgraded bookmarks app to 14.2.3. Folder names are redacted from the provided log bellow. I have folder names with special characters (space and ampersand &), as well as Japanese and Chinese characters, but everything worked fine before upgrading.
To Reproduce Steps to reproduce the behavior:
Expected behavior Bookmarks are supposed to be synchronized successfully.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Server (please complete the following information):
$ sudo -u www-data php occ app:list
in your command line]sudo -u www-data php occ config:list system
]Additional context Add any other context about the problem here.
Web server error log
Nextcloud log (nextcloud/data/nextcloud.log)
Browser log