[GH-ISSUE #56] Floccus Unable to Remove Bookmarks #55

Closed
opened 2026-02-25 22:35:59 +03:00 by kerem · 7 comments
Owner

Originally created by @SomePoorBastard on GitHub (Mar 20, 2018).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/56

Hello there. Before you read any further, I would like to thank you for taking the time to review this issue. I understand that your time is valuable and want to make sure that I am thorough and clear in documentation. Let me know if anything needs clarification

Notes about Bookmark API Support

I noticed while writing this issue up that the API documentation changed about eight days ago at the time of writing. Checking out your GitHub profile I can see you do contribue to both the Bookmarks app for Nextcloud and Floccus. I am unsure however if you have had time to adapt to those changes with this new API in place.

Main Issue

With this, know that some of the data I have provided is obfuscated/changed. This includes the username (changed to somepoorbastard), some IPs (different network address and/or subnet), and some timezone information. Other than this, all information should be unmodified.

I am using Mozilla Firefox with Floccus 2.0.0 installed. I am unable to synchronize the removal of bookmarks from the Nextcloud server. Hovering over the error reports that "Removing a bookmark on the server failed. remoteid=<#>", where # is the id of the bookmark in question.

The debugging console accessed through about:debugging for Floccus revealed the following information:

Figure 1: Floccus Debug Log

Starting sync process for account somepoorbastard@https://192.168.2.251  Account.js:112:6
SERVERDELETE Auco3kb9ZJdZ 4  Account.js:145:10
SERVERDELETE Qrc7WBYmfzla 2  Account.js:145:10
SERVERDELETE -lEY1iUR2CA7 11  Account.js:145:10
SERVERDELETE U7nzVuxdYude 7  Account.js:145:10
Response { type: "basic", url: "https://192.168.2.251/index.php/apps/bookmarks/public/rest/v2/bookmark/4", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false }  Nextcloud.js:265:4
Syncing failed with Error: Removing a bookmark on the server failed. remoteId=4
Stack trace:
_callee5$@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:7036:23
tryCatch@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6150:37
invoke@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6424:22
defineIteratorMethods/</prototype[method]@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6183:16
step@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:6443:183
step/<@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:6443:361
run@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3911:22
notify/<@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3924:28
flush@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:1209:9
  Account.js:132:6
	_callee9$ Account.js:132:6
	tryCatch moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6150:37
	invoke moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6424:22
	defineIteratorMethods/</prototype[method] moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6183:16
	step moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:4400:183
	step/< moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:4400:402
	run moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3911:22
	notify/< moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3924:28
	flush moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:1209:9
Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false }  Nextcloud.js:265:4
Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false }  Nextcloud.js:265:4
Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false }  Nextcloud.js:265:4

Note that the version of Firefox is the latest currently available at the time of this report.
Figure 2: about:support tab from Firefox

Name 	Firefox
Version 	59.0.1
Build ID 	20180317143930
Update History 	
User Agent 	Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
OS 	Linux 4.15.9-300.fc27.x86_64
Extensions:
Floccus (nextcloud Sync)	2.0.0	true	floccus@handmadeideas.org

I did use a development branch of the Bookmarks for Nextcloud App, following the instructions for manual deployment. The Git revision is specified at the bottom.

Figure 3: Bookmarks for Nextcloud App Information

Bookmark App Information:
less info.xml
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
        <id>bookmarks</id>
        <name>Bookmarks</name>
        <summary>A Bookmark manager for Nextcloud</summary>
        <description><![CDATA[Bookmark manager for Nextcloud]]></description>
        <version>0.11.0</version>
        <licence>agpl</licence>
        <author mail="blizzz@arthur-schiwon.de" homepage="https://www.arthur-schiwon.de">Arthur Schiwon</author>
        <author mail="mklehr@gmx.net">Marcel Klehr</author>
        <author>Marvin Thomas Rabe</author>
        <author>Stefan Klemm</author>
        <category>organization</category>
        <website>https://github.com/nextcloud/bookmarks</website>
        <bugs>https://github.com/nextcloud/bookmarks/issues</bugs>
        <repository type="git">https://github.com/nextcloud/bookmarks.git</repository>
        <screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/bookmarks/master/screenshots/Bookmarks-small.png">https://raw.githubusercontent.com/nextcloud/bookmarks/master/screenshots/Bookmarks.png</screenshot>
        <dependencies>
                <owncloud min-version="9.0" max-version="9.2" />
                <nextcloud min-version="9" max-version="14" />
        </dependencies>
</info>
Git Revision: bdd0d06ee62791a58824a61cef2e050dc3107736

Figure 4: Nextcloud Version.php

$OC_Version = array(13,0,1,1);
$OC_VersionString = '13.0.1';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
  'nextcloud' => 
  array (
    '12.0' => true,
    '13.0' => true,
  ),
  'owncloud' => 
  array (
  ),
);
$OC_Build = '2018-03-13T18:49:57+00:00 c2cea293d54bbbdf908346cdf3acc2a545142ba1';
$vendor = 'nextcloud';

I don't believe this is a server-side issue from my interpretation of the HTTP 400 error returned by the response seen in the Floccus Debug Log. The nginx log itself is of no apparent use:

Figure 5: nginx.log (snipped section)

{"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:44","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:44","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}

I believe the versions are compatible with each other, but cannot figure out what request is being sent to the server. Looking for guidance on where to look next.

Originally created by @SomePoorBastard on GitHub (Mar 20, 2018). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/56 Hello there. Before you read any further, I would like to thank you for taking the time to review this issue. I understand that your time is valuable and want to make sure that I am thorough and clear in documentation. Let me know if anything needs clarification Notes about Bookmark API Support --- I noticed while writing this issue up that the [API documentation](https://github.com/nextcloud/bookmarks/blob/628af8eb457eec22a3faee130d099b150227d0fb/API.md) changed about eight days ago at the time of writing. Checking out your GitHub profile I can see you do contribue to both the Bookmarks app for Nextcloud and Floccus. I am unsure however if you have had time to adapt to those changes with this new API in place. Main Issue --- With this, know that some of the data I have provided is obfuscated/changed. This includes the username (changed to somepoorbastard), some IPs (different network address and/or subnet), and some timezone information. Other than this, all information should be unmodified. I am using Mozilla Firefox with Floccus 2.0.0 installed. I am unable to synchronize the removal of bookmarks from the Nextcloud server. Hovering over the error reports that "Removing a bookmark on the server failed. remoteid=<#>", where # is the id of the bookmark in question. The debugging console accessed through [about:debugging](about:debugging) for Floccus revealed the following information: **Figure 1: Floccus Debug Log** ``` Starting sync process for account somepoorbastard@https://192.168.2.251 Account.js:112:6 SERVERDELETE Auco3kb9ZJdZ 4 Account.js:145:10 SERVERDELETE Qrc7WBYmfzla 2 Account.js:145:10 SERVERDELETE -lEY1iUR2CA7 11 Account.js:145:10 SERVERDELETE U7nzVuxdYude 7 Account.js:145:10 Response { type: "basic", url: "https://192.168.2.251/index.php/apps/bookmarks/public/rest/v2/bookmark/4", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false } Nextcloud.js:265:4 Syncing failed with Error: Removing a bookmark on the server failed. remoteId=4 Stack trace: _callee5$@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:7036:23 tryCatch@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6150:37 invoke@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6424:22 defineIteratorMethods/</prototype[method]@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6183:16 step@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:6443:183 step/<@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:6443:361 run@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3911:22 notify/<@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3924:28 flush@moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:1209:9 Account.js:132:6 _callee9$ Account.js:132:6 tryCatch moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6150:37 invoke moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6424:22 defineIteratorMethods/</prototype[method] moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:6183:16 step moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:4400:183 step/< moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/background-script.js:4400:402 run moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3911:22 notify/< moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:3924:28 flush moz-extension://c2c2db29-f4d1-4310-a497-0fd27388a489/dist/js/polyfill.js:1209:9 Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false } Nextcloud.js:265:4 Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false } Nextcloud.js:265:4 Response { type: "basic", url: "https://192.168.2.251/index.php/ap…", redirected: false, status: 400, ok: false, statusText: "Bad request", headers: Headers, bodyUsed: false } Nextcloud.js:265:4 ``` Note that the version of Firefox is the latest currently available at the time of this report. **Figure 2: about:support tab from Firefox** ``` Name Firefox Version 59.0.1 Build ID 20180317143930 Update History User Agent Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 OS Linux 4.15.9-300.fc27.x86_64 Extensions: Floccus (nextcloud Sync) 2.0.0 true floccus@handmadeideas.org ``` I did use a development branch of the Bookmarks for Nextcloud App, following the instructions for manual deployment. The Git revision is specified at the bottom. **Figure 3: Bookmarks for Nextcloud App Information** ``` Bookmark App Information: less info.xml <?xml version="1.0"?> <info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> <id>bookmarks</id> <name>Bookmarks</name> <summary>A Bookmark manager for Nextcloud</summary> <description><![CDATA[Bookmark manager for Nextcloud]]></description> <version>0.11.0</version> <licence>agpl</licence> <author mail="blizzz@arthur-schiwon.de" homepage="https://www.arthur-schiwon.de">Arthur Schiwon</author> <author mail="mklehr@gmx.net">Marcel Klehr</author> <author>Marvin Thomas Rabe</author> <author>Stefan Klemm</author> <category>organization</category> <website>https://github.com/nextcloud/bookmarks</website> <bugs>https://github.com/nextcloud/bookmarks/issues</bugs> <repository type="git">https://github.com/nextcloud/bookmarks.git</repository> <screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/bookmarks/master/screenshots/Bookmarks-small.png">https://raw.githubusercontent.com/nextcloud/bookmarks/master/screenshots/Bookmarks.png</screenshot> <dependencies> <owncloud min-version="9.0" max-version="9.2" /> <nextcloud min-version="9" max-version="14" /> </dependencies> </info> Git Revision: bdd0d06ee62791a58824a61cef2e050dc3107736 ``` **Figure 4: Nextcloud Version.php** ``` $OC_Version = array(13,0,1,1); $OC_VersionString = '13.0.1'; $OC_Edition = ''; $OC_Channel = 'stable'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '12.0' => true, '13.0' => true, ), 'owncloud' => array ( ), ); $OC_Build = '2018-03-13T18:49:57+00:00 c2cea293d54bbbdf908346cdf3acc2a545142ba1'; $vendor = 'nextcloud'; ``` I don't believe this is a server-side issue from my interpretation of the HTTP 400 error returned by the response seen in the Floccus Debug Log. The nginx log itself is of no apparent use: **Figure 5: nginx.log (snipped section)** ``` {"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:42","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Logout occurred","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"jnZpo0bCKQczOAPtrPGt","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/4","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"LHJ7zAiHZgD8mHYYGT5L","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/2","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"9v4OwH6aZmzQZRCo9Cka","level":1,"time":"March 20, 2018 01:09:43","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/11","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:44","remoteAddr":"192.168.1.39","user":"--","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login attempt: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} {"reqId":"nzlIh3kU1TDl4sClAoCM","level":1,"time":"March 20, 2018 01:09:44","remoteAddr":"192.168.1.39","user":"somepoorbastard","app":"admin_audit","method":"DELETE","url":"\/index.php\/apps\/bookmarks\/public\/rest\/v2\/bookmark\/7","message":"Login successful: \"somepoorbastard\"","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"} ``` I believe the versions are compatible with each other, but cannot figure out what request is being sent to the server. Looking for guidance on where to look next.
Author
Owner

@aktentasche commented on GitHub (Mar 20, 2018):

maybe a dumb question but can you remove bookmarks directly in the bookmarks app?

<!-- gh-comment-id:374517913 --> @aktentasche commented on GitHub (Mar 20, 2018): maybe a dumb question but can you remove bookmarks directly in the bookmarks app?
Author
Owner

@marcelklehr commented on GitHub (Mar 20, 2018):

@SomePoorBastard Thank you for the thorough bug report! :) The versions appear to be compatible indeed. Are the bookmarks you have deleted still on the server? If so, you can delete your account, remove all bookmarks locally, setup your account again, set the floccus sync folder in the account options and sync again. This should make sure that server and client are on the same page again.

<!-- gh-comment-id:374585301 --> @marcelklehr commented on GitHub (Mar 20, 2018): @SomePoorBastard Thank you for the thorough bug report! :) The versions appear to be compatible indeed. Are the bookmarks you have deleted still on the server? If so, you can delete your account, remove all bookmarks locally, setup your account again, set the floccus sync folder in the account options and sync again. This should make sure that server and client are on the same page again.
Author
Owner

@SomePoorBastard commented on GitHub (Mar 21, 2018):

I will try this and report if the issue persists.

<!-- gh-comment-id:374836342 --> @SomePoorBastard commented on GitHub (Mar 21, 2018): I will try this and report if the issue persists.
Author
Owner

@SomePoorBastard commented on GitHub (Mar 21, 2018):

@aktentasche The ID number of the bookmarks in question are not displayed in the UI of the Nextcloud Bookmarks app in browser. This would make it tedious to determine which ones to delete; assuming you have access and authorization to Nextcloud's database backend. If the URL or the ID were shown (since both are considered unique) it wouldn't be as big an issue.

<!-- gh-comment-id:374836813 --> @SomePoorBastard commented on GitHub (Mar 21, 2018): @aktentasche The ID number of the bookmarks in question are not displayed in the UI of the Nextcloud Bookmarks app in browser. This would make it tedious to determine which ones to delete; assuming you have access and authorization to Nextcloud's database backend. If the URL or the ID were shown (since both are considered unique) it wouldn't be as big an issue.
Author
Owner

@SomePoorBastard commented on GitHub (Mar 24, 2018):

Issue has been resolved by following instructions specified in https://github.com/marcelklehr/floccus/issues/56#issuecomment-374585301. Encountered different issue that is unrelated and will open new instance for that issue if one has not been created.

<!-- gh-comment-id:375927310 --> @SomePoorBastard commented on GitHub (Mar 24, 2018): Issue has been resolved by following instructions specified in https://github.com/marcelklehr/floccus/issues/56#issuecomment-374585301. Encountered different issue that is unrelated and will open new instance for that issue if one has not been created.
Author
Owner

@marcelklehr commented on GitHub (Mar 24, 2018):

Ok, thanks for the feedback :) Looking forward to your new issue :D

<!-- gh-comment-id:375927636 --> @marcelklehr commented on GitHub (Mar 24, 2018): Ok, thanks for the feedback :) Looking forward to your new issue :D
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

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:1478280596 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): 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#55
No description provided.