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

Nextcloud locking .PPTX files #9910

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

Nextcloud locking .PPTX files #9910

Nevarro opened this issue Jun 19, 2018 · 2 comments

Comments

@Nevarro
Copy link

Nevarro commented Jun 19, 2018

Steps to reproduce

  1. Create a .pptx-file and save it (syncs fine)
  2. Continue working on the file (won't sync anymore)

Expected behaviour

Nextcloud should sync the .pptx-files like it does with all other files.

Actual behaviour

After saving the file and closing PowerPoint on my Mac, Nextcloud tells me that the .pptx file has been locked. Happens mostly to very big PPT-files >20 MB.

Server configuration

Operating system: Shared Webhosting

Web server: Shared

Database: MySQL 5.7.21

PHP version: 7.1

Nextcloud version: 13.0.4

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: My webhoster offers the installation. Then I updated via the admin panel within Nextcloud.

Signing status:

No errors have been found.

List of activated apps:

no access to the command line

Nextcloud configuration:

Config report 'XXXXXX', 'passwordsalt' => 'XXXXXX', 'secret' => 'XXXXXX', 'trusted_domains' => array ( 0 => 'XXXXXX', 1 => 'https://', 2 => 'localhost', 3 => 'http://', ), 'datadirectory' => '/www/htdocs/XXXXXX/nextcloud/data', 'overwrite.cli.url' => 'XXXXXX', 'dbtype' => 'mysql', 'version' => '13.0.1.1', 'dbname' => 'XXXXXX', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'QyT8L_', 'mysql.utf8mb4' => false, 'dbuser' => 'XXXXXX', 'dbpassword' => 'XXXXXX', 'installed' => true, 'tempdirectory' => '/www/htdocs/XXXXXX/nextcloud/tmp', 'updater.secret' => 'XXXXXX', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'filelocking.enabled' => true, 'memcache.local' => '\\OC\\Memcache\\ArrayCache', );
**Are you using external storage, if yes which one:** no **Are you using encryption:** no **Are you using an external user-backend, if yes which one:** Webdav/ but not for this folder #### LDAP configuration (delete this part if not used) no access ### Client configuration **Browser:** Official Nextcloud Application **Operating system:** Mac OS 10.13.2 ### Logs #### Web server error log
Web server error log Fatal | webdav | OCA\DAV\Connector\Sabre\Exception\FileLocked: "XXXXXX/XXXXXX/XXXXXX/XXXXXX/XXXXXX/00_XXXXXX.pptx" is locked | 2018-06-19T09:57:49+0200
#### Nextcloud log (data/nextcloud.log)
Nextcloud log ``` Insert your Nextcloud log here ```
#### Browser log
Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
@tapete
Copy link

tapete commented Jun 19, 2018

I noticed the same behaviour. This is also discussed here: #8239 (comment)

@MorrisJobke
Copy link
Member

OCA\DAV\Connector\Sabre\Exception\FileLocked

A possible workaround: use Redis as locking backend. There seem to be still some race conditions we are currently try to find:

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