xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

Is onedrive-d syncing files on my machine? #140

Open aurimrv opened 9 years ago

aurimrv commented 9 years ago

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

xybu commented 9 years ago

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

aurimrv commented 9 years ago

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" notifications@github.com 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.

xybu commented 9 years ago

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).

BasilRuster commented 9 years ago

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...

ewann commented 9 years ago

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

aurimrv commented 9 years ago

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" notifications@github.com 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.

Zermel0 commented 8 years ago

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.

benyanke commented 8 years ago

I'm also having trouble syncing.

JLCarbwood commented 8 years ago

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

RuralHunter commented 7 years ago

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.

webiummedia commented 7 years ago

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.

mischa1807 commented 7 years ago

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

Cheers