Floccus: Firefox/Linux - can't change Folder Mapping from default location

Created on 20 Jan 2021  路  6Comments  路  Source: floccusaddon/floccus

Describe the bug
If I change default folder mapping from /Bookmarks Menu/Floccus (...)/ to another folder then sync fails with "t is undefined".
Sync successfully retrieves bookmarks created by Chrome/MacOS to the default location, if I change it to another root empty or not it would fail.

To Reproduce
Steps to reproduce the behavior:

  1. Create bookmark folder Global under 'Bookmarks Menu'
  2. Click 'Floccus options icon'
  3. Open 'Settings'
  4. Click Folder Mapping/Local Folder
  5. Pick Global from Folder tree
  6. Save folder name
  7. Save floccus settings
  8. Click 'Floccus options icon'
  9. Click 'Sync now'
  10. Observe error in box above button

Expected behavior
Being able to change folder location so it could be consistent between browsers/OS's.

Desktop (please complete the following information):

  • OS: Linux Ubuntu 20.04
  • Browser Firefox
  • Browser Version 84.0.2
  • Floccus version: 4.4.7
  • Floccus sync method: webdav

Server (please complete the following information):

  • OS: Synology NAS Webdav

Debug log
2021-01-20T09:29:07.349Z Starting sync process for account [...]
2021-01-20T09:29:07.484Z onSyncStart: begin
2021-01-20T09:29:07.486Z [...]/Bookmarks/bookmarks.xbel.lock
2021-01-20T09:29:07.790Z [...]/Bookmarks/bookmarks.xbel.lock
2021-01-20T09:29:07.927Z onSyncStart: completed
2021-01-20T09:29:07.969Z Using "default" strategy
2021-01-20T09:29:08.134Z Syncing failed with t is undefined
2021-01-20T09:29:08.140Z onSyncFail

  • [X] Debug log provided

Additional context
Sync works fine on Chrome and pulls bookmarks into default location without issues, so server-side it is most likely no issue.
I have another box with similar Os/Browser and it shows the same behaviour.

bug waiting for more information

Most helpful comment

I think my first attempt was caught right in between update from 4.4.7 and 4.4.8 and it could be the cause why is succeeded. I'll recheck with new version from scratch and report back.

All 6 comments

I think I found the workaround:

  1. Change local folder
  2. Disable account (to avoid any unintended sync at this point)
  3. Export account to json (At this point "localRoot" entry would be changed, but "rootPath" would still point to Floccus (...) location)
  4. In json file, change rootPath to correct one.
  5. Import account.
  6. Remove original account.
  7. Remove Floccus (...) bookmark folder.

If I just export account after creation and change only path then it would revert to Floccus path when I try to sync.

Can you update to the latest version (v4.4.8) and try again?

I think my first attempt was caught right in between update from 4.4.7 and 4.4.8 and it could be the cause why is succeeded. I'll recheck with new version from scratch and report back.

Any news?

CLosing due to lack of activity.

Sorry for long delay, but I can confirm that it is now working correctly with 4.4.8 under firefox in linux.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thd6n75 picture thd6n75  路  5Comments

gerroon picture gerroon  路  6Comments

efelon picture efelon  路  7Comments

marcelklehr picture marcelklehr  路  5Comments

enoch85 picture enoch85  路  7Comments