files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

I can't make collaborative edition

Open rosa2 opened this issue 4 years ago • 0 comments

Hello and thanks for the app :) Sorry for my bad English... If I edit a file, I can edit without problem, but if 2 or more users try collaborative edition opening the file, only the last one can edit and save. The others get: "File: /xxx.txt modified since opening." and the changes are not saved or watched by the other.

Thanks for any help :)

Steps to reproduce

  1. User1 creates a new document and edits it.
  2. User2 opens the document (he can see changes made by User1) and edits it.
  3. User1 doesn't see changes made by User2.
  4. User1 tries to make changes by gets the message "File: /xxx.txt modified since opening." and the file can't be saved.
  5. If you go to the NextCloud log, you get messages as this

{"reqId":"sO7KrIGpPr8Yzab33x3Z","level":4,"time":"2022-01-18T14:13:12+01:00","remoteAddr":"xxxx.xx.xx.xx","user":"xxx","app":"files_texteditor","method":"PUT","url":"/index.php/apps/files_texteditor/ajax/savefile","message":"File: /xx.md modified since opening.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36","version":"22.2.0.2","id":"61e6bd683aef6"}

Expected behaviour

To be able to make collaborative edition and see changes from both users and be able to save changes (auto-save).

Actual behaviour

Users can't see changes from others and only last one opening the file gets his changes saved.

Server configuration

Operating system: Debian 11 Web server: Apache/2.4.38 (Debian) Database: mysql 10.3.31 PHP version: 7.4.27 Nextcloud version: (see Nextcloud admin page) Nextcloud 22.2.0 Where did you install Nextcloud from:

List of activated apps:

  • accessibility: 1.8.0
  • activity: 2.15.0
  • bookmarks: 10.0.3
  • calendar: 3.0.4
  • circles: 22.1.1
  • cloud_federation_api: 1.5.0
  • comments: 1.12.0
  • contacts: 4.0.7
  • contactsinteraction: 1.3.0
  • dashboard: 7.2.0
  • data_request: 1.9.0
  • dav: 1.19.0
  • deck: 1.5.5
  • federatedfilesharing: 1.12.0
  • federation: 1.12.0
  • files: 1.17.0
  • files_markdown: 2.3.5
  • files_pdfviewer: 2.3.0
  • files_sharing: 1.14.0
  • files_texteditor: 2.14.0
  • files_trashbin: 1.12.0
  • files_versions: 1.15.0
  • files_videoplayer: 1.11.0
  • firstrunwizard: 2.11.0
  • groupfolders: 10.0.2
  • impersonate: 1.9.0
  • logreader: 2.7.0
  • lookup_server_connector: 1.10.0
  • metadata: 0.15.0
  • nextcloud_announcements: 1.11.0
  • notifications: 2.10.1
  • oauth2: 1.10.0
  • onlyoffice: 7.3.0
  • password_policy: 1.12.0
  • photos: 1.4.0
  • privacy: 1.6.0
  • provisioning_api: 1.12.0
  • recommendations: 1.1.0
  • richdocuments: 4.2.3
  • serverinfo: 1.12.0
  • settings: 1.4.0
  • sharebymail: 1.12.0
  • support: 1.5.0
  • survey_client: 1.10.0
  • systemtags: 1.12.0
  • theming: 1.13.0
  • theming_customcss: 1.10.0
  • twofactor_backupcodes: 1.11.0
  • updatenotification: 1.12.0
  • user_status: 1.2.0
  • viewer: 1.6.0
  • weather_status: 1.2.0
  • workflowengine: 2.4.0

Nextcloud configuration:

{ "system": { "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "REMOVED SENSITIVE VALUE" ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "version": "22.2.0.2", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "instanceid": "REMOVED SENSITIVE VALUE", "memcache.local": "\OC\Memcache\APCu", "upgrade.disable-web": true, "updatechecker": false, "mail_domain": "REMOVED SENSITIVE VALUE", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "465", "mail_smtpsecure": "ssl", "default_phone_region": "ES", "logtimezone": "Europe/Madrid", "log_rotate_size": 104857600, "maintenance": false, "overwrite.cli.url": "REMOVED SENSITIVE VALUEt", "loglevel": 2 } }

Client configuration

Browser: I have tried with Chormium Version 97.0.4692.71 and Firefox 96.0 (64-bit) Operating system: Ubuntu 21.04

Logs

Nextcloud log (data/owncloud.log)

Insert your Nextcloud log here

{"reqId":"sO7KrIGpPr8Yzab33x3Z","level":4,"time":"2022-01-18T14:13:12+01:00","remoteAddr":"xxxx.xx.xx.xx","user":"xxx","app":"files_texteditor","method":"PUT","url":"/index.php/apps/files_texteditor/ajax/savefile","message":"File: /xx.md modified since opening.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36","version":"22.2.0.2","id":"61e6bd683aef6"}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

rosa2 avatar Jan 18 '22 13:01 rosa2