I’ve been using Owncloud for a number of years without any problems and have made no changes to the server or the client; but recently the client cannot connect to the server and times out/aborts. I downloaded a fresh version of the client and did a clean install but the issue remains.
Can log in via browser no problem and upload/download files/folders without issue; although it must be noted that using all browsers this has also become very slow.
As mentioned, no changes have been made other than new small files added to the sync folder.
Local folder syncs to server
Desktop client is logged in and connected to the remote server but when attempting to sync, gives errors and does not sync
Also when fetching folder list from server also fails with message: ‘no connection to owncloud at www.ourserver.com timeout connection timeout’
Steps to reproduce
- Connect to Desktop Client
- Choose local folder to sync, choose remote folder
- Error messages in ‘Activity’ ‘Not Synced’
My SQL 10.3.2.2
Storage backend (external storage):
2.10.1 (Build 7187)
OSX Monterey 12.4
Installation path of client:
Server logfile: ownCloud log (data/owncloud.log):
owncloud.log I can see that there are severe database and memory issues:
General error: 2006 MySQL server has gone away
Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000]  Too many connections at ...
Out of memory (allocated 123731968) (tried to allocate 376832 bytes) at ...
Too me it looks your database keeps crashing due to memory outage.
Unforunately, at this step the other log entries wouldn’t be any help.
I suggest to double check your database server sanity and then try again.
Edit: Additionally consider upgrading your ownCloud instance. 10.3.2.2 is quite an old version and lots of performance issues had been solved since then. Still, first have a look at your memory/database
I noticed those errors and contacted our hosting company who supposedly increased our memory allocation. We don’t have our own server but it’s not shared.
I intend to update to the latest Owncloud version but am trying to limp along at the moment as our customers are UK schools so we can’t afford any issues with upgrading.
My experience of installing Owncloud in the first place was a nightmare so I need to wait until schools are on summer vacation here before I mess around with that.
I’m glad you figured out the memory issue.
You might want to test the upgrade on a cloned system (or on a local system using a database dump). In my test cases I only sync that user’s data directory who will be my test user.
Still I can see your point why you would be waiting, sometimes a test run is behaving differently than performing the same steps on the live server
@iCompute_UK since this issue has been resolved (and is unrelated to our server or client), please close this issue as solved.
Thanks @cortho for figuring out the problem!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.