-
-
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
3.30.6 - Missing permission "all files access" #14135
Comments
@alperozturk96 I think we need a patch for this bug asap. |
It's look like only the gplay release is affected. |
Google forced us to remove the permission and blocked all updates to the app store since July because of this. We can't bring it back for GPlay I am afraid... |
Oh, that's really sad. |
This is not a great solution, but FWIW as a workaround I was able to get around the issue of uploading a non image file by changing my pdf file extension to "png" and then back after uploading. |
@AndyScherzinger so what you are saying is that Google decided to impose restrictions on the kind of data we are able to synchronize without user permission? Consequently any document files can no longer be sent to the Nextcloud server when using an android device? This indeed is concerning. I would consider this issue to be of high priority. Is there any other workaround? |
The "workaraound" aka the real way Android wants it is like this
And yes, Google decided this, as F-Droid is remained untouched. A bit of lengthy background: |
how sad this is... Awww... and as this issue isn't really solvable... I think it can be marked closed. |
thanks for this insightful background information @tobiasKaminsky .
For 1. auto upload of other files For 2. auto upload of pictures and videos For 3. (re)moving files after auto upload |
And I would love to know, if the F-Droid version will always be working. (when switching from g-play to f-droid I realised, an export function for settings would be nice. had to configure all upload-folders again, which are many in my case) |
So Google declined Permission Declaration Form you submitted? Did they explain why? Doesn't Google Drive, One Drive, Box, Dropbox all have these permission? I assume that without this permission, Nextcloud can no longer delete ANY file on Android, including files it creates? If so, what is Goolgle's expected way of handling file sync? For reference, I also discussed this here: https://github.com/nextcloud/android/pull/14099#issuecomment-2552716882 |
As long as Android itself does not remove this permission at all, then Fdroid stays "safe", as Fdroid does not restrict this.
They said that our app can use other more privacy friendly options, like their new photo/video picker.
That is luckily not the case. Our app can delete all files that it created within its own data storage. |
You can also click "+" button and then choose "upload content from other apps" and use the Android's internal file picker. |
Just encountered this issue, switched from gplay to fdroid version as recommended here. Can't confirm switching to the fdroid version is a working solution. //EDIT: Note: was my error, see below my later post. it works, can confirm Is there any way this still can be archieved? I used to autoupload e.g. my entire Downloads folder (which I used to do e.g. on a G60 with Android 12) so I could download for example a PDF file on the phone (because I received it there via an App, got the link easy via a mobile first/only App etc.) and access the file almost instantly on a bigger screen device. Another usecase would be backing up WhatsApp to something that is not Google Drive. Both usecases seem now impossible. |
Can't confirm this. Android 15 on Pixel 8. Nextcloud app is able to upload anything and delete files. Working as expected. I'm using it a lot to auto-upload created PDF files. |
For me, it's working fine with the fdroid version. |
Thanks for the explicit instruction. Now I found and enabled the permission with the fdroid version and I can confirm, works for me too. Previously I had looked in the wrong place. I had found this comment in issue #2036 #2036 (comment) and hat misinterpreted the » Settings > Apps > "..." > Special access > All files access.« as »Settings -> Apps ->Nextcloud -> (Permissions ->) Special Access -> All files access« and because I didnt find any such option in the Setting -> App -> Nextcloud menu or the Permissions submenu, I concluded it was still not available while I just was looking in the wrong place. My Bad. |
Same issue on all of the phones here: Samsung A54, Android 14 |
I have noticed this issue because my photos auto uploaded were missing the GPS information. After switching to the F-Droid Version now the GPS information ist back in the auto uploaded photos. |
Exactly the same here. Running F-Droid version now and happy again. Hope it stays that way. |
Oh, yes, the GPS information missing, if you only grand the photo and video permission. The bug is also present in the 3.30.6 fdroid version and 3.29.3 gplay version too. But if the permission for all files are granted, then it's working fine. It's also mentioned in another issue: It's look like, the permission ACCESS_MEDIA_LOCATION is necessary to upload pictures with GPS info in connection with picture and video only permission. But I think we need to open another issue for this bug. |
cc @tobiasKaminsky @alperozturk96
That be appreciated and helps fixing the various aspects in an isolated piece by piece manor 👍 |
I had the same issue and fixed it by going to "accounts- |
Just because there is no technical way to solve this issue doesn't mean there's no way to make progress towards a solution. #13871 (comment) |
https://developer.android.com/training/data-storage/shared/media#media-location-permission We can add this. |
I assume that you understand that I cannot disclosure any conversation/mails with Google. But, no luck. |
Try harder, otherwise it breaks the neck of Nextcloud. It looks as if Google will now finally kick off Nextcloud as a competitor to their cloud business. |
If you have any idea, how, I am happy to hear. |
I don't think not being able to sync non-photos/videos from Android is a threat to Nextcloud 😉 |
It's a case for Schrems. |
It is. You cannot even share upload pdf, odt or similar files now. This is Google monopoly power which needs to be attacked now by Karlitschek and Schrems. |
You totally can share, at least with the f-droid version. I just tested it. |
Also with the play store version. You still can share files via the App. You still can use Auto Upload (Just turn it on again), at least Images and videos in my case. The files will retain on the android device rather being deleted automatically, if configured so in the past. That's not that cool, but can be cleaned manually from time to time |
But they also have to be manually downloaded or moved to be in the correct Nextcloud folder structure. |
Maybe conciser these steps to regain the "all files access" permission:
Until then maybe this overview of known issues helps: 1. Problem: Existing Auto uploads fail silently after app upgrade (photos, videos and other files)Currently the "photos and videos" permission is requested only after the user manually navigates to "Auto uploads" in settings. Without this backups fail silently until the user notices and fixes manually. Proposed solutionDisplay a push notification right after the app upgrade:
StatusSeveral user reports about Auto upload not working: 2. Problem: Location metadata of uploaded photos is removed silentlyProposed solution
Status
3. Problem: Moving and removing of files (photos, videos and other files) doesn't workProposed solution
Status
Informative
(also see the email I sent you yesterday with the same points) |
This wasn't true for me for whatever reason. I was unable to upload |
Same on my Pixel 6 Pro: No upload (file or from other app) / share / view / download of i.e. pdf. |
Thanks, that's interesting. I just uploaded a Did you upgrade from an older app version? And are you testing with the latest app version installed through Google Play? @Wikinaut @BrianJKoopman @n8falke |
I had an updated version. Browsing remote files and pressing on a pdf caused a download error. Pictures can still be viewed. Upload causes a copy error. Sharing: After choosing of target folder no upload and no error message. |
I tried this
|
I was on v3.30.6, and yes upgraded from an older version, I've had the app on my phone for years at this point. Some more details in #14135 (comment). My nextcloud server version is quite out of date at the moment, so maybe that contributed. Interesting to hear |
I deleted storage then uninstalled the GPlay version, then installed the F-Droid version. Lost all my locally synced files but working fine now. However, GPlay still insists on trying to update the app even though it wasn't installed from GPlay. How do I get it to stop trying to update it? I know I can tell it to stop automatically updating it, but it still tries every time I check for updates!! |
On Android 14 and above, there is the concept of "update ownership". A recent F-Droid client should request this, afaik. On older Android versions, you'll have to deal with this trying-to-update behaviour 🤷 |
Thanks. Stuck on Android 12 until someone releases a phone I actually want so sucks for me! |
I got automatic photo uploading working again by doing the following steps:
Afterwards the automatic upload worked again. Additionally I deactivated "automatically remove permissions for unused apps" for the Nextcloud App in the app settings. However I'm still using Android 11, so this might not work for later versions. |
thanks @gpayer Could you please check if any photos that have been taken before (without the media permission) are automatically uploaded after you granted the permission? |
In my case it didn't, it did start uploading again but not the missing/old one taking between mid december and the permission fix |
@Whisprin unfortunately that can't be tested anymore, I already uploaded all missing photos. |
I have noticed that multiple issues have been created regarding the same discussion. To ensure we address everything efficiently and maintain clarity, I kindly request that we consolidate all discussions under the main issue. May I also kindly ask for your assistance in closing this one? |
Can say no solution I've tried works. |
The android app Megasync works by letting you point to a directory that it should sync and this works with all file types. Can you consider changing the strategy for Android to how Megasync does it? |
Steps to reproduce
Expected behaviour
It should be possible to upload files other than pictures and videos.
Actual behaviour
The error is caused by the missing permission "all files access".
It was possible in previous versions.
Android version
15
Device brand and model
Google Pixel 8
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.30.6
Nextcloud server version
30.0.2
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
Additional information
My phone is running GrapheneOS.
The text was updated successfully, but these errors were encountered: