Nextcloud mobile: markdown md or text txt files cannot be edited in mobile apps on android or iOS due to text app showing as not available #162

Closed
opened 2021-11-03 11:34:13 +01:00 by steve · 15 comments

Despite having installed the Text app the endpoint:

ocs/v2.php/apps/files/api/v1/directEditing?format=json

return:

▿ 1 element
▿ 0 : 2 elements

  • key : ocs
    ▿ value : 2 elements
    ▿ 0 : 2 elements
  • key : meta
    ▿ value : 3 elements
    ▿ 0 : 2 elements
  • key : status
  • value : ok
    ▿ 1 : 2 elements
  • key : statuscode
  • value : 200
    ▿ 2 : 2 elements
  • key : message
  • value : OK
    ▿ 1 : 2 elements
  • key : data
    ▿ value : 2 elements
    ▿ 0 : 2 elements
  • key : editors
  • value : 0 elements
    ▿ 1 : 2 elements
  • key : creators
  • value : 0 elements { ... }

https://github.com/nextcloud/text/issues/1662

Despite the issue on GitHub being about iOS, this problem is not limited to iOS and also exists on Android NextCloud client.

Reproduced on Lineage 17.1, Nextcloud 3.17.1.

Despite having installed the Text app the endpoint: ocs/v2.php/apps/files/api/v1/directEditing?format=json return: ▿ 1 element ▿ 0 : 2 elements - key : ocs ▿ value : 2 elements ▿ 0 : 2 elements - key : meta ▿ value : 3 elements ▿ 0 : 2 elements - key : status - value : ok ▿ 1 : 2 elements - key : statuscode - value : 200 ▿ 2 : 2 elements - key : message - value : OK ▿ 1 : 2 elements - key : data ▿ value : 2 elements ▿ 0 : 2 elements - key : editors - value : 0 elements ▿ 1 : 2 elements - key : creators - value : 0 elements { ... } https://github.com/nextcloud/text/issues/1662 Despite the issue on GitHub being about iOS, this problem is not limited to iOS and also exists on Android NextCloud client. Reproduced on Lineage 17.1, Nextcloud 3.17.1.
steve changed title from markdown md or text txt files cannot be edited in mobile apps on android or iOS due to text app showing as not available to NextCloud mobile: markdown md or text txt files cannot be edited in mobile apps on android or iOS due to text app showing as not available 2021-11-03 11:37:03 +01:00
steve changed title from NextCloud mobile: markdown md or text txt files cannot be edited in mobile apps on android or iOS due to text app showing as not available to Nextcloud mobile: markdown md or text txt files cannot be edited in mobile apps on android or iOS due to text app showing as not available 2021-11-03 11:37:11 +01:00
muppeth added the
bug
Nextcloud
Urgent!
labels 2021-11-03 11:39:14 +01:00
muppeth self-assigned this 2021-11-03 11:39:19 +01:00
muppeth added this to the (deleted) project 2021-11-03 11:39:22 +01:00
Owner

Thanks a lot for the report. Looks like much bigger issue then initially thought.

Thanks a lot for the report. Looks like much bigger issue then initially thought.
Author

Thanks for the 21.0.5 NC update in Disroot/CHANGELOG#91

However text situation remains unchanged.

Thanks for the 21.0.5 NC update in https://git.disroot.org/Disroot/CHANGELOG/issues/91 However text situation remains unchanged.
Owner

Tried to find something tonight but without luck :(
I will check on test instance to see if the issue remains.

Tried to find something tonight but without luck :( I will check on test instance to see if the issue remains.
Author

Sadly persisting after NC 22.2.6 update 🤕

Sadly persisting after NC 22.2.6 update 🤕
Owner

Yes, but now that we are up to date more then we were before, time to look into it again.

5 months seems like good resting time to get it solved :P

Yes, but now that we are up to date more then we were before, time to look into it again. 5 months seems like good resting time to get it solved :P
muppeth added this to the 07.22 - July-August milestone 2022-06-28 22:26:30 +02:00
Owner

I'm sorry, I'm not too sure how to reproduce this.
I open NC client on Android, then I click on a md file. I can read it. I can choose "open with" and edit with another app, and save it.

I'm sorry, I'm not too sure how to reproduce this. I open NC client on Android, then I click on a md file. I can read it. I can choose "open with" and edit with another app, and save it.
Author

Retested:

iOS 15.5, nextcloud 4.4.0.18
open Settings > Advanced > Capabilities and see Text showing as Not available.
Editing txt or md files is still not possible.

LineageOS 19.1, nextcloud 3.20.3
Opening md or txt also does not allow editing them in nextcloud

Editing files in third party apps certainly works but that is not what this bug here is about.

Since there is no view for capabilities on Android I am not sure about the state of Text component, but being unable to edit in app seems to be the same problem as on iOS.

Retested: iOS 15.5, nextcloud 4.4.0.18 open `Settings > Advanced > Capabilities` and see `Text` showing as `Not available`. Editing txt or md files is still not possible. LineageOS 19.1, nextcloud 3.20.3 Opening md or txt also does not allow editing them in nextcloud Editing files in third party apps certainly works but that is not what this bug here is about. Since there is no view for capabilities on Android I am not sure about the state of `Text` component, but being unable to edit in app seems to be the same problem as on iOS.
Owner

indeed I've just tested with another cloud provider, I can edit the md file directly into NC client on Android.

indeed I've just tested with another cloud provider, I can edit the md file directly into NC client on Android.
muppeth added this to the (deleted) project 2022-07-15 02:02:11 +02:00
muppeth removed this from the 07.22 - July-August milestone 2022-09-19 22:08:37 +02:00
muppeth removed this from the (deleted) project 2022-09-19 22:08:41 +02:00
Author

Quick update - issue is persisting on Disroot

Nextcloud Server: 23.0.6
Nextcloud iOS: 4.5.5.2

Another Nextcloud instance running 24.0.5 shows Text as available. So it is either fixed in newer versions or a configuration problem in Disroot.

Quick update - issue is persisting on Disroot Nextcloud Server: 23.0.6 Nextcloud iOS: 4.5.5.2 Another Nextcloud instance running 24.0.5 shows Text as available. So it is either fixed in newer versions or a configuration problem in Disroot.
meaz added this to the 23.01 - January milestone 2022-12-24 15:16:17 +01:00
muppeth added this to the 23.01 - January project 2023-01-10 22:10:29 +01:00
muppeth removed this from the 23.01 - January project 2023-01-19 10:44:01 +01:00
muppeth modified the milestone from 23.01 - January to 23.02 - February 2023-01-19 10:44:08 +01:00
muppeth added this to the 23.02 - February project 2023-02-15 22:50:43 +01:00
muppeth modified the milestone from 23.02 - February to 23.03 - March 2023-03-01 21:03:48 +01:00
muppeth removed this from the 23.02 - February project 2023-03-01 21:03:50 +01:00
Owner

I found a similar issue here https://github.com/nextcloud/text/issues/3762

I found a similar issue here https://github.com/nextcloud/text/issues/3762
Owner

I spent some time on this. For example, I tried tiny changes on nginx to match official config here https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html but it didn't change anything.

I really don't understand what is going on...

I spent some time on this. For example, I tried tiny changes on nginx to match official config here https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html but it didn't change anything. I really don't understand what is going on...
Owner

I finally decided to open an issue also, as the already open ones are for iOS only: https://github.com/nextcloud/text/issues/3892

I finally decided to open an issue also, as the already open ones are for iOS only: https://github.com/nextcloud/text/issues/3892
muppeth added this to the 23.03 - March project 2023-03-08 12:13:11 +01:00
muppeth modified the milestone from 23.03 - March to 23.04 - April 2023-04-08 01:39:18 +02:00
muppeth removed this from the 23.03 - March project 2023-04-08 01:39:23 +02:00
muppeth added this to the 23.04 - April project 2023-04-10 12:25:45 +02:00
Owner

I've just noticed that you can not create a new text file directly from Android app (clicking on the + sign), like you can from web client.

I've tested with another NC account I have, and that should be possible. I don't know if that is related to this current issue...

I've just noticed that you can not create a new text file directly from Android app (clicking on the + sign), like you can from web client. I've tested with another NC account I have, and that should be possible. I don't know if that is related to this current issue...
Owner

Yes this is the same issue. basically Text app is not recognized as installed on the server.

Yes this is the same issue. basically Text app is not recognized as installed on the server.
muppeth removed this from the 23.04 - April milestone 2023-05-03 21:33:54 +02:00
muppeth removed this from the 23.04 - April project 2023-05-03 21:33:58 +02:00
Owner

We finally have the reason why it doesn't work: encryption is enabled with per-user keys on disroot, as you can read here https://github.com/nextcloud/server/pull/22423

We finally have the reason why it doesn't work: encryption is enabled with per-user keys on disroot, as you can read here https://github.com/nextcloud/server/pull/22423
meaz closed this issue 2023-07-26 10:38:49 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/Disroot-Project#162
No description provided.