Onedrive

A free, open-source Microsoft OneDrive client for Linux that syncs OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries.

  • Backup
  • Cloud
A free, open-source Microsoft OneDrive client for Linux that syncs OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries. It runs in a container or on any major Linux distribution, syncing files over the network so cloud storage stays in step with your home server. Selective sync, built-in file deletion, and full Azure national-cloud support make it a reliable pick for homelabbers who want OneDrive syncing without a desktop client.

Platform availability

Available on 2 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

74/100 Good

Maintained
100last commit 22 days ago
Popular
8212,964 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
404 GB minimum RAM, runs on ARM
Security check
79no serious findings, CI, tests, OpenSSF Scorecard 5.4/10

Availability: platform listings confirmed today, links checked 53 days ago

GitHub stars
12,964
Open issues
23
Last commit
2026-10-30
Latest release
v2.5.12
License
GPL-3.0
Activity
steady

Checked 20 days ago - source: GitHub (abraunegg/onedrive)

Resources & Compatibility

Minimum requirements: 4 GB RAM, 2 CPU core(s), 2 GB disk. ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install the packaged client first In a terminal, run `sudo zypper install onedrive` on openSUSE, or `sudo eopkg install onedrive` on Solus. This installs the ready-made client instead of building it from source, which is much simpler for a first install. source
  • Start Docker before using the container If you are using Docker to run OneDrive, first run `sudo systemctl enable --now docker` in a terminal. Docker is the program that runs containers, and if it is not enabled, the OneDrive container cannot start or sync. source
  • Start the service and check its log After installing, run `service onedrive start` and `chkconfig onedrive on` so it starts now and after reboot. Then watch `/var/log/onedrive/<username>.onedrive.log` with `tail -f`; that log shows what OneDrive is doing, which helps you spot permission or startup problems. source
  • First install Create a configuration and data folder before creating the Docker container (see the Unraid template). After the container starts it prints a Microsoft login link; open it in a browser to sign in and authorise the client. source

Fetched 37 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What should I do if the OneDrive Docker container cannot start or sync?

Enable Docker before using the container by running sudo systemctl enable --now docker. If Docker is not enabled, the container cannot start or sync.

How do I start the client automatically and check for startup or permission problems?

Run service onedrive start and chkconfig onedrive on so it starts now and after reboot. Then watch /var/log/onedrive/<username>.onedrive.log to see what the client is doing.

Is there a simpler first-install method than building from source on openSUSE or Solus?

Yes, install the packaged client with sudo zypper install onedrive on openSUSE or sudo eopkg install onedrive on Solus. This installs a ready-made client instead of building from source.

Does the client support one-way and two-way synchronisation?

Yes, it supports both one-way and two-way synchronisation modes for syncing with Microsoft OneDrive services.

Can it sync SharePoint document libraries as well as OneDrive for Business?

Yes, it supports OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries.

Answers sourced from github.com, github.com, github.com, github.com

Community

Collected 53 days ago - public community threads