[GH-ISSUE #444] [Bug] [v4] We're not allowed to change any direct children of the absolute root folder. Skipping. #334

Closed
opened 2026-02-25 22:36:51 +03:00 by kerem · 4 comments
Owner

Originally created by @Crow-Control on GitHub (Feb 2, 2020).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/444

Describe the bug
Running sync on root using v4 throws this error.

To Reproduce

  1. Install V4
  2. Try syncing 200+ bookmarks in a multi-layered folder structure

Expected behavior
It should do something, or at least try syncing

Desktop (please complete the following information):

  • OS: windows
  • Browser firefox
  • Browser Version esr, dev, latest etc
  • Floccus version: v4
  • Floccus sync method: nextcloud folders

Server (please complete the following information):

  • OS: FreeBSD
  • Nextcloud version: 7.0.3
  • Bookmarks app version: latest

Note: Please write down the actual version numbers instead of writing 'latest'.

Debug log

2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping.
2020-02-02T19:55:47.416Z Absent upstream: { cacheChild: 
     + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a
   ,
  localChild: 
     + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a
    }
2020-02-02T19:55:47.416Z COMPARE { localItem: undefined,
  cacheItem: undefined,
  serverItem: 
     + #50[Others] parentId: -1, hash: 68e3a0408dc04ce9ca1db631fbe30e71cb7d871c7cdbb987796b886966f3e1f4
    }
2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping.
2020-02-02T19:55:47.416Z COMPARE { localItem: 
     + #unfiled_____[Other Bookmarks] parentId: root________, hash: f113983a5499c729bf1f64d8ea3995b2aa5a95d51c9919020492b0fb3ae8108f
   ,
  cacheItem: 
     + #unfiled_____[Other Bookmarks] parentId: root________, hash: f113983a5499c729bf1f64d8ea3995b2aa5a95d51c9919020492b0fb3ae8108f
   ,
  serverItem: undefined }
2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping.
2020-02-02T19:55:47.416Z COMPARE { localItem: 
     + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a
   ,
  cacheItem: 
     + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a
   ,
  serverItem: undefined }
2020-02-02T19:55:47.417Z We're not allowed to change any direct children of the absolute root folder. Skipping.
2020-02-02T19:55:47.417Z (nextcloud-folders)ORDERFOLDER { id: '-1',
  order: 
   [ { id: '41', type: 'folder' },
     { id: '45', type: 'folder' },
     { id: '46', type: 'folder' },
     { id: '47', type: 'folder' } ] }
2020-02-02T19:55:49.515Z Overriding title of built-in node menu________ Bladwijzermenu => Bookmarks Menu
2020-02-02T19:55:49.516Z Overriding title of built-in node toolbar_____ Bladwijzerwerkbalk => Bookmarks Bar
2020-02-02T19:55:49.540Z Overriding title of built-in node unfiled_____ Andere bladwijzers => Other Bookmarks
2020-02-02T19:55:49.600Z Successfully ended sync process for account kjeld@cloud.schouten-lebbing.nl
  • Debug log provided

Additional context
It can be "fixed" by selecting a specific local folder. In that case it just hits #443
Legacy sync works fine (as far as one could call that "fine".

Originally created by @Crow-Control on GitHub (Feb 2, 2020). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/444 **Describe the bug** Running sync on root using v4 throws this error. **To Reproduce** 1. Install V4 2. Try syncing 200+ bookmarks in a multi-layered folder structure **Expected behavior** It should do something, or at least try syncing **Desktop (please complete the following information):** - OS: windows - Browser firefox - Browser Version esr, dev, latest etc - Floccus version: v4 - Floccus sync method: nextcloud folders **Server (please complete the following information):** - OS: FreeBSD - Nextcloud version: 7.0.3 - Bookmarks app version: latest Note: Please write down the actual version numbers instead of writing 'latest'. **Debug log** ``` 2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping. 2020-02-02T19:55:47.416Z Absent upstream: { cacheChild: + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a , localChild: + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a } 2020-02-02T19:55:47.416Z COMPARE { localItem: undefined, cacheItem: undefined, serverItem: + #50[Others] parentId: -1, hash: 68e3a0408dc04ce9ca1db631fbe30e71cb7d871c7cdbb987796b886966f3e1f4 } 2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping. 2020-02-02T19:55:47.416Z COMPARE { localItem: + #unfiled_____[Other Bookmarks] parentId: root________, hash: f113983a5499c729bf1f64d8ea3995b2aa5a95d51c9919020492b0fb3ae8108f , cacheItem: + #unfiled_____[Other Bookmarks] parentId: root________, hash: f113983a5499c729bf1f64d8ea3995b2aa5a95d51c9919020492b0fb3ae8108f , serverItem: undefined } 2020-02-02T19:55:47.416Z We're not allowed to change any direct children of the absolute root folder. Skipping. 2020-02-02T19:55:47.416Z COMPARE { localItem: + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a , cacheItem: + #mobile______[Mobiel-bladwijzers] parentId: root________, hash: 61e08bcaa1009dd58372dfb236372ba5308f6cfcacd548575eae9c6a0c287d1a , serverItem: undefined } 2020-02-02T19:55:47.417Z We're not allowed to change any direct children of the absolute root folder. Skipping. 2020-02-02T19:55:47.417Z (nextcloud-folders)ORDERFOLDER { id: '-1', order: [ { id: '41', type: 'folder' }, { id: '45', type: 'folder' }, { id: '46', type: 'folder' }, { id: '47', type: 'folder' } ] } 2020-02-02T19:55:49.515Z Overriding title of built-in node menu________ Bladwijzermenu => Bookmarks Menu 2020-02-02T19:55:49.516Z Overriding title of built-in node toolbar_____ Bladwijzerwerkbalk => Bookmarks Bar 2020-02-02T19:55:49.540Z Overriding title of built-in node unfiled_____ Andere bladwijzers => Other Bookmarks 2020-02-02T19:55:49.600Z Successfully ended sync process for account kjeld@cloud.schouten-lebbing.nl ``` - [x] Debug log provided **Additional context** It can be "fixed" by selecting a specific local folder. In that case it just hits #443 Legacy sync works fine (as far as one could call that "fine".
kerem 2026-02-25 22:36:51 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Feb 11, 2020):

Hello @Ornias1993
This is not an error. Browsers do not allow creating arbitrary folders in the absolute root of the bookmarks tree. As the title of the root folders varies across browsers, floccus normalizes their names, as can be observed in the log you posted. Any folders with other names in the root of your bookmarks tree will be ignored, unless you a sync target other than the absolute root folder.

2020-02-02T19:55:49.515Z Overriding title of built-in node menu________ Bladwijzermenu => Bookmarks Menu
2020-02-02T19:55:49.516Z Overriding title of built-in node toolbar_____ Bladwijzerwerkbalk => Bookmarks Bar
2020-02-02T19:55:49.540Z Overriding title of built-in node unfiled_____ Andere bladwijzers => Other Bookmarks
<!-- gh-comment-id:584644968 --> @marcelklehr commented on GitHub (Feb 11, 2020): Hello @Ornias1993 This is not an error. Browsers do not allow creating arbitrary folders in the absolute root of the bookmarks tree. As the title of the root folders varies across browsers, floccus normalizes their names, as can be observed in the log you posted. Any folders with other names in the root of your bookmarks tree will be ignored, unless you a sync target other than the absolute root folder. ``` 2020-02-02T19:55:49.515Z Overriding title of built-in node menu________ Bladwijzermenu => Bookmarks Menu 2020-02-02T19:55:49.516Z Overriding title of built-in node toolbar_____ Bladwijzerwerkbalk => Bookmarks Bar 2020-02-02T19:55:49.540Z Overriding title of built-in node unfiled_____ Andere bladwijzers => Other Bookmarks ```
Author
Owner

@Crow-Control commented on GitHub (Feb 11, 2020):

@marcelklehr
Does that explain why it doesn't sync anything at all?

<!-- gh-comment-id:584663255 --> @Crow-Control commented on GitHub (Feb 11, 2020): @marcelklehr Does that explain why it doesn't sync anything at all?
Author
Owner

@marcelklehr commented on GitHub (Feb 11, 2020):

It tries to delete your local folders for some reason, which isn't allowed. Try resetting the cache in the account settings.

<!-- gh-comment-id:584777369 --> @marcelklehr commented on GitHub (Feb 11, 2020): It tries to delete your local folders for some reason, which isn't allowed. Try resetting the cache in the account settings.
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:1477331904 --> @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#334
No description provided.