[Bug] [v4] We're not allowed to change any direct children of the absolute root folder. Skipping.
Describe the bug Running sync on root using v4 throws this error.
To Reproduce
- Install V4
- 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 [email protected]
- [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".
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
@marcelklehr Does that explain why it doesn't sync anything at all?
It tries to delete your local folders for some reason, which isn't allowed. Try resetting the cache in the account settings.
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.