You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Ubuntu] [2.1.0] Bandwidth control options disabled? #4334
The same problem:
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
sudo apt-get install qt5-default
owncloud client version 2.1.0
The requirement: _You need to have it compiled (or using packages) with at least Qt 5.4.x for this to be enabled. _ Does not seem to be enough ... Perhaps the packages for ubuntu distributed by owncloud.org and suse.org are complied to use qt4 ...
This is a limitation of the build system of OBS. An alternative would be to build in an official PPA but there we would need somebody to volunteer to do that.
FYI @jnweiger - maybe worth to talk to the OBS gurus about.
@dheineman once Ubuntu ships with a Qt version which also works with their proprietary changes to the systray in Unity (something half way working is already part of the upcoming Qt 5.6.0, but it's still not there).
@yhoogstrate No, this is a compile time option. The code path that makes bandwidth control work with older version of Qt used other libraries and was buggy, so we decided to remove it.
Sorry guys to bother you again... but it is really a problem for me and I assume also for others.
I assume it's not really elegant to do a static compilation for Qt5?
The problem for me is that ownClound syncs really agressively. When ownCloud is syncing with a server in the same local network, it takes all available bandwidth. This way my browser can't even load websites because they get timed out. Even worse, other people in my network can't use the wifi either, when owncloud on my instance is syncing.
If other people are having similar problems, maybe one of the following workarounds may be of use to you:
@yhoogstrate If not each Linux distribution would cook their own soup we would have an easier time supporting several linux distributions at once. For OS X and Windows, we just ship our own Qt and it works.
My upload bandwidth seems capped at 100KB/s. I've just got a new net connection where I can upload at 4MB/s. Is there any work around using conf files for this annoying bug? Or any workaround that doesn't require building from source? This is making my uploads 40x slower than they need to be :(
My owncloud.cfg file doesn't have a BWLimit setting, is it hardcoded in the source perhaps?
I'm running Ubuntu 14.04, with the desktop client version 2.1
@guruz Yes, for the same file size and the same internet connection, the android client is much much faster. The only difference is that the desktop client has ethernet into the router, and the phone is using wifi. But as you can see above, the scp (via the desktop computer) gets the same speed it seems as the android client. It's only this desktop client that runs slow :(
Thanks @guruz for the suggestion, before I had a chance to try it I "got lucky" - the instance of this issue I was facing today was a regularly aborting download of about 60GB of photos and videos, I kept pausing/resuming when it failed, and just before you posted your suggestion I got though 20GB before 9832 reared its head and killed the connection.
On the first attempt after doing "export OWNCLOUD_MAX_PARALLEL=1; owncloud" it again failed with 9832, on second attempt it completed but had only 2GB to go at that point anyway.
I'll try it again next time I face a big sync, not sure when that'll be.
I can now report that the "export OWNCLOUD_MAX_PARALLEL=1; owncloud" does not get around this problem. And something about the ownCloud 2.2 client seems to be making this issue worse - it used to get through about a gig before failing, now I'm lucky for it to even get past scanning for changes and syncing the first few files for the photo repository that is so often a problem for me.
FWIW this looks to be affecting only the Linux build. I have a customer with a similarly huge photo repository syncing to Windows PCs without issue.
Can the last of the v2.0 Linux builds be made available for download please? That was my successful way around this issue.
@awnz I think this is a server issue or server configuration issue (PHP, webserver, FPM, whatever...).
Might also be related to the Qt version the client is using.
Activity
guruz commentedon Jan 5, 2016
Since 2.1: You need to have it compiled (or using packages) with at least Qt 5.4.x for this to be enabled.
https://owncloud.org/changelog/desktop/
blueddy commentedon Jan 15, 2016
Same problem:
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
sudo apt-get install qt5-default
owncloud client version 2.1.0
vladimir-vb commentedon Jan 29, 2016
The same problem:
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
sudo apt-get install qt5-default
owncloud client version 2.1.0
The requirement: _You need to have it compiled (or using packages) with at least Qt 5.4.x for this to be enabled. _ Does not seem to be enough ... Perhaps the packages for ubuntu distributed by owncloud.org and suse.org are complied to use qt4 ...
dragotin commentedon Jan 29, 2016
Indeed, according to https://build.opensuse.org/build/isv:ownCloud:desktop/xUbuntu_15.10/x86_64/owncloud-client/_log Qt4 is used. The problem is that for the deb based builds (Debian, Ubuntus) we can not set the build requirements depending on the platform version it is building for. We can do that for rpms.
This is a limitation of the build system of OBS. An alternative would be to build in an official PPA but there we would need somebody to volunteer to do that.
FYI @jnweiger - maybe worth to talk to the OBS gurus about.
jnweiger commentedon Jan 29, 2016
With deb packaging the mechanisms are different that with rpm packaging, but a hook for dynamic dependencies exists there too:
@dragotin you are already talking to an OBS guru :-)
The rules file can say in its override_dh_auto_install section
and then the control file can list
Package: owncloud-client Depends: .... %{qt:Depends} ...to make the binary depend on the qt5-thing, only if $whatever_condition was true at build time.
dheineman commentedon Feb 23, 2016
Any update on if/when this will be fixed?
yhoogstrate commentedon Mar 12, 2016
2.1.1 is also affected. is there a way to manually change this in a config file?
It looks like there is code that parses such configuration from owncloud.cfg:
client/src/libsync/configfile.cpp
Line 543 in 6c07f08
Adding the following lines to the cfg however does not reduce the bandwidth
danimo commentedon Mar 12, 2016
@dheineman once Ubuntu ships with a Qt version which also works with their proprietary changes to the systray in Unity (something half way working is already part of the upcoming Qt 5.6.0, but it's still not there).
@yhoogstrate No, this is a compile time option. The code path that makes bandwidth control work with older version of Qt used other libraries and was buggy, so we decided to remove it.
yhoogstrate commentedon Mar 24, 2016
Sorry guys to bother you again... but it is really a problem for me and I assume also for others.
I assume it's not really elegant to do a static compilation for Qt5?
The problem for me is that ownClound syncs really agressively. When ownCloud is syncing with a server in the same local network, it takes all available bandwidth. This way my browser can't even load websites because they get timed out. Even worse, other people in my network can't use the wifi either, when owncloud on my instance is syncing.
If other people are having similar problems, maybe one of the following workarounds may be of use to you:
guruz commentedon Mar 24, 2016
@yhoogstrate If not each Linux distribution would cook their own soup we would have an easier time supporting several linux distributions at once. For OS X and Windows, we just ship our own Qt and it works.
shanness commentedon Mar 30, 2016
My upload bandwidth seems capped at 100KB/s. I've just got a new net connection where I can upload at 4MB/s. Is there any work around using conf files for this annoying bug? Or any workaround that doesn't require building from source? This is making my uploads 40x slower than they need to be :(
My owncloud.cfg file doesn't have a BWLimit setting, is it hardcoded in the source perhaps?
I'm running Ubuntu 14.04, with the desktop client version 2.1
2 remaining items
guruz commentedon Mar 30, 2016
@yhoogstrate BTW, if you start the client with
OWNCLOUD_MAX_PARALLEL=1 owncloudyou can at least lower the upload/download concurrency if you want.@shanness For the same network connectin and the time file size, the Android client is much much faster?
shanness commentedon Mar 31, 2016
@guruz Yes, for the same file size and the same internet connection, the android client is much much faster. The only difference is that the desktop client has ethernet into the router, and the phone is using wifi. But as you can see above, the scp (via the desktop computer) gets the same speed it seems as the android client. It's only this desktop client that runs slow :(
awnz commentedon Apr 25, 2016
The loss of bandwidth control options means that the workaround to bug 9832 that I was using up til now is no longer doable.
guruz commentedon Apr 25, 2016
@awnz You should be able to start the client with
OWNCLOUD_MAX_PARALLEL=1 owncloudawnz commentedon Apr 25, 2016
Thanks @guruz for the suggestion, before I had a chance to try it I "got lucky" - the instance of this issue I was facing today was a regularly aborting download of about 60GB of photos and videos, I kept pausing/resuming when it failed, and just before you posted your suggestion I got though 20GB before 9832 reared its head and killed the connection.
On the first attempt after doing "export OWNCLOUD_MAX_PARALLEL=1; owncloud" it again failed with 9832, on second attempt it completed but had only 2GB to go at that point anyway.
I'll try it again next time I face a big sync, not sure when that'll be.
awnz commentedon May 14, 2016
I can now report that the "export OWNCLOUD_MAX_PARALLEL=1; owncloud" does not get around this problem. And something about the ownCloud 2.2 client seems to be making this issue worse - it used to get through about a gig before failing, now I'm lucky for it to even get past scanning for changes and syncing the first few files for the photo repository that is so often a problem for me.
FWIW this looks to be affecting only the Linux build. I have a customer with a similarly huge photo repository syncing to Windows PCs without issue.
Can the last of the v2.0 Linux builds be made available for download please? That was my successful way around this issue.
awnz commentedon May 14, 2016
Workaround back to working for me after compiling v2.0.2 myself by:
guruz commentedon May 18, 2016
@awnz I think this is a server issue or server configuration issue (PHP, webserver, FPM, whatever...).
Might also be related to the Qt version the client is using.
guruz commentedon May 18, 2016
@awnz OK, maybe a server issue after all: owncloud/core#24653
awnz commentedon May 18, 2016
Thanks @guruz I've subscribed to that bug and once the fix is released (and #4828 also fixed/released) I'll try the repo current version again.
guruz commentedon Apr 5, 2017
Please use the Qt 5.6.2 based packages: https://software.opensuse.org/download.html?project=isv%3AownCloud%3Adevel%3AQt562&package=owncloud-client
xkill commentedon May 12, 2017
I'm having the same problem. I have installed all the QT5.6.2 packages (following #4334 (comment) )