Files are taking up to a half hour to sync

I googled how to open the command prompt and I did from the Odrive. It opened and I copied and pasted your instructions and each time I pasted and hit enter, I got a message it was an incorrect prompt.

Hi @modom,
Can you try this instead?

  1. Open a command prompt window. You can do this by typing cmd into the run box like so:

  2. Copy and paste the following into the window and hit enter:

powershell -command "& {$curdir=(pwd); $thedir=\"$env:userprofile\odrive\Oxygen Cloud\User Volume\temp\"; mkdir \"$thedir\" -Force > $null;cd \"$thedir\"; $sizeinmb = 50;$numfiles = 1;$randstr = ([char[]]([char]'a'..[char]'z') + 0..9 | sort {get-random})[0..5] -join '';$tmpdir = \"$pwd\~tmpuploadtest_$randstr\";$tmpdirstart = \"$pwd\tmpuploadtest_$randstr\";mkdir -Force $tmpdir > $null;$filebasename = \"$($sizeinmb)MB.file\";$sizeinbytes = $sizeinmb * 1024 * 1024;for($i = 1; $i -le $numfiles; $i++){$thefile = \"$tmpdir\$filebasename\" + $i;$f = New-Object System.IO.FileStream \"$thefile\", Create, ReadWrite; $f.SetLength($sizeinbytes); $f.Close();};Start-Sleep -m 8000;ren $tmpdir $tmpdirstart;echo \"\",\"Waiting for odrive\";$locked = 0;while($locked -ne 1) { $files = @(Get-ChildItem $tmpdirstart); for ($i=0; $i -lt $files.Count; $i++) { try { [IO.File]::OpenWrite($files[$i].FullName).close(); } catch { $locked = 1; }} Start-Sleep -m 50};echo \"Starting upload ....\";$starttime = [int64](([datetime]::UtcNow)-(get-date \"1/1/1970\")).TotalSeconds;Start-Sleep -m 5000;while($locked -ne 0) { $locked = 0; $files = @(Get-ChildItem $tmpdirstart); for ($i=0; $i -lt $files.Count; $i++) { try { [IO.File]::OpenWrite($files[$i].FullName).close(); } catch { $locked = 1; }} Start-Sleep -m 500};$endtime = [int64](([datetime]::UtcNow)-(get-date \"1/1/1970\")).TotalSeconds;$totaltime = $endtime - $starttime; $mbpersec = $sizeinmb * $numfiles / $totaltime; $mins = $totaltime / 60;echo \"$mins minutes\";echo \"$($mbpersec) MB/sec\";rm -Force -Recurse $tmpdirstart; cd $curdir;}"

Like so:

If that gives you an error, can you take a screenshot and post here?

Thanks!

Tony, I did this and the temp folder showed up in my User Volume. But the folder is empty. Now what?

Try running it again. Does it print anything out after running it? Can you send a screenshot of the window like mine above?

Thanks!

I tried it again:

Honestly Tony, I am an office manager. I know nothing of technology as far as this goes. I am just trying to get through my day and this is taking me hours to figure out. Can someone there get on my computer and see what is going on? I have tried everything you suggest and I don’t have time all day to deal with this. I have a huge report due today and this is beyond what I can do myself. Thank you

Hi,
The result above is what I am looking for, although the number is cut off. Its the:
X.XX minutes
Y.YYYY MB/sec

part that is printed out after running the command.

That tells us how fast you are uploading to Oxygen. The original issue was that it was taking 30 minutes to upload a 100MB file to Oxygen, and this command will benchmark that so that I can determine where the problem might be.

Can you tell me what those numbers say please?

I don’t have that anymore. I tried to run it again and nothing is happening. The words Upload starting is not there.

This is all that happens:

Tony, It just ran: the figures are as follows:

2.7333
0,33048 MB

Here is screenshot:

Thanks!

This shows that a 50MB file uploaded to Oxygen in 2.7 minutes. So a 100MB file should make it up in approximately 6 minutes.

We can run the test with a 100MB file just to be sure, but it seems like whatever issue you were hitting before may be gone now. Are you still seeing this problem today?

To run with a 100MB file you can copy and paste this in:

powershell -command "& {$curdir=(pwd); $thedir=\"$env:userprofile\odrive\Oxygen Cloud\User Volume\temp\"; mkdir \"$thedir\" -Force > $null;cd \"$thedir\"; $sizeinmb = 100;$numfiles = 1;$randstr = ([char[]]([char]'a'..[char]'z') + 0..9 | sort {get-random})[0..5] -join '';$tmpdir = \"$pwd\~tmpuploadtest_$randstr\";$tmpdirstart = \"$pwd\tmpuploadtest_$randstr\";mkdir -Force $tmpdir > $null;$filebasename = \"$($sizeinmb)MB.file\";$sizeinbytes = $sizeinmb * 1024 * 1024;for($i = 1; $i -le $numfiles; $i++){$thefile = \"$tmpdir\$filebasename\" + $i;$f = New-Object System.IO.FileStream \"$thefile\", Create, ReadWrite; $f.SetLength($sizeinbytes); $f.Close();};Start-Sleep -m 8000;ren $tmpdir $tmpdirstart;echo \"\",\"Waiting for odrive\";$locked = 0;while($locked -ne 1) { $files = @(Get-ChildItem $tmpdirstart); for ($i=0; $i -lt $files.Count; $i++) { try { [IO.File]::OpenWrite($files[$i].FullName).close(); } catch { $locked = 1; }} Start-Sleep -m 50};echo \"Starting upload ....\";$starttime = [int64](([datetime]::UtcNow)-(get-date \"1/1/1970\")).TotalSeconds;Start-Sleep -m 5000;while($locked -ne 0) { $locked = 0; $files = @(Get-ChildItem $tmpdirstart); for ($i=0; $i -lt $files.Count; $i++) { try { [IO.File]::OpenWrite($files[$i].FullName).close(); } catch { $locked = 1; }} Start-Sleep -m 500};$endtime = [int64](([datetime]::UtcNow)-(get-date \"1/1/1970\")).TotalSeconds;$totaltime = $endtime - $starttime; $mbpersec = $sizeinmb * $numfiles / $totaltime; $mins = $totaltime / 60;echo \"$mins minutes\";echo \"$($mbpersec) MB/sec\";rm -Force -Recurse $tmpdirstart; cd $curdir;}"

My expectation is that the above should show between 5.5 and 6 minutes with a speed of ~ .3 MB/sec (300KB/sec). This isn’t blazing fast, but for a single file upload it is fast enough to get your large file up within 5-6 minutes.

I just tried my large 100 MB document. It took 7 minutes. When I was on Enterprise, it was synced in a minute. The problem is when the document is syncing, I cannot open anything else or I get a message telling me Oxygen is busy. I never had this problem before. I think 7 minutes is a long time when you are working on numerous documents and you have to sit and wait each time you do this. Is this normal for the Odrive? I would think it should be better and faster than Enterprise.

By the way, opening the document is not the problem. It opens in a minute; it is when I finish working on it and save it back into Oxygen. That is when I have to sit around for 7 minutes waiting before I can open anything else.

Hi,
I will ping the Oxygen operations team to take a look to see if anything looks unusual. Are you able to provide a screenshot of the busy error you are seeing while an upload is occurring?

No, it doesn’t stay on the screen.

Hi,
Are you still seeing this error? I’ve been attempting to reproduce, but I’ve been unable. If you are able to reproduce it right now, please do so and then send a diagnostic from the odrive tray menu. I will try to see if there is something going on, in general, or specifically with your account.

Thanks!

I have not had any problems with being able to open any documents now while the larger document is syncing. They all seem to be opening alright. Other than it taking a long time to sync, everything else looks okay for the time being. Thank you for working with me to correct this. If anything else happens, I will contact you. Thank you.

Glad to hear that you are back on track. Thanks for contacting us!

A post was split to a new topic: Problem opening Excel files