-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Can't open this document: "Can't open this document. This file isn't available offline" #11975
Comments
I can confirm the same issue. Device brand and model
Stock or custom OS?
Nextcloud android app version
Nextcloud server version
|
Also confirming the same issue. Device brand and model Stock or custom OS? Nextcloud android app version Nextcloud server version |
I was playing around and it appears to me that the issue is in the fact that config is not set properly. sudo -u www-data php -f /opt/nextcloud/occ config:app:set richdocuments mobile_editing --value="yes" Obviously change 'www-data' with your 'web' user and the path '/opt/nextcloud/occ' according to your setup. |
I'm not running the richdocuments app, I'm running a standalone CODE server. Not sure where to allow mobile editing? |
I run the Nextcloud Office app (with CODE on the same machine as Nextcloud) and adding that setting (it didn't exist before) didn't work for me. |
@mnheia thanks for this hind 👍 with the Nextcloud integration Collabora Server, i can now edit Office Documents. |
Can confirm setting the flag to yes works..odd how 3.25 didn't honor that setting, but 3.26 does. Thanks for posting the fix. |
Confirm with android 3.26 and NC Docker 27.1.1 |
If @w9hdg Are you still experiencing this either after applying that fix or upgrading the @cryologic Did this work previously but stop working for you after updating the Android client... or are you simply unable to open documents? @lckarssen Did this work previously but stop working for you after updating the Android client... or are you simply unable to open documents? |
@joshtrichards I just tested again (see also #12039 (comment)), with these versions:
Editing on mobile used to work, before I chimed in on this topic. However, as I don't use this feature often, I can't say for sure when it stopped working. After I found this issue I tried setting |
OK, I just tried to edit on another device, a Lenovo Tab P11 Gen2 I bought recently, and there the remote editing (by directly "clicking" on the file) works fine (my main device is a Samsung S22 phone) 😕. Both devices run version 3.26.0 of the Nextcloud app. As (just) noted/edited in #12039 (comment), using "Edit" in the ... menu for the file does open the (remote) editor.
I tested on two other devices, an older Samsung S2 tablet and an S20FE phone (different user account), and those worked fine too. All devices are connected to the same Nextcloud server. Back on my S22 I have now also tested opening/editing a file on a different Nextcloud server. That didn't work either. |
Yes, previous to Android client upgrade, it was working. |
Another data point: I just tested two other Nextcloud servers with my S22. Neither opened the remote editor when "clicking" on the test |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
The original report (I can't speak to the other commenters because they may or may not be the same situation) indicates three things:
Focusing on item one since that's the original reporter's matter (and items two and three shouldn't even be getting triggered if the goal is to use the server-side editor), here's how we can help debug this to find out if it's something that needs to be fixed in the client or on the server:
Look for a section in the XML entitled |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@pwyde - This report is specific to the below error message received in v3.26. Your situation sounds more like #11975 (comment)
@ralfi You might have two problems. Since you're using v3.27.0, you would encounter #12338. Except if your server is saying it doesn't offer the capability to open Office documents then you're not even getting far enough to trigger that bug. If there truly is no |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@joshtrichards Thank you, i wait until 3.27.1 is released and check it again. |
Hey @joshtrichards is this the same issue as I'm having in thr below screenshot ? Just wanted to confirm before I create another issue. I'm unable to open any documents via android client only I'm using collabora server just get the spininh circle |
Okay, solved with latest android app from today. Thanks a lot! |
This comment was marked as resolved.
This comment was marked as resolved.
Hi, i have the same behavior. After the current update to v3.28.0 the issue are gone. |
Update to 3.28 resolve for me too |
@AndyXheli Yours looks like #12338, but it's the same matter that has come up in this issue several times. That's fixed in, well, now the just released v3.28.0. |
Thank you very much 🙂 |
Hello, Device Stock or custom OS? Nextcloud android app version Nextcloud server version Using a reverse proxy? Other info Update: |
Update: The problem was an old installation of richdocuments (collabora), which upon uninstallation half a year ago, had some leftovers, that caused all these issues with editable documents. I just tried reinstalling richdocuments (with a self-hosted collabora) and ran into a plethora of problems upon installation, all due to left-over invalid values, most of them in the database. The problem (problematic leftovers) is already known on the github of nextcloud/richdocuments so I'm not gonna open another issue. FYI for anyone having similar problems even after 3.28.0: Clean your system of any richdocuments left-overs and/or cleanly reinstall it. |
Can you please provide a link to this, I am facing the same issue |
I am running into the same issue but only sometimes:
Does somebody face the same behaviour? |
Steps to reproduce
Ensure that your android phone is updated with both the current OS (Android 13 in my case) and current NextCloud app (3.26.0). Attempt to open any file with a .docx, .xlsx, etc. An error screen will pop up saying
"Can't open this document
This file isn't available offline. Make
file "Available offline" in the file's options menu."
My phone is on the same network as my NextCloud server and collabora works as expected in my browser on my computer and via firefox on my phone.
Expected behaviour
The app previously would load collabora and open the document
Actual behaviour
Receive an error message saying:
"Can't open this document
This file isn't available offline. Make
file "Available offline" in the file's options menu."
Android version
13
Device brand and model
Google Pixel 7
Stock or custom OS?
Stock
Nextcloud android app version
3.26.0
Nextcloud server version
27.1.0
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: