Skip to content

No collaboration by using AIO/Collabora rootless and Nextcloud app #3189

@MarvvanPal

Description

@MarvvanPal

Steps to reproduce

  1. Installing Docker rootless on Raspberry Pi 4 with Raspberry Pi OS
  2. Installing Portainer and Nginx Proxy Manager
  3. Going through the official Nextcloud AIO instruction incl. Nginx reverse proxy and rootless
  4. Creating a file (here: a spreadsheet) via Browser with User1 and share it with User2
  5. Insert some content into the spreadsheet and exit(!) the file
  6. Login with User2 via Nextcloud App in iOS or Android
  7. Open the shared file
  8. Do some changes like adding a sheet or insert / delete some content
  9. Save the file via pressing the check-sign on the left top corner and exit with the lower arrow (<)
  10. Open the file with User1 in the Browser

Expected behavior

The changes from User2 will be shown in the file.

Actual behavior

  • All changes from User2 are not visible.
  • There is also no Activity in the side menu visible.
  • No Indicator visible from User2 while the owner of the file has the file open in the same time.
  • In the app the timestamp of last modification gets no update ("2 minutes ago" instead "a few seconds ago").

Host OS

Raspberry Pi OS Version: 20230214

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"

Nextcloud AIO version

v7.2.1

Current channel

latest

Other valuable info

nextcloud-aio-collabora_log
User2 = Testuser

2023-09-22T09:00:25.848825236Z      149	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=7680 tilewidth=1280 tileheight=1280 oldwid=0 wid=149 ver=197 imgsize=26 deltas: 0: 149 -> 0 1: 328 -> 25 
2023-09-22T09:00:25.848842254Z       15	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=3840 tilewidth=1280 tileheight=1280 oldwid=0 wid=15 ver=15 imgsize=26 deltas: 0: 15 -> 0 1: 195 -> 25 
2023-09-22T09:00:25.848860717Z      153	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=153 ver=201 imgsize=26 deltas: 0: 153 -> 0 1: 332 -> 25 
2023-09-22T09:00:25.848878291Z       16	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=3840 tilewidth=1280 tileheight=1280 oldwid=0 wid=16 ver=16 imgsize=26 deltas: 0: 16 -> 0 1: 196 -> 25 
2023-09-22T09:00:25.848895272Z      154	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=154 ver=202 imgsize=26 deltas: 0: 154 -> 0 1: 333 -> 25 
2023-09-22T09:00:25.848912457Z      155	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=155 ver=203 imgsize=26 deltas: 0: 155 -> 0 1: 334 -> 25 
2023-09-22T09:00:25.848943642Z      156	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=3840 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=156 ver=204 imgsize=26 deltas: 0: 156 -> 0 1: 335 -> 25 
2023-09-22T09:00:25.848961271Z       19	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=5120 tilewidth=1280 tileheight=1280 oldwid=0 wid=19 ver=19 imgsize=26 deltas: 0: 35 -> 0 1: 199 -> 25 
2023-09-22T09:00:25.848978400Z      245	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=245 ver=405 imgsize=26 deltas: 0: 245 -> 0 1: 336 -> 25 
2023-09-22T09:00:25.848995456Z       20	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=5120 tilewidth=1280 tileheight=1280 oldwid=0 wid=20 ver=20 imgsize=26 deltas: 0: 36 -> 0 1: 200 -> 25 
2023-09-22T09:00:25.849012511Z      246	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=246 ver=406 imgsize=26 deltas: 0: 246 -> 0 1: 337 -> 25 
2023-09-22T09:00:25.849029548Z      247	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=247 ver=407 imgsize=26 deltas: 0: 247 -> 0 1: 338 -> 25 
2023-09-22T09:00:25.849046603Z      248	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=3840 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=248 ver=408 imgsize=26 deltas: 0: 248 -> 0 1: 339 -> 25 
2023-09-22T09:00:25.849066325Z       24	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=6400 tilewidth=1280 tileheight=1280 oldwid=0 wid=24 ver=24 imgsize=26 deltas: 0: 40 -> 0 1: 204 -> 25 
2023-09-22T09:00:25.849083843Z      250	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=11520 tilewidth=1280 tileheight=1280 oldwid=0 wid=250 ver=410 imgsize=26 deltas: 0: 250 -> 0 1: 341 -> 25 
2023-09-22T09:00:25.849101046Z      252	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=3840 tileposy=11520 tilewidth=1280 tileheight=1280 oldwid=0 wid=252 ver=412 imgsize=26 deltas: 0: 252 -> 0 1: 343 -> 25 
2023-09-22T09:00:25.849118028Z      251	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=11520 tilewidth=1280 tileheight=1280 oldwid=0 wid=251 ver=411 imgsize=26 deltas: 0: 251 -> 0 1: 342 -> 25 
2023-09-22T09:00:25.849134972Z       23	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=6400 tilewidth=1280 tileheight=1280 oldwid=0 wid=23 ver=23 imgsize=26 deltas: 0: 39 -> 0 1: 203 -> 25 
2023-09-22T09:00:25.849151879Z      249	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=11520 tilewidth=1280 tileheight=1280 oldwid=0 wid=249 ver=409 imgsize=26 deltas: 0: 249 -> 0 1: 340 -> 25 
2023-09-22T09:00:25.849168990Z       27	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=7680 tilewidth=1280 tileheight=1280 oldwid=0 wid=27 ver=27 imgsize=26 deltas: 0: 43 -> 0 1: 207 -> 25 
2023-09-22T09:00:25.849199841Z      253	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=12800 tilewidth=1280 tileheight=1280 oldwid=0 wid=253 ver=413 imgsize=26 deltas: 0: 253 -> 0 1: 344 -> 25 
2023-09-22T09:00:25.849217637Z       28	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=7680 tilewidth=1280 tileheight=1280 oldwid=0 wid=28 ver=28 imgsize=26 deltas: 0: 44 -> 0 1: 208 -> 25 
2023-09-22T09:00:25.849234803Z      254	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=12800 tilewidth=1280 tileheight=1280 oldwid=0 wid=254 ver=414 imgsize=26 deltas: 0: 254 -> 0 1: 345 -> 25 
2023-09-22T09:00:25.849253229Z      255	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=12800 tilewidth=1280 tileheight=1280 oldwid=0 wid=255 ver=415 imgsize=26 deltas: 0: 255 -> 0 1: 346 -> 25 
2023-09-22T09:00:25.849270710Z      256	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=3840 tileposy=12800 tilewidth=1280 tileheight=1280 oldwid=0 wid=256 ver=416 imgsize=26 deltas: 0: 256 -> 0 1: 347 -> 25 
2023-09-22T09:00:25.849287691Z       32	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=32 ver=32 imgsize=26 keyframe
2023-09-22T09:00:25.849304284Z      258	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=14080 tilewidth=1280 tileheight=1280 oldwid=0 wid=258 ver=418 imgsize=26 deltas: 0: 258 -> 0 1: 349 -> 25 
2023-09-22T09:00:25.849321339Z      260	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=3840 tileposy=14080 tilewidth=1280 tileheight=1280 oldwid=0 wid=260 ver=420 imgsize=26 deltas: 0: 260 -> 0 1: 351 -> 25 
2023-09-22T09:00:25.849338283Z      259	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=14080 tilewidth=1280 tileheight=1280 oldwid=0 wid=259 ver=419 imgsize=26 deltas: 0: 259 -> 0 1: 350 -> 25 
2023-09-22T09:00:25.849355505Z       31	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=8960 tilewidth=1280 tileheight=1280 oldwid=0 wid=31 ver=31 imgsize=26 keyframe
2023-09-22T09:00:25.849372227Z      257	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=14080 tilewidth=1280 tileheight=1280 oldwid=0 wid=257 ver=417 imgsize=26 deltas: 0: 257 -> 0 1: 348 -> 25 
2023-09-22T09:00:25.849389208Z       51	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=2560 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=51 ver=99 imgsize=26 keyframe
2023-09-22T09:00:25.849405930Z      261	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=0 tileposy=15360 tilewidth=1280 tileheight=1280 oldwid=0 wid=261 ver=421 imgsize=26 deltas: 0: 261 -> 0 1: 352 -> 25 
2023-09-22T09:00:25.849423041Z       52	    25 bytes	' nviewid=1002 part=1 width=256 height=256 tileposx=3840 tileposy=10240 tilewidth=1280 tileheight=1280 oldwid=0 wid=52 ver=100 imgsize=26 keyframe
2023-09-22T09:00:25.849441318Z      262	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=1280 tileposy=15360 tilewidth=1280 tileheight=1280 oldwid=0 wid=262 ver=422 imgsize=26 deltas: 0: 262 -> 0 1: 353 -> 25 
2023-09-22T09:00:25.849472558Z      263	    25 bytes	' nviewid=1002 part=2 width=256 height=256 tileposx=2560 tileposy=15360 tilewidth=1280 tileheight=1280 oldwid=0 wid=263 ver=423 imgsize=26 deltas: 0: 263 -> 0 1: 354 -> 25 
2023-09-22T09:00:25.849490169Z     stream cache: 0 num: 0 size: 0 bytes
2023-09-22T09:00:25.849505891Z     stream cache: 1 num: 0 size: 0 bytes
2023-09-22T09:00:25.849521410Z     stream cache: 2 num: 2 size: 109170 bytes
2023-09-22T09:00:25.849536965Z     .uno:CharFontName	108365 bytes
2023-09-22T09:00:25.849552502Z     .uno:StyleApply	   805 bytes
2023-09-22T09:00:25.849567964Z     tiles being rendered 0
2023-09-22T09:00:25.849583353Z 
2023-09-22T09:00:25.849598556Z   SocketPoll:
2023-09-22T09:00:25.849613852Z     Poll [docbroker_002] with 1 socket - wakeup rfd: 23 wfd: 24
2023-09-22T09:00:25.849629593Z 	    fd	events	rbuffered	wbuffered	rtotal	wtotal	clientaddress
2023-09-22T09:00:25.849645963Z 	    18	0x1	process	     0	     0	 r: 348374	 w:  27509	uds-to-pid-19	alive 0.555ms 
2023-09-22T09:00:25.849662592Z 
2023-09-22T09:00:25.849677703Z   Sessions [1]:
2023-09-22T09:00:25.849692999Z 		id: 114
2023-09-22T09:00:25.849708369Z 		name: ToClient-114
2023-09-22T09:00:25.849723665Z 		disconnected: false
2023-09-22T09:00:25.849739128Z 		isActive: true
2023-09-22T09:00:25.849754609Z 		isCloseFrame: true
2023-09-22T09:00:25.849770072Z 		isWritable: true
2023-09-22T09:00:25.849785312Z 		isReadOnly: false
2023-09-22T09:00:25.849800738Z 		isAllowChangeComments: true
2023-09-22T09:00:25.849816386Z 		isEditable: true
2023-09-22T09:00:25.849831775Z 		docURL: https%3A%2F%2Fmarvcloud.spdns.de%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F228_ocpw70htk035
2023-09-22T09:00:25.849847904Z 		jailedFilePath: 
2023-09-22T09:00:25.849863330Z 		docPwd: 
2023-09-22T09:00:25.849878848Z 		haveDocPwd: false
2023-09-22T09:00:25.849894255Z 		isDocPwdProtected: false
2023-09-22T09:00:25.849909662Z 		DocOptions: 
2023-09-22T09:00:25.849924958Z 		userId: Testuser
2023-09-22T09:00:25.849940402Z 		userName: Testuser
2023-09-22T09:00:25.849955847Z 		lang: en-US
2023-09-22T09:00:25.849971050Z 		timezone: Europe/Berlin
2023-09-22T09:00:25.849986476Z 		isLive: false
2023-09-22T09:00:25.850001975Z 		isViewLoaded: true
2023-09-22T09:00:25.850017364Z 		isDocumentOwner: false
2023-09-22T09:00:25.850055808Z 		state: SessionState::LIVE
2023-09-22T09:00:25.850072252Z 		keyEvents: 4
2023-09-22T09:00:25.850087733Z 		clientSelectedPart: 2
2023-09-22T09:00:25.850103196Z 		tile size Pixel: 256x256
2023-09-22T09:00:25.850118473Z 		tile size Twips: 1280x1280
2023-09-22T09:00:25.850133843Z 		kit ViewId: 0
2023-09-22T09:00:25.850149251Z 		our URL (un-trusted): https://marvcloud.spdns.de
2023-09-22T09:00:25.850164991Z 		isTextDocument: false
2023-09-22T09:00:25.850180417Z 		clipboardKeys[0]: 0051222695be9747
2023-09-22T09:00:25.850195916Z 		clipboardKeys[1]: f4f213eba91da0e9
2023-09-22T09:00:25.850211342Z 		clip sockets: 0
2023-09-22T09:00:25.850247008Z 		proxy access:: 
2023-09-22T09:00:25.850267452Z 		clientSelectedMode: 0
2023-09-22T09:00:25.850283119Z 		sent/keystroke: 0bytes
2023-09-22T09:00:25.850298804Z 
2023-09-22T09:00:25.850314007Z 		queue size 0
2023-09-22T09:00:25.850329322Z 
2023-09-22T09:00:25.850344358Z | wsd/DocumentBroker.cpp:563
2023-09-22T09:00:28.430460308Z sh: 1: /usr/bin/coolmount: Operation not permitted
2023-09-22T09:00:28.432713585Z sh: 1: /usr/bin/coolmount: Operation not permitted
2023-09-22T09:00:28.435317799Z sh: 1: /usr/bin/coolmount: Operation not permitted
2023-09-22T09:01:16.610513583Z wsd-00007-00029 2023-09-22 11:01:16.609935 +0200 [ websrv_poll ] ERR  unknown UI default's component UITheme| wsd/FileServerUtil.cpp:99
2023-09-22T09:01:16.849685257Z frk-00017-00017 2023-09-22 11:01:16.849295 +0200 [ forkit ] WRN  The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. Will have to copy sysTemplate to jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:520
2023-09-22T09:01:18.409827630Z kit-00152-00017 2023-09-22 11:01:18.409331 +0200 [ kit_spare_004 ] ERR  Failed to create random device [/dev/random] at [/opt/cool/child-roots/7-813f9be0/c9R81jNGzTiVV7De//tmp/dev/random]. Please either allow creating devices or enable bind-mounting. Some features, such us password-protection and document-signing, might not work| common/JailUtil.cpp:364
2023-09-22T09:01:18.893876993Z wsd-00007-00029 2023-09-22 11:01:18.890984 +0200 [ websrv_poll ] ERR  nextcloud/all-in-one#27: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1428
2023-09-22T09:01:18.893979065Z wsd-00007-00029 2023-09-22 11:01:18.893713 +0200 [ websrv_poll ] ERR  nextcloud/all-in-one#27: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1428
2023-09-22T09:01:31.447300350Z sh: 1: /usr/bin/coolmount: Operation not permitted
2023-09-22T09:01:31.449764993Z sh: 1: /usr/bin/coolmount: Operation not permitted
2023-09-22T09:01:31.452333561Z sh: 1: /usr/bin/coolmount: Operation not permitted
  1. Running Nextcloud via manual Docker image incl. separate Collabora container resulted in the same behavior with the known restriction of no printing (see: Do not fail if capabilities have not been fetched for the built-in server #1244).
  2. @tobiasKaminsky wasn't able to reproduce the error by using a Nextcloud 26 without Docker. Tested with iOS and Android.
  3. The error only occurs when using the Nextcloud app on iOS or Android. When I use the same device with a browser, I'm able to modify the file successfully as User2.
  4. If I use a public link to access a file in a browser the changes are also persistent.
  5. If the file is opened by User2 via browser and change the file via the Nextcloud app in the same time all changes are visible on both devices and get saved.

Conclusion: It seems that the rootless setup of AIO (esp. Collabora/Office) is not compatible with the Nextcloud app, if it comes to collaboration. On the other hand the rootless setup it is not explaining why the changes are successful by using a browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions