-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Unable to export bookmarks from certain folders #2257
Comments
Hello 👋 Thank you for taking the time to open this issue with the bookmarks app. I know it's frustrating when software I look forward to working with you on this issue |
@github-actions Isn't this app a Nextcloud product, currently under the official Nextcloud GitHub account? |
Sorry, but it's just a red flag that with just one issue we discovered a bunch of other problems:
There's also a few that are unrelated to this one. For example, the number of bookmarks inside a folder sometimes doesn't show up for the folders, but always shows up for the subfolders, possibly counting them every time, breaking occassionally, instead of using some sort of a cache. ScreenshotMachine's API implementation fails to grab ~99% of page screenshots if the links were added manually, but somehow grabs ~90% of page screenshots if the bookmarks were imported from a .html file. All awhile everything is deployed in the modern, ideal conditions, deployed with AIO and nginx and accessed with the most recent stable OSes and browsers. Someone inside Nextcloud GmbH who allowed this project to stay under the organization's account needs to be whooped with a stick. It gives credit to the app, tricking people into believing it's an official product, while it's actually "not an official Nextcloud product" and the project is barely held maintained by a developer who has a job... Inside the very company in question. I've already spent hours fishing for the data (software versions, logs) for this issue and just can't justify prioritizing doing the same for 4 more issues (even though they should be raised up!) What I can proritize is giving a workaround for people who may have the same problem and find this issue via search engines. Using Floccus:
Unfortunately, you lose your notes this way, which may be unaccaptable if you've spent hours annotating your collection. A small tip, you can use a different, empty Chrome profile to export only the synced bookmarks instead of every Chrome bookmark you have on your main profile. Using Docker & Python (if you're running Nextcloud AIO):
I'm not a programmer and couldn't figure out how to preserve the folders and tags this way, so you'll lose this metadata, but the notes (description) will be there. If you're running Nextcloud through other means, the idea is the same but the steps will be different. I'm staying hopeful that my |
Hello @ArakiSatoshi |
Describe the bug
A clear and concise description of what the bug is that when I'm using the "Bookmarks Settings" -> "Export bookmarks" button, only the folders under certain directories get exported while others don't. For example,
The "Unsorted" folder contains 100+ bookmarks.
The contents of the exported .html file:
When I navigate to the folder and try to press "Export bookmarks" from within the folder, I get this:
I'm not sure, but it's possible that the bookmarks that can't make it into the exported .html file were previously imported in bulk using the "Import bookmarks" button.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The exported .html file should contain every single bookmark, and exporting from "broken" folders should work as intended instead of leading to the "Page not found" error.
Screenshots
Added above.
Desktop (please complete the following information):
Irrelevant, same behavior on mobile Chrome and mobile Firefox. Though, on Firefox I see a bunch of "Failed to count bookmarks" errors on the right side of the screen when I click on the export button.
Server (please complete the following information):
I don't know why it's important since Nextcloud AIO Docker images are unified anyway, but after investigating multiple running containers, here are the details:
(The domain name obfuscated to avoid exposure to search engines)
Additional context
I'm not sure, but it's possible that the bookmarks that can't make it into the exported .html file were previously imported in bulk using the "Import bookmarks" button.
Web server error log
I don't know how to check Apache logs inside the container. On the host system, nginx's
error.log
doesn't get any new entries during exporting, andaccess.log
contains this:Nextcloud log (nextcloud/data/nextcloud.log)
It's 680KB in size and contains my IP address. I've checked it manually and there doesn't seem to be any recent entries related to the Bookmarks app. I confirm that exporting the bookmarks doesn't trigger any new logs.
cat data/nextcloud.log | grep "/apps/bookmarks"
contains this:Browser log
The network log shows a
404 Not Found
status code for the GET request, request linkhttps://example.com/apps/bookmarks/folders/bookmark/export?requesttoken=g4ca...
The console shows a few errors when I click "Export bookmarks" within the "broken" folder:
And generally it doesn't like simply staying inside the "broken" folder with a bunch of errors I can't share because of GitHub's limit:
And even more
/favicon
and/image
errors the further you scroll.Though, to be fair, there's a lot of similar errors when I scroll through the folders that do export correctly.
The text was updated successfully, but these errors were encountered: