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 25.0.9 with Nextcloud Office 7.1.6 does not work on Android (download instead of opening documents) #3182

Closed
Mornsgrans opened this issue Sep 16, 2023 · 4 comments

Comments

@Mornsgrans
Copy link

Mornsgrans commented Sep 16, 2023

Describe the bug
After installation of Nextcloud Office 7.1.6 and Collabora Online Builtin CODE Server 23.5.301 apps an office document .doc becomes downloaded and a dialog to select an app to open the file appears.
(In Firefox on laptop it works as expected)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Nextcloud-app on Android device, select a folder containing office documents
  2. Tap on an office document file, which is not synchronized
  3. The file becomes synchronized (green circle with white hook appeas) and the dialog to select an app to open with (see screenshot below).

Expected behavior
Expected, that the document becomes opened as in the Nextcloud Office 7.1.4
Collabora CODE 23.05.1.3-ucs1 and 23.05.2.2 Instances both work with Nextcloud Office 7.1.4 and Collabora Online Builtin CODE Server 23.5.104 apps

Screenshots
grafik

Client details:

  • OS: Android 9
  • Nextcloud App
  • Version 3.26.0
  • Device: Huawei P10 Plus

Server details

Operating system: Univention Corporate Server 5.0.4 and 5.0.5 (Debian GNU/Linux 10 (buster))

Web server: Apache 2.4.38-3+deb10u10A~5.0.3.202304251027

Database: PostgreSQL 9.6.24-0+deb9u3

PHP version: 7.3+69

Nextcloud version: 25.0.9

Version of the richdocuments app 7.1.6 and Collabora Online Builtin CODE Server 23.5.301

Version of Collabora Online Tested with Collabora CODE 23.05.1.3-ucs1 and 23.05.2.2 docker instances

xx.xx.xx.xx - - [16/Sep/2023:18:39:37 +0200] "PROPFIND /nextcloud/remote.php/dav/files/user/Des%20Admins%20Gebote.doc HTTP/1.1" 207 2240 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.26.0"

Nextcloud log (data/nextcloud.log)

no coresponding log entry generated (last entry was 5 days ago)

Browser log

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

No log in Android-App "Nextcloud" available
@Mornsgrans Mornsgrans changed the title Nextcloud 25.0.9 with Nextcloud Office 7.1.6 does not work on Android (download instead of opening) Nextcloud 25.0.9 with Nextcloud Office 7.1.6 does not work on Android (download instead of opening documents) Sep 16, 2023
@RuHitt
Copy link

RuHitt commented Sep 17, 2023

Hey, I noticed that too after the last app update.
This is the relevant change that leads to the problem: #3154
I was able to solve it by manually changing the php line back.

Maybe someone with background knowledge can explain this and/or start a new backport.
I don't know where the "mobile_editing" config variable has to be entered.

Best regards

@juliusknorr
Copy link
Member

Thanks for reporting, just pushed a fix for this in #3184

@Mornsgrans
Copy link
Author

Mornsgrans commented Sep 18, 2023

I tried setting the "mobile_setting" config in my confuguration using the occ-command as mentioned in #3184 and it made the bahavior worse.

Independent of the value "yes" or "no" even in the Firefox browser always my local Libreoffice will be executed after click on the office document instead of opening in Nextcloud office. Opening documents in Nextcloud office on PC in the browser only works, if the entry "richdocuments mobile_editing" does not exist.

@Mornsgrans
Copy link
Author

Mornsgrans commented Oct 13, 2023

The issue still persists, now with
Collabora Online - Built-in CODE Server 23.5.402
and
Nextcloud Office 7.1.6
There still the document becomes downloaded and I am asked to select an Android app to open it.
In my Browser under Windows it works.


Edit:
With Collabore Online - Built-in CODE Server 23.5.503
and
Nextcloud Office 7.1.8
it works now. - Thank you.

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