Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server replied: Locked #9922

Closed
bi4 opened this issue Jun 19, 2018 · 2 comments
Closed

server replied: Locked #9922

bi4 opened this issue Jun 19, 2018 · 2 comments

Comments

@bi4
Copy link

bi4 commented Jun 19, 2018

Expected behaviour

File should sync.
I tried to upload a folder with several files, 573 MB..
I can sync single files word etc. with no problems.
I do not have crossed the upload limit for syncs in client settings.

Actual behaviour

sync error. server replied: Locked

level fatal
app webdev

OCA\DAV\Connector\Sabre\Exception\FileLocked: "x/xy/yy" is locked

/snap/nextcloud/7658/htdocs/3rdparty/sabre/dav/lib/DAV/Tree.php - line 179: OCA\DAV\Connector\Sabre\Directory->delete()
/snap/nextcloud/7658/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 291: Sabre\DAV\Tree->delete('files/jma/MSc/2...')
[internal function] Sabre\DAV\CorePlugin->httpDelete(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/snap/nextcloud/7658/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/snap/nextcloud/7658/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method DELETE', Array)
/snap/nextcloud/7658/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/snap/nextcloud/7658/htdocs/apps/dav/lib/Server.php - line 287: Sabre\DAV\Server->exec()
/snap/nextcloud/7658/htdocs/apps/dav/appinfo/v2/remote.php - line 35: OCA\DAV\Server->exec()
/snap/nextcloud/7658/htdocs/remote.php - line 164: require_once('/snap/nextcloud...')
{main}

Server configuration

Operating system: linux

Nextcloud version: 13.04.

Where did you install Nextcloud from:
snap

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

"No errors have been found."

@brunt82
Copy link

brunt82 commented Jun 20, 2018

What kind of database do you use? SQLLite only supports one access at the same time.

@MorrisJobke
Copy link
Member

A possible workaround: use Redis as locking backend. Also using SQLite for example is not recommended for production use as it has limitations especially regarding concurrent requests.

There seem to be still some race conditions we are currently try to find regarding the locking:

SQL issue: #9305
Redis issue: #8239

Closing as duplicate of the two mentioned ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants