After new install of Windows 7 32 the client dont start to download files
I have a fresh installation of my win7 32 system and installed the client 1.5.0 on my pc. The client connects, but never starts to download a single file.
I created a second windows login for my wife on the same pc and there the OC client started to download.
The only difference is, that i have ~25.000 files / 54Gbyte data, and my wife only 300 mb.
So i logged onto my linux debian and moved 66% of my files from the owncloud/data/user1 folder to an other location ...
Bling!
The client started to sync!
Seems , the initial start of the complete 25k files is too much ... what should i increase on the server ?
Max_execution_time is set to 900 second, but it didnt help.
Windows7 32 client 1.5.0 Linux Debian 6.0.0a and php 5.3.3
I wonder if this could be related to the "2 gb" limit issues with PHP.
The sync client that wouldn't download, did it show any error in the "Activity" panel in the Settings ? Did you see anything appearing in the client or server (web server, owncloud) logs at that time ?
At the time the sync client started for you, did your data amount was less than 2 gb or still more than that ?
Hi. NO Errors, just nothing happens on the client. The Icon in the windows bottom right corner showed the gray 0C icon. Hold on the Sync Or change the connection forces the client to freeze. After that i need to force close it. I think i moved all data but left 1,7GB... then the sync started.
I moved more than 66% of the Data. I test it again to be sure.
Is your server also running on 32bits ?
There is a pending patch here that should fix error logging on the server which could help tracking down the issue: https://github.com/owncloud/core/pull/6907
Yes, my server is a 32Bit machine. I must say, that it has only a 395kbit upload and a 500mhz AMD Geode processor.
I installed your mentioned patch #6907 on my server and i found this fatal's after server started:
PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///opt/lampp/var/mysql/mysql.sock) at /data/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php#36
and
SQLSTATE[HY000] [2002] No such file or directory
I checked google for this messages and there are infos , that the mysql.sock could be the error. I checked this on my server and all variables for the sock is fine.
Furthermore i can confirm this repeatable issue:
STEP 1: 56G Data, 25k files on server side:
- clean windows client starts and asks for server information to connect to.
- after input the server data , client shows successful connection and 2G/62G Data used
- the server is doing heavy load in httpd and mysqld for about 3-4 minutes (500Mhz AMD Geode)
- then the windows client starts to load with 45kb/s for about 3 minutes (checked with windows ressource monitor)
- then : nothing happens neither on server nor on the client
Closing windows client ... deleting folders with configuration info, deleting hidden files from data folder.
On the server moving ~54 GB of Data to another folder on the HDD.
STEP 2: NEW: 1,8G Data, 3k files:
- clean windows client starts and asks for server information to connect to
- after input the server data , client shows successful connection and 1,8G/62G Data used
- the server is doing heavy load in httpd and mysqld for about 3-4 minutes (500Mhz AMD Geode)
- then the windows client starts to load with 45kb/s for about 1 minute (checked with windows ressource monitor)
- then: CLIENT STARTS TO SYNC
close windows client and on the server move back just 10G of data into the owncloud/dara/user1 folder. Then starting the client and EXACTLY same behaviour like in step 1, but without the input of server information ... During the client connection procedure the server dont show any new fatals/errors.
This all is repeatable! Hope this helps a little bit to check this issue ... In my case i have to DL all data by FTP and then upload it again to the server by the windows client.
@rhocco Thanks for the detailed info.
If possible, can you add "define('DEBUG', 1)" at the end of your config.php then reproduce the issue.
This should provide a stack trace in the log under that PDO error message.
@bantu any idea what could be wrong ? Have we met this kind of issue before ? Could it be the PHP 2gb limit issue again ?
I deleted the logfile before started to reproduce the issue. This is what the OC server has logged so far (with the define('DEBUG', 1); ) ...
{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL connection timeout (error code: 28) (Sabre_DAV_Exception)","level":2,"time":"2014-01-24T14:51:53+00:00"} {"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL connection timeout (error code: 28) (Sabre_DAV_Exception)","level":2,"time":"2014-01-24T14:53:14+00:00"} {"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL connection timeout (error code: 28) (Sabre_DAV_Exception)","level":2,"time":"2014-01-24T14:54:29+00:00"} {"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL connection timeout (error code: 28) (Sabre_DAV_Exception)","level":2,"time":"2014-01-24T14:57:44+00:00"} {"app":"webdav","message":"Exception: Sabre_DAV_Exception_NotAuthenticated: No basic authentication headers were found","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #1 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Auth/Plugin.php(107): OC_Connector_Sabre_Auth->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #2 [internal function]: Sabre_DAV_Auth_Plugin->beforeMethod('GET', '')","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #3 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(432): call_user_func_array(Array, Array)","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #4 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(454): Sabre_DAV_Server->broadcastEvent('beforeMethod', Array)","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #5 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(213): Sabre_DAV_Server->invokeMethod('GET', '')","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #6 /media/x/server/data/htdocs/prv/owncloud/apps/files/appinfo/remote.php(58): Sabre_DAV_Server->exec()","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #7 /media/x/server/data/htdocs/prv/owncloud/remote.php(43): require_once('/media/x/server...')","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: #8 {main}","level":4,"time":"2014-01-24T14:58:31+00:00"} {"app":"webdav","message":"Exception: Sabre_DAV_Exception_NotAuthenticated: No basic authentication headers were found","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #1 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Auth/Plugin.php(107): OC_Connector_Sabre_Auth->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #2 [internal function]: Sabre_DAV_Auth_Plugin->beforeMethod('PROPFIND', '')","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #3 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(432): call_user_func_array(Array, Array)","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #4 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(454): Sabre_DAV_Server->broadcastEvent('beforeMethod', Array)","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #5 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(213): Sabre_DAV_Server->invokeMethod('PROPFIND', '')","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #6 /media/x/server/data/htdocs/prv/owncloud/apps/files/appinfo/remote.php(58): Sabre_DAV_Server->exec()","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #7 /media/x/server/data/htdocs/prv/owncloud/remote.php(43): require_once('/media/x/server...')","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: #8 {main}","level":4,"time":"2014-01-24T14:59:26+00:00"} {"app":"webdav","message":"Exception: Sabre_DAV_Exception_NotAuthenticated: No basic authentication headers were found","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #1 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Auth/Plugin.php(107): OC_Connector_Sabre_Auth->authenticate(Object(OC_Connector_Sabre_Server), 'ownCloud')","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #2 [internal function]: Sabre_DAV_Auth_Plugin->beforeMethod('PROPFIND', '')","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #3 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(432): call_user_func_array(Array, Array)","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #4 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(454): Sabre_DAV_Server->broadcastEvent('beforeMethod', Array)","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #5 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(213): Sabre_DAV_Server->invokeMethod('PROPFIND', '')","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #6 /media/x/server/data/htdocs/prv/owncloud/apps/files/appinfo/remote.php(58): Sabre_DAV_Server->exec()","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #7 /media/x/server/data/htdocs/prv/owncloud/remote.php(43): require_once('/media/x/server...')","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"webdav","message":"Exception: #8 {main}","level":4,"time":"2014-01-24T15:00:43+00:00"} {"app":"OC\Files\Cache\Scanner","message":"!!! Path 'files/files/schulbildung' is not readable !!!","level":0,"time":"2014-01-24T18:10:11+00:00"} {"app":"webdav","message":"Exception: Sabre_DAV_Exception_NotFound: File with name files/schulbildung could not be located","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #1 /media/x/server/data/htdocs/prv/owncloud/lib/private/connector/sabre/server.php(43): OC_Connector_Sabre_Server->getPropertiesForPath('files/schulbild...', Array, 0)","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #2 [internal function]: OC_Connector_Sabre_Server->httpPropfind('files/schulbild...')","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #3 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(473): call_user_func(Array, 'files/schulbild...')","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #4 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(213): Sabre_DAV_Server->invokeMethod('PROPFIND', 'files/schulbild...')","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #5 /media/x/server/data/htdocs/prv/owncloud/apps/files/appinfo/remote.php(58): Sabre_DAV_Server->exec()","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #6 /media/x/server/data/htdocs/prv/owncloud/remote.php(43): require_once('/media/x/server...')","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"webdav","message":"Exception: #7 {main}","level":4,"time":"2014-01-24T18:10:12+00:00"} {"app":"OC\Files\Cache\Scanner","message":"!!! Path 'files/files' is not readable !!!","level":0,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: Sabre_DAV_Exception_NotFound: File with name files could not be located","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #1 /media/x/server/data/htdocs/prv/owncloud/lib/private/connector/sabre/server.php(43): OC_Connector_Sabre_Server->getPropertiesForPath('files', Array, 0)","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #2 [internal function]: OC_Connector_Sabre_Server->httpPropfind('files')","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #3 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(473): call_user_func(Array, 'files')","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #4 /media/x/server/data/htdocs/prv/owncloud/3rdparty/Sabre/DAV/Server.php(213): Sabre_DAV_Server->invokeMethod('PROPFIND', 'files')","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #5 /media/x/server/data/htdocs/prv/owncloud/apps/files/appinfo/remote.php(58): Sabre_DAV_Server->exec()","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #6 /media/x/server/data/htdocs/prv/owncloud/remote.php(43): require_once('/media/x/server...')","level":4,"time":"2014-01-24T18:10:34+00:00"} {"app":"webdav","message":"Exception: #7 {main}","level":4,"time":"2014-01-24T18:10:34+00:00"}
Ok, i have it.
I have turned on "force ssl" for all clients. If i disable this and connect just over http with the windows client it works like it should. Client starts to sync.
My self signed SSL certificate throws "security" warnings an chrome , firefox etc. Logged in as admin in OC web-ui, there is a message "that my webdav is not working as it should", but it does perfectly with ssl.
I just dont know why a self signed cert makes a 2GB difference.
Not sure, maybe there is another timeout value set for SSL connections which would cut the connection after a certain delay, which happens to be around 2 GB data transfer ?
@bantu @nickvergessen any idea regarding the SSL case ?
I can give you another information.
I connected my PC into the local network, where i installed my debian server. Configured the client with https:// ..... and after ~5 minutes the client started to sync.
I interupted the client and deleted everything on the client PC.
Connected to the server over my neighbors wifi .... the client never started to sync.
I think the reason is my limited upload speed of the server. It has only 45kb/s (395kbits) upload speed. When the upload speed is higher (local wifi ~50mbit) the sync starts.
It seems, when there are few files the 45kb/s is enogh, but not with ~55k files.
Would be good if you could provide the client log (run it with "--logfile file.log" so we can see what happens / doesn't happen.
CC @dragotin
Closing due to inactivity.
Please try again with OC 6.0.3 and the sync client 1.5.4 (or the beta 1.6.0 beta2). Feel free to reopen if the problem still persists, and attach the client sync log as requested above.
Thanks.