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

Owncloud doesn't save files edited with onlyoffice docserver if file is shared. #31426

Closed
StrikerASD opened this issue May 12, 2018 · 2 comments

Comments

@StrikerASD
Copy link

Hello, owncloud is unable to save files which are shared by another person and are edited in online mode with onlyoffice document editor. I checked in terminal of Linux and i confirm that all files belongs to www-data:wwwdata user/group, so it isn't the case.

When file is edited only by a user who owns it, everything is fine, file versioning is working, changes to the file are made. But when for example admin is sharing files, and they are edited in online mode by another user that use admin shared files, then the work is visible only online for some time. When file is downloaded, the changes are not visible, and after some time also online work is reverted to the previous state which was actually saved by an admin.

Steps to reproduce

  1. As Admin, create for example xlsx file and share it with another user.
  2. As some_user edit xlsx file in online mode with onlyoffice document editor, save your work.
  3. Download the file after a while. At this point, file should be updated with new input data, but it's not.

Expected behaviour

Edited file that is shared by admin (or probably by anyone) should be saved (which partially is the result, but only in owncloud after some time it also is reverted back to the previous state), so when i download a file as a user who is editing shared file those changes should be visible.

Actual behaviour

Saved file is only visible with changes online, but after some time it reverts back to the last edited state done by person which is sharing this file. Downloaded version has no changes applied whatsoever. It happens when multiple people use the same file and even when single user is making changes.

For the record, when file is edited locally on the client computer, the file is successfuly synced with owncloud after the changes.

Server configuration

Operating system:
Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
Web server:
apache 2.4.25-3+deb9u4 amd64
Database:
mysql-server 5.7.22-1debian9 amd64**
PHP version:
php 7.0.27-0+deb9u1
ownCloud version: (see ownCloud admin page)
10.0.6
Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

false, 'updatechecker' => false, 'instanceid' => 'classified', 'passwordsalt' => 'classified', 'secret' => 'classified', 'trusted_domains' => array ( 0 => 'localhost', 1 => '192.168.5.12', 2 => '192.168.5.11', 3 => 'classified', 4 => 'classified', 5 => '192.168.5.9', 6 => 'debiancloud.example.com', ), 'datadirectory' => '/var/www/owncloud/data', 'overwrite.cli.url' => 'https://classified/owncloud', 'dbtype' => 'mysql', 'version' => '10.0.6', 'logtimezone' => 'UTC', 'installed' => true, /* 'memcache.local' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, ), */ 'memcache.local' => '\OC\Memcache\APCu', 'loglevel' => 0, 'filelocking.enabled' => true, 'memcache.locking' => '\OC\Memcache\Redis', 'redis' => [ 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, 'password' => '', // Optional, if not defined no password will be used. ], 'dbname' => 'owncloud', 'dbhost' => '127.0.0.1', 'dbuser' => 'root', 'dbpassword' => 'classified', 'theme' => '', ); ``` **List of activated apps:** ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your ownCloud installation folder. ``` root@cloud:/var/www/owncloud# sudo -u www-data php occ app:list Enabled: - activity: 2.3.6 - calendar: 1.5.7 - comments: 0.3.0 - configreport: 0.1.1 - dav: 0.3.0 - federatedfilesharing: 0.3.1 - federation: 0.1.0 - files: 1.5.1 - files_clipboard: 0.7.1 - files_external: 0.7.1 - files_pdfviewer: 0.8.2 - files_sharing: 0.10.1 - files_texteditor: 2.2.1 - files_trashbin: 0.9.1 - files_versions: 1.3.0 - files_videoplayer: 0.9.8 - firstrunwizard: 1.1 - gallery: 16.0.2 - market: 0.2.2 - notifications: 0.3.1 - onlyoffice: 1.1.6 - passman: 2.1.4 - provisioning_api: 0.5.0 - systemtags: 0.3.0 - templateeditor: 0.1 - updatenotification: 0.2.1 Disabled: - encryption - external - files_antivirus - theme-example - user_external **Are you using encryption:** yes/no NO There are no error logs in the logs.
@DeepDiver1975
Copy link
Member

I suspect some issue within only office - please get in touch with the onlyoffice guys: https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants