onedrive-d-old icon indicating copy to clipboard operation
onedrive-d-old copied to clipboard

Is onedrive-d syncing files on my machine?

Open aurimrv opened this issue 9 years ago • 12 comments

Dear Xybu, how may I check if onedrive-d is working?

I copy some files to OneDrive directory and check the onedrive-d status:

auri@inct:~$ onedrive-d status Loading configuration ... OK onedrive-d -- pid: 4256, status: sleeping, uptime: 22m, %cpu: 10.0, %mem: 0.5 auri@inct:~$ onedrive-d status Loading configuration ... OK onedrive-d -- pid: 4256, status: sleeping, uptime: 22m, %cpu: 20.0, %mem: 0.5 auri@inct:~$ onedrive-d status Loading configuration ... OK onedrive-d -- pid: 4256, status: sleeping, uptime: 22m, %cpu: 10.0, %mem: 0.5

But I think it is only on sleeping mode. Is this right?

Thank you Auri

aurimrv avatar Mar 12 '15 13:03 aurimrv

I don't know why, but daemonocle always reports the process "sleeping" though it is working.

xybu avatar Mar 12 '15 15:03 xybu

Ok But if I run

ps -ef | grep onedrive-d

Is it supose to have how many process running?

Is there a way to check the process sending files to OneDrive?

Best regards Auri Em 12/03/2015 12:38, "Xiangyu Bu" [email protected] escreveu:

I don't know why, but daemonocle always reports the process "sleeping" though it is working.

Reply to this email directly or view it on GitHub https://github.com/xybu/onedrive-d/issues/140#issuecomment-78505193.

aurimrv avatar Mar 12 '15 15:03 aurimrv

One process. You can try debug mode (instead of daemon mode) to make sure it is syncing, and then kill the process and use daemon mode. Or, you can see if the CPU usage for onedrive-d process is changing. Or, check if there is any open file descriptor in your OneDrive folder. Or, create a text file and check when it will be uploaded (if you are sure a worker thread is in idle).

xybu avatar Mar 17 '15 06:03 xybu

Mister xubu, its seems like i have a same problem as mister auirmv: onedrive-d not only demonstreiting thet it status is "sleep". It also synk files onece, when start, and never agen until it stoped and started agen. P.S. Soory fo my english...

BasilRuster avatar Mar 29 '15 14:03 BasilRuster

@aurimrv @BasilRuster do either of you believe there is still an issue to be tracked here, or should it be closed? thanks

ewann avatar Jul 22 '15 11:07 ewann

Dear Ewan,

I really dont know because I stop use it til it become more stable.

Cheers Auri Em 22/07/2015 08:36, "Ewan" [email protected] escreveu:

@aurimrv https://github.com/aurimrv @BasilRuster https://github.com/BasilRuster do either of you believe there is still an issue to be tracked here, or should it be closed? thanks

— Reply to this email directly or view it on GitHub https://github.com/xybu/onedrive-d/issues/140#issuecomment-123682871.

aurimrv avatar Jul 22 '15 11:07 aurimrv

I can verify BasilRuster observations. OneDrive on Ubuntu 14.04. It syncs files on initial run, then after initial runs, it fails to sync. I tested it also in debug mode, it seems to be running but you will never see it updating files. I tried both editing a file and dropping a new file in from a windows machine.

The linux machine fails to sync in all cases after initial startup.

Zermel0 avatar Nov 19 '15 15:11 Zermel0

I'm also having trouble syncing.

benyanke avatar Jul 20 '16 21:07 benyanke

I'm also having this trouble. Basically you need to restart the service.

onedrive-d stop onedrive-d start

and it will sync for a little bit and then same problem

JLCarbwood avatar Sep 08 '16 22:09 JLCarbwood

I have the same problem. Even the stop or restart won't work like this:

➜ Notebooks python3 -m onedrive_d.od_main restart
Loading configuration ... OK
Stopping od_main.py ... FAILED
ERROR: Timed out while waiting for process (PID 17195) to terminate

I have to kill the process and restart.

RuralHunter avatar Feb 10 '17 09:02 RuralHunter

We created a shell script that is executed by cron every hour to restart the process ... Hope this will be solved on the next version.

webiummedia avatar Apr 05 '17 21:04 webiummedia

Hi webiummedia, Would you be able to post the shell script in this forum?

Cheers

mischa1807 avatar Apr 20 '17 12:04 mischa1807