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

[Vivaldi] Unable to fetch bookmarks from Nextcloud 12 instance #18

Closed
e-alfred opened this issue Jun 21, 2017 · 12 comments
Closed

[Vivaldi] Unable to fetch bookmarks from Nextcloud 12 instance #18

e-alfred opened this issue Jun 21, 2017 · 12 comments

Comments

@e-alfred
Copy link

Hello,

I installed the Floccus 1.2.0 *.crx plugin in Vivaldi 1.10.867.38 and entered my address/credentials, but the plugin is unable to fetch Bookmarks from a Nextcloud 12 instance with the Bookmarks app 0.10.0 enabled.

I get the following in the developer console for the plugin in Vivaldi:

Fetching bookmarks Objectpassword: "password"url: "https://server/owncloud/"username: "user"__proto__: Object
server/owncloud//index.php/apps/bookmarks/public/rest/v2/bookmark?page=-1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
background-script.js:100 Error: Failed to retrieve bookmarks from ownCloud
    at browser.storage.local.get.then.then.response (background-script.js:23)
    at <anonymous>
bookmarks.sync.catch.err @ background-script.js:100

This is the log entry in the nextcloud.log file on the server:

{"reqId":"grhrhf","level":3,"time":"2017-06-21T15:33:35+02:00","remoteAddr":"1.1.1.1","user":"--","app":"index","method":"GET","url":"\/owncloud\/\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"The requested uri(\\\/owncloud\\\/index.php\\\/apps\\\/bookmarks\\\/public\\\/rest\\\/v2\\\/bookmark) cannot be processed by the script '\\\/owncloud\\\/\\\/index.php')\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(952): OC\\\\AppFramework\\\\Http\\\\Request->getRawPathInfo()\\n#1 \\\/var\\\/www\\\/owncloud\\\/index.php(40): OC::handleRequest()\\n#2 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Request.php\",\"Line\":729}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/59.0.3071.90 Safari\/537.36 Vivaldi\/1.91.867.38","version":"12.0.0.29"}
{"reqId":"grhrhf","level":0,"time":"2017-06-21T15:35:15+02:00","remoteAddr":"1.1.1.1","user":"--","app":"core","method":"GET","url":"\/owncloud\/\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark?page=-1","message":"Scss is disabled for \/var\/www\/owncloud\/core\/css\/styles.scss, ignoring","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/59.0.3071.90 Safari\/537.36 Vivaldi\/1.91.867.38","version":"12.0.0.29"}
@marcelklehr
Copy link
Member

marcelklehr commented Jun 21, 2017 via email

@e-alfred
Copy link
Author

Okay, removed the trailing slash and now it fetches the bookmarks from the server as I can see in the console. But no bookmarks are shown in the Bookmarks pane of Vivaldi. Not even the Owncloud folder is created by the extension. I cannot see any error in the console though.

@marcelklehr
Copy link
Member

marcelklehr commented Jun 22, 2017

The owncloud folder should be somewhere. It's a pattern that people don't look too hard for it. It might not be toplevel. In firefox it's inside "Other bookmarks"

@e-alfred
Copy link
Author

e-alfred commented Jun 23, 2017

I tried it on two different Vivaldi setups on different machines, but neither the folder gets created nor any bookmarks get synced. If I search for them on a fresh Vivaldi installation, none of them are found by the search nor are they showing up anywhere.

It seems that Vivaldi does something different compared to other Chromium-based browsers, so I sent a mail to their support as suggested here:

https://help.vivaldi.com/article/extensions/

I will tell you if I get some more information from them.

@e-alfred
Copy link
Author

e-alfred commented Jul 31, 2017

I got this answer back from Vivaldi support:

There are extensions that still doesn't work well with Vivaldi especially those that interacts with bookmarks, UI and history since Vivaldi does not use the same format as Chrome does. I will look into this extension, but it would be helpful if you contact the developer and ask for Vivaldi support. We will do the same.

Seems like Vivaldi is different from the rest of the Chromium-based browsers supporting WebExtensions.

@lala-rob
Copy link

I found something interesting when i export my Bookmarks.
The Sync is working but the Folder is not visible.
Vivaldi is storing his Bookmarks in an Subfolder(Bookmarks).

Maby you must only change the root folder...
2017-08-21 09_19_43-lesezeichen

@va-h
Copy link

va-h commented Aug 26, 2017

I can confirm @lala-rob findings.

@marcelklehr
Copy link
Member

I will probably have to add the ability to select a custom folder then.

@marcelklehr marcelklehr changed the title Unable to fetch bookmarks from Nextcloud 12 instance with Floccus installed on Vivaldi [Vivaldi] Unable to fetch bookmarks from Nextcloud 12 instance Aug 26, 2017
@e-alfred
Copy link
Author

e-alfred commented Oct 2, 2017

Tried 1.3.0 beta 3 on latest Vivaldi snapshot 1.13.971.8 but the problem persists. The bookmarks get downloaded without a problem but no folder is created nor do the bookmarks show up.

@marcelklehr marcelklehr added this to To Do in Floccus Feb 23, 2018
@marcelklehr
Copy link
Member

Let me know if this is fixed in floccus v2.0.0. You should be able to select a custom folder now ;)

@marcelklehr marcelklehr moved this from To Do to In progress in Floccus Mar 17, 2018
@e-alfred
Copy link
Author

Yes, selection of a different folder resolves the bug! Thanks for the awesome work!

Floccus automation moved this from In progress to Done Mar 28, 2018
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

No branches or pull requests

4 participants