Hi all,
I have downloaded the Nextcloud client on my linux desktop and the Nextcloud app on my android phone
I successfully logged into my online cloud, it successfully syncs files and folders, and I can see the files and folders.
However when I try to open a file from my synced folder on my desktop in thunar with LibreOffice, I get the error:
“Access to /home/user/Nextcloud/test.xlsx was denied.”
Edit: This was caused by firejail, I fixed this issue. Had nothing to do with Nextcloud.
Something similar happens on my Android phone when I try to open the file in the Nextcloud app with “OpenDocument reader”, I see this error:
“Couldn’t find file. Maybe it doesn’t exist any longer?”
On my desktop, I can however copy the file from the Nextcloud folder to my home folder, and then edit it, and then copy the new file back to my nextcloud folder.
How can I fix this?
hey @Hazy8492 and welcome to the communityforum of NC
sadly enough you didn’t provide any informations about your server, your server environment and all of the problematic systems.
So we don’t know how you setup your instance etc.
there was a template underlying here asking you for some informations… you have deleted it. Such a pity.
It would be nice if you could transmit more infos to enable ppl on the forum to really help you rather than asking their chrystal balls
1 Like
The errors are caused by sandboxing on my desktop and android device I believe. Is this a common issue and is there maybe a work around for this bug?
thanks for updating your issue.
Regarding your Androidprpoblem… if you’d tell me which app-version you’re running I could tell you if my suspicion is correct or not
Nextcloud 3.28.2
I also flashed an ungoogled Android rom on my phone: /e/OS v1.21
Hazy8492:
Nextcloud 3.28.2
ok… my suspicion was wrong. There was an error with 3.28.1 which could have been connected. but well… it apparently isn’t.
as much as I admire your bravery (and as much as I would like to do the same with my mobile) as much I’m afraid that this OS is completely unsupported (from nextcloud’s side)
1 Like
I found a work around to set up cloud with Nextcloud on my desktop and my phone:
https://doc.e.foundation/support-topics/link-ecloud-with-windows
I found another workaround:
The files from Nextcloud are on my phone stored in:
phone/Android/media/com.nextcloud.client/nextcloud/
You can open the files directly from there with a 3rd party editing app like office.
My issue is similar to this problem:
opened 07:19PM - 08 Aug 17 UTC
closed 01:55PM - 20 Dec 17 UTC
bug
pr exists
### Actual behaviour
I'm not sure if this is related to issue #751. I'm unable … to open files at all, not just read-only, so I think this is a different issue. I've tried PDFs (I have Google Drive pdf viewer app), jpg files, and my KeePass database. jpg files work, but appear to be using a jpg viewer built into Nextcloud app. PDFs and my KeePass database don't open, with different errors. I don't have any problems opening these file types from the Dropbox app, but I'd like to get away from using that service.
### Expected behaviour
-I expect Nextcloud app should launch the appropriate 3rd party app to view/edit the file (and then if there's changes to the file, synchronize those, but I'd be happy if they just open).
### Steps to reproduce
1. Find a PDF file. Click on it.
2. Wait for it to download.
3. "Can't open file" is displayed. Click close.
4. Check the box "Set as available offline. A sprite shows "File contents already synchronized"
5. Press back. Notice the file has a green checkmark.
6. Click the file again.
7. "Can't open file." is displayed.
I can use a 3rd party file manager and browse to /storage/SD-CARD-NAME/Android/data/com.nextcloud.client/files/...../FILENAME.pdf and it opens just fine.
1. Find a *.kdb file (keepass 1.x database)
2. Click on it.
3. After it downloads a sprite displays "KeePassDroid cannot handle this uri".
3. Check the box "Set as available offline". A sprite shows "File contents already synchronized".
4. Press back. Notice the file has a green checkmark.
5. Click the file again.
6. A sprite displays "KeePassDroid cannot handle this uri".
I can manually open KeePassDroid and then browse to /storage/SD-CARD-NAME/Android/data/com.nextcloud.client/files/...../FILENAME.kdb and it opens read-only.
### Environment data
Android version: AICP 12.1 (Android 7.1.2)
Device model: Moto X Pure Edition (XT1575)
Stock or customized system: Customized
Nextcloud app version: 1.4.3
Nextcloud server version: 12.0.0.1
### Logs
#### Web server error log
Will find and post if you think it's relevant.
#### Nextcloud log (data/nextcloud.log)
This file doesn't exist on my device.
I would still like a fix where I can open Nextcloud and edit and save my files directly from there.
I think the issue is in Android 13 that uses sandboxes for security reasons.
Update:
I found that Nextcloud works fine with onlyoffice on my phone and I can edit and save files perfectly now, but I would prefer Collabora as an editor.
Is there a way to do this? I can’t seem to install collabora on my nextcloud server as it’s not self-hosted but maybe I’m missing something.