Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I properly configure cloud sync? #19

Open
3 tasks done
danielbmeireles opened this issue Nov 18, 2024 · 8 comments
Open
3 tasks done

How can I properly configure cloud sync? #19

danielbmeireles opened this issue Nov 18, 2024 · 8 comments
Labels
android The issue is android-specific. bug Something isn't working documentation Improvements or additions to documentation

Comments

@danielbmeireles
Copy link

danielbmeireles commented Nov 18, 2024

Question or Assistance Request

  • I have reviewed existing issues and discussions to find a solution to my question.
  • I have checked the documentation and relevant resources for answers.
  • 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 danielbmeireles changed the title How can I properly configure cloud sync How can I properly configure cloud sync? Nov 18, 2024
@danielbmeireles
Copy link
Author

Hello? Can you please point me to the documentation?

@Daniele-rolli
Copy link
Member

Daniele-rolli commented Nov 22, 2024

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.

@danielbmeireles
Copy link
Author

Perfect! Thank you!

@Daniele-rolli Daniele-rolli added the documentation Improvements or additions to documentation label Nov 25, 2024
@baduhai
Copy link

baduhai commented Dec 13, 2024

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

@Daniele-rolli
Copy link
Member

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!

@baduhai
Copy link

baduhai commented Dec 14, 2024

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.

@Daniele-rolli
Copy link
Member

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.

@baduhai
Copy link

baduhai commented Dec 14, 2024

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.

@Daniele-rolli Daniele-rolli added bug Something isn't working android The issue is android-specific. labels Dec 26, 2024
@Daniele-rolli Daniele-rolli moved this to 🏗️ In progress in 🚚 Beaver's Roadmap Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android The issue is android-specific. bug Something isn't working documentation Improvements or additions to documentation
Projects
Status: 🏗️ In progress
Development

No branches or pull requests

3 participants