Hi All,
Has anybody connected to the cloud MS Onedrive?
I have installed Chromium as I understand that this will let me log on to the drive but I want to be able to add it as an extra HD so I can reference it directly.
Thanks
Mike
But I can't figure out how to make monitor mode run at startup. Tried addingI've been using https://github.com/abraunegg/onedrive for syncing OneDrive for quite some time. Easy to set up and works well.
Code: Select all
onedrive --monitor &
I would try using the systemd service file that's part of the source on github: https://github.com/abraunegg/onedrive/t ... ib/systemdK4ktus wrote: ↑Mon Jan 06, 2020 4:38 pmToday I checked out the client bls suggestedBut I can't figure out how to make monitor mode run at startup. Tried addingI've been using https://github.com/abraunegg/onedrive for syncing OneDrive for quite some time. Easy to set up and works well.to rc.local, but it doesn't work.Code: Select all
onedrive --monitor &
If I manually type the command into the terminal, it works fine.
+1. Rclone is the way to go. I use it to mount 2 Google Drives, Onedrive, Dropbox, and Opendrive.andrum99 wrote: I use rclone (see rclone.org) with Google Drive but it also works with OneDrive.
Hi, i tried to use those instructions on my Raspberry Pi Model B Rev 2, but when making the configuration to be LDMD2 it fails...bls wrote: ↑Sat Jan 04, 2020 4:55 pmI've been using https://github.com/abraunegg/onedrive for syncing OneDrive for quite some time. Easy to set up and works well.
It's fairly well documented on https://github.com/abraunegg/onedrive/b ... INSTALL.md, but can be a bit of a pain to follown if Linux isn't your primary language
Code: Select all
cd /home/pi
sudo apt install libcurl4-openssl-dev libsqlite3-dev libxml2 pkg-config libnotify-dev git
mkdir work # Not strictly needed, but wanted to start out in an empty directory
cd work # Ditto
wget https://github.com/ldc-developers/ldc/releases/download/v1.16.0/ldc2-1.16.0-linux-armhf.tar.xz
tar -xvf ldc2-1.16.0-linux-armhf.tar.xz
git clone https://github.com/abraunegg/onedrive.git
cd onedrive
./configure DC=/home/pi/work/ldc2-1.16.0-linux-armhf/bin/ldmd2
make
sudo make install

Code: Select all
sudo apt install rclone
rclone config #very intuitive to set up. Just follow the instructions.
#Assuming you named your remote "Onedrive" and want it mounted to /home/pi/mounted, just run this command:
mkdir onedrive
rclone mount "Onedrive:" /home/pi/Onedrive #Do not forget to add the colon to your remote's name!!!
Huh. the directions that I posted were from an actual installation on a headless Buster. What version of Raspbian are you using?
Intuitive it may be, but I can't auth (connection refused)Botspot wrote: ↑Mon Jan 13, 2020 11:33 pmVery easy to mount your entire Onedrive using rclone.That's it! Rclone also supports over 20 cloud storage providers. I use it to backup my entire Pi daily, and have Onedrive, 2 Google Drives, and Dropbox all mounted to their respective folders.Code: Select all
sudo apt install rclone rclone config #very intuitive to set up. Just follow the instructions. #Assuming you named your remote "Onedrive" and want it mounted to /home/pi/mounted, just run this command: mkdir onedrive rclone mount "Onedrive:" /home/pi/Onedrive #Do not forget to add the colon to your remote's name!!!
It's worked flawlessly for me for years. It still does.Giga_Pi wrote: ↑Mon May 11, 2020 11:09 amIntuitive it may be, but I can't auth (connection refused)Botspot wrote: ↑Mon Jan 13, 2020 11:33 pmVery easy to mount your entire Onedrive using rclone.That's it! Rclone also supports over 20 cloud storage providers. I use it to backup my entire Pi daily, and have Onedrive, 2 Google Drives, and Dropbox all mounted to their respective folders.Code: Select all
sudo apt install rclone rclone config #very intuitive to set up. Just follow the instructions. #Assuming you named your remote "Onedrive" and want it mounted to /home/pi/mounted, just run this command: mkdir onedrive rclone mount "Onedrive:" /home/pi/Onedrive #Do not forget to add the colon to your remote's name!!!