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

Bug: Sync takes a long time and a lot of resources (Openmediavault) #3178

Closed
0BanZai0 opened this issue Mar 24, 2025 · 1 comment
Closed
Labels

Comments

@0BanZai0
Copy link

Describe the bug

I've described a lot of it here: https://forum.openmediavault.org/index.php?thread/56031-onedrive-plugin-strange-errors-and-cpu-load/#google_vignette

Some weeks ago, the sync worked fast and without that much need of resources.
Some day I've seen that the sync lasts for more than half a day and finished with an error which told me to do a resync.
Doing so, I've seen the curl warnings so I've followed a guide to update to "8.12.1-3~bpo12+1". After that I did a resync.
As for now, I've scheduled a sync every 24 hours.

Today, the sync starts in the morning at 07:31 and is still running.

2025-03-23T07:31:48+0100 openmediavault onedrive[248526]: .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 2025-03-23T07:31:48+0100 openmediavault onedrive[248526]: Sync with Microsoft OneDrive is complete 2025-03-24T07:31:48+0100 openmediavault onedrive[248526]: Attempting to contact Microsoft OneDrive Login Service 2025-03-24T07:31:48+0100 openmediavault onedrive[248526]: Successfully reached Microsoft OneDrive Login Service 2025-03-24T07:31:48+0100 openmediavault onedrive[248526]: Starting a sync with Microsoft OneDrive 2025-03-24T07:31:49+0100 openmediavault onedrive[248526]: Syncing changes from Microsoft OneDrive ...

The OneDrive process takes a lot of resources. Screenshots below.

Operating System Details

Linux openmediavault 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux

Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

Client Installation Method

From 3rd Party Source (PPA, OpenSuSE Build Service etc)

OneDrive Account Type

Personal

What is your OneDrive Application Version

2.5.5-1+np1+1.1

What is your OneDrive Application Configuration

can't copy from Proxmox console... I'll try my best

What is your 'curl' version

8.12.1-3~bpo12+1

Where is your 'sync_dir' located

Local

What are all your system 'mount points'

================================================================================
= Mount information
================================================================================
23 29 0:21 / /sys rw,nosuid,nodev,noexec,relatime shared:7 - sysfs sysfs rw
24 29 0:22 / /proc rw,nosuid,nodev,noexec,relatime shared:12 - proc proc rw
25 29 0:6 / /dev rw,nosuid,relatime shared:2 - devtmpfs udev rw,size=3006688k,nr_inodes=751672,mode=755,inode64
26 25 0:23 / /dev/pts rw,nosuid,noexec,relatime shared:3 - devpts devpts rw,gid=5,mode=620,ptmxmode=000
27 29 0:24 / /run rw,nosuid,nodev,noexec,relatime shared:5 - tmpfs tmpfs rw,size=607444k,mode=755,inode64
29 1 8:1 / / rw,relatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro
30 23 0:7 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:8 - securityfs securityfs rw
31 25 0:26 / /dev/shm rw,nosuid,nodev shared:4 - tmpfs tmpfs rw,inode64
32 27 0:27 / /run/lock rw,nosuid,nodev,noexec,relatime shared:6 - tmpfs tmpfs rw,size=5120k,inode64
33 23 0:28 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:9 - cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot
34 23 0:29 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:10 - pstore pstore rw
35 23 0:30 / /sys/fs/bpf rw,nosuid,nodev,noexec,relatime shared:11 - bpf bpf rw,mode=700
36 24 0:31 / /proc/sys/fs/binfmt_misc rw,relatime shared:13 - autofs systemd-1 rw,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2994
37 25 0:32 / /dev/hugepages rw,relatime shared:14 - hugetlbfs hugetlbfs rw,pagesize=2M
38 25 0:20 / /dev/mqueue rw,nosuid,nodev,noexec,relatime shared:15 - mqueue mqueue rw
39 23 0:8 / /sys/kernel/debug rw,nosuid,nodev,noexec,relatime shared:16 - debugfs debugfs rw
40 23 0:13 / /sys/kernel/tracing rw,nosuid,nodev,noexec,relatime shared:17 - tracefs tracefs rw
41 23 0:33 / /sys/fs/fuse/connections rw,nosuid,nodev,noexec,relatime shared:18 - fusectl fusectl rw
42 23 0:34 / /sys/kernel/config rw,nosuid,nodev,noexec,relatime shared:19 - configfs configfs rw
64 27 0:35 / /run/credentials/systemd-sysusers.service ro,nosuid,nodev,noexec,relatime shared:20 - ramfs ramfs rw,mode=700
66 27 0:36 / /run/credentials/systemd-sysctl.service ro,nosuid,nodev,noexec,relatime shared:21 - ramfs ramfs rw,mode=700
68 27 0:37 / /run/credentials/systemd-tmpfiles-setup-dev.service ro,nosuid,nodev,noexec,relatime shared:22 - ramfs ramfs rw,mode=700
141 29 0:39 / /tmp rw,relatime shared:55 - tmpfs tmpfs rw,inode64
171 27 0:40 / /run/credentials/systemd-tmpfiles-setup.service ro,nosuid,nodev,noexec,relatime shared:73 - ramfs ramfs rw,mode=700
146 36 0:41 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime shared:76 - binfmt_misc binfmt_misc rw
219 27 0:44 / /run/rpc_pipefs rw,relatime shared:82 - rpc_pipefs sunrpc rw
407 29 8:17 / /srv/dev-disk-by-uuid-76c392f6-f638-4051-a70d-5d57060b6779 rw,relatime shared:195 - ext4 /dev/sdb1 rw,quota,usrquota,grpquota
--------------------------------------------------------------------------------
0:21 sysfs  /sys
0:22 /proc  /proc
0:6 udev  /dev
0:23 devpts  /dev/pts
0:24 tmpfs  /run
8:1 /dev/sda1 6e6d2a21-3c3b-47b9-b7b3-c559e0d26920 /
0:7 securityfs  /sys/kernel/security
0:26 tmpfs  /dev/shm
0:27 tmpfs  /run/lock
0:28 cgroup2  /sys/fs/cgroup
0:29 pstore  /sys/fs/pstore
0:30 bpf  /sys/fs/bpf
0:31 systemd-1  /proc/sys/fs/binfmt_misc
0:32 hugetlbfs  /dev/hugepages
0:20 mqueue  /dev/mqueue
0:8 debugfs  /sys/kernel/debug
0:13 tracefs  /sys/kernel/tracing
0:33 fusectl  /sys/fs/fuse/connections
0:34 configfs  /sys/kernel/config
0:35 ramfs  /run/credentials/systemd-sysusers.service
0:36 ramfs  /run/credentials/systemd-sysctl.service
0:37 ramfs  /run/credentials/systemd-tmpfiles-setup-dev.service
0:39 tmpfs  /tmp
0:40 ramfs  /run/credentials/systemd-tmpfiles-setup.service
0:41 binfmt_misc  /proc/sys/fs/binfmt_misc
0:44 sunrpc  /run/rpc_pipefs
8:17 /dev/sdb1 76c392f6-f638-4051-a70d-5d57060b6779 /srv/dev-disk-by-uuid-76c392f6-f638-4051-a70d-5d57060b6779

What are all your local file system partition types

================================================================================
= Partitions
================================================================================
major minor  #blocks  name

   8        0   16777216 sda
   8        1   15775744 sda1
   8        2          1 sda2
   8        5     998400 sda5
  11        0     958464 sr0
   8       16 4883770583 sdb
   8       17 4883769543 sdb1

How do you use 'onedrive'

I'm running the OneDrive plugin from within open mediavault.
My goal is to keep an offline copy of my >2 TB OneDrive on a local hard drive.
The account is shared on multiple devices.

Steps to reproduce the behaviour

Automatic daily sync.

Complete Verbose Log Output

I have to find a way to copy from my console :)

Screenshots

Image

Image

Other Log Information or Details

Additional context

No response

@0BanZai0 0BanZai0 added the Bug Something isn't working label Mar 24, 2025
@abraunegg
Copy link
Owner

Closing this as this you are asking a question and do not have a genuine software bug or crash

As per the readme: (https://github.com/abraunegg/onedrive?tab=readme-ov-file#have-a-question)

Image

As per raising an issue:

Image

I am unsure how much clearer this can be!

@abraunegg abraunegg added Question and removed Bug Something isn't working labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants