Beaver-pocket icon indicating copy to clipboard operation
Beaver-pocket copied to clipboard

How can I properly configure cloud sync?

Open danielbmeireles opened this issue 1 year ago • 8 comments

Question or Assistance Request

  • [x] I have reviewed existing issues and discussions to find a solution to my question.
  • [x] I have checked the documentation and relevant resources for answers.
  • [x] This question is related to the project and within the scope of this repository.

Description Hello! I have successfully configured the Dropbox integration (the auth token has been generated, and I have registered the application). I am using the Dropbox:/Apps/Beaver Pocket folder to store the notes, but even so, I cannot sync the notes between my computer and my phone.

Environment (if applicable)

  • Operating System: Android 15 (phone) / Ubuntu 24.10 (desktop)

Expected Result Notes created in Beaver desktop should be imported into Beaver notes

Actual Result Nothing happened

Thank you so much, and congratulations for the fantastic work!

danielbmeireles avatar Nov 18 '24 23:11 danielbmeireles

Hello? Can you please point me to the documentation?

danielbmeireles avatar Nov 21 '24 22:11 danielbmeireles

Thanks for reaching out! Here's a simple guide to get everything set up with a supported cloud provider:

Supported Cloud Providers

Beaver Notes works with iCloud, Google Drive, OneDrive, Dropbox, and WebDAV (e.g., Nextcloud).

  • iCloud requires a Mac or a Windows PC with the iCloud application installed. Unfortunately, Apple doesn’t provide a Linux-compatible version, so iCloud isn’t supported on Linux.

Getting Started on Mobile

  1. Open the mobile app and go to Settings > Sync.
  2. Choose your preferred cloud provider and log in.
  3. At this stage, don’t enable Auto sync—we’ll come back to this later.

Setting Things Up on Desktop

  1. Install your cloud provider’s app on your computer.
  2. Look for a folder called Beaver-Pocket in your cloud storage.
    • This folder should be created automatically after you log in through Beaver Notes.
    • If it isn’t there, you can create it manually.
  3. In the Beaver Notes desktop app, go to Settings > Sync and set the sync path to the Beaver-Pocket folder.

Syncing Your Notes (Export/Import)

  1. From the desktop app, export at least one set of data to the Beaver-Pocket folder.
  2. On the mobile app, go to Settings > Sync and click Import to load that data from your cloud provider.
  3. After confirming the data is imported, enable Auto sync in the mobile app to keep everything in sync moving forward.

Moving an Existing Library (Optional)

If you already have notes saved elsewhere (e.g., in a Notes folder on Nextcloud):

  • Copy the contents of that folder into the Beaver-Pocket folder.
  • The folder name must be Beaver-Pocket for the app to recognize it.

A Few Extra Notes

  • The mobile app is still under development, and a new release candidate will be available soon with support for iCloud, Google Drive, OneDrive, and WebDAV.

Thanks for your patience and support as we continue to build Beaver Notes! If you have any issues or suggestions, don’t hesitate to reach out.

Daniele-rolli avatar Nov 22 '24 08:11 Daniele-rolli

Perfect! Thank you!

danielbmeireles avatar Nov 25 '24 14:11 danielbmeireles

I tried following these instructions, but when importing on mobile, nothing happens. And by nothing I really do mean nothing, there's no loading indicator, there's no screen flashing like there is when I tap login, just nothing.

To be clear, I'm trying to import notes I've taken on desktop, which are saved on my Nextcloud in the Beaver-Pocket folder

baduhai avatar Dec 13 '24 15:12 baduhai

Let's try to resolve this. Nextcloud can be a bit picky with urls, and the one you need is buried in their documentation: "https://cloud.example.com/remote.php/dav/files/USERNAME/". Click "Login" and then import. Ensure you have a folder named "Beaver-Notes-YYYY-MM-DD" inside the "Beaver-Pocket" folder, which should be located in your root directory. Also, if you could let me know your operating system, that would be very helpful so I can replicate the bug. Apologies for the delayed response!

Daniele-rolli avatar Dec 14 '24 08:12 Daniele-rolli

I tried all this on Android. The "Beaver-Notes-YYYY-MM-DD" was indeed inside "Beaver-Pocket". I can't see any differences in what you describe and what I did. Just tried again, and nothing. In fact, this time Beaver Pocket deleted everything in the "Beaver-Pocket" folder in my Nextcloud, which wasn't a problem, as I had everything on desktop too, but it never fetched my notes.

baduhai avatar Dec 14 '24 12:12 baduhai

I've figured out the issue — it's with the WebDAV API implementation on Android, which is why I couldn't replicate it on iOS. I'll work on rewriting it and get back to you as soon as possible.

Daniele-rolli avatar Dec 14 '24 19:12 Daniele-rolli

It's great you were able to figure it out, but I've since moved on to Obsidian. It's a shame, since I wanted to use a FOSS program, might give beaver a shot again once this is fixed.

baduhai avatar Dec 14 '24 20:12 baduhai