Nextcloud Office doesn't load in iOS app but loads in browser

I have an issue where I can load documents and edit them just fine in the browser on my laptop and mobile devices. However, if I use the iOS app, it opens the file to a blank screen, says i have joined the document and then “Connecting” just stays at 0%.

Is there a known issue with the Nextcloud Office not working on the official iOS app?
All other features in the app seem to be working just fine.

I have it using the Collabora Online - Built-in CODE Server.

Any help is appreciated,

Thanks!

1 Like

Same here.
I just installed NextCloud Hub 10 (31.0.6) to self hosting.
Desktop browser loads documents for editing with CollaboraARM64.
Phone iOS 18.1.1 with Nextcloud Hydrogen for iOS 6.6.4.5 loads document for editing but only see a white page with a blue pen circle icon at the bottom right.

Bump. Same issue. Happens with docx files, but not xlsx files.

In the admin logs, I’m seeing a
ServerException Server error, app richdocuments, and a “GuzzleHttp” error with message Server Error: POST… resulted in a ‘502 Bad Gateway’ response.

On the iOS app, I’m seeing “Failed to establish socket connection.” See attached.

Exactly the same problem here.

I am facing the same issue… Any idea ?

I have a fresh AIO install, setup yesterday. I am experiencing the same / similar, hopefully we can debug this together and find the common problem.

For me ODS (spreadsheet) loads correctly and works fine, but docs (docx, odt) just show blank.

Tailing the logs from the collabora docker container, I see two errors, but I see the same errors on spreadsheets, which work, so I suspect its unrelated:

frk-07024-08101 2025-07-04 10:19:08.599652 +0000 [ subforkit_002 ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/passwd] is out-of-date. Will have to clone dynamic elements of systemplate to the jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:586
wsd-00007-08498 2025-07-04 10:19:08.887547 +0000 [ docbroker_014 ] ERR Failed to parse viewsetting json with error[JSON Exception], for session[0de]| wsd/DocumentBroker.cpp:1667

WRT @midnight-taco showing the failed to establish a socket error, I believe that is after the phone has gone to sleep and is related to reverse proxy settings, atleast in my case it does not happen during load so I believe this issue is unrelated.

@the_dude_abides can you confirm if you are using AIO, and if it only affects documents not spreadsheets the same as me?

@kinhswch I do not see any security warnings, so again not sure that is related you might have some other configuration issues yourside…

After following all the troubleshooting tips here I’m pretty much convinced that this is a bug specifically in the iOS app. I updated to V7.0.0 released in the past few days and see the same behavior. If you long hold on the file you can actually see it load in the preview popover. I enabled verbose logging in the app and I can’t see any errors being thrown. I’m just suprised this has not been raised by someone else as an issue ticket, so perhaps there is something specific about our setup that messes with the app display - possibly the viewsettings json I highlighted in the logs in the previous post.

A temporary workaround I have just tested, although not ideal it will work if anyone finds this thread and is in a pinch:

  1. Download Collabora Office app
  2. Select the … next to the file in next cloud
  3. Click Share, select Collabora app
  4. View / edit in Collabora
  5. When the file is saved in Collabora, fully exit out of the file, go into nextcloud app and pull down to refresh, and it will sync the changes back to the server.

I raised an issue ticket: https://github.com/nextcloud/ios/issues/3573

I have also just verified that using the nextcloud android app it works as expected, so its definitely something specific to the iOS app.

Same issue

Same here:

  • file (.docx) can be viewed and edited in browser on IOS but not using the NC APP
  • other document types seem to work with no issues in NC APP
  • file (.docx) can be edited using NC APP on Android

Looks like a Nextcloud APP issue that is only manifest on IOS to me

I solved the issue by putting AIO behind a reverse proxy and having my own Collabora server. With the latest Collabora Code, I still had the problem. Using 24.04.12.1.1 of Collabora Code, I do not have the problem any more.