Open wzykubek opened 5 years ago
I have the same issue
I get the same issue on a Oneplus 3T running Android 9
Same issue with samsung s9 +
Same issue on my Xiaomi Mi A1 on Android Version 9
Edit: to provide a bit more details, my existing auto-upload folder (camera) still works fine. When I tried adding a new folder to auto-upload it fails as OP described.
My device is affected too (Xiaomi Mi 9 SE and Android 10/Q)
Same issue Xiaomi redmi 5
same. Battery optimization warning. not syncing Device : Galaxy Fold
Same issue with S10, everything up to date. Battery optimization is off for app.
Same issue on my HUAWEI P9+
Same problem. Wants me to exclude nextcloud from battery optimization to auto upload. There is no way to do that on Android 5.0.1
Same issue on HUAWEI P20, Android 9, EMUI 9.1.0 (latest) Android Nexcloud 3.9.2
have you looked here? https://dontkillmyapp.com/
Same issue with Samsung Galaxy S10+ Android 10 Nextcloud Android app 3.9.2
Every time I try to set-up sync for a folder I see "Battery Optimization" window with "Close" and "Disable" buttons. I tried pushing each, nothing changes, sync does not work.
No AutoUpload with
Same issue here. Mi A1 android 9 everything up to date. Auto sync does not start. Battery optimisation is off for the app.
Same here, battery optimization disabled:
Huawei P20 Pro Nextcloud Dev Version 20200125 EMUI 9.0.0 Android 9
Same issue.
Xioami Mi A1 - Android 9
Nextcloud Client Android - 3.10.1
Nextcloud Server - 17.0.2
Then of 2 days searching the way to have a funtionallity AutoUpload, I finded one way.
First, test configure a folder like camara. Then you take a picture. If it create a folder new and upload the image, you app is ok. The app only will upload the new files. You will have upload manually the old files.
If step 1 dont working. Download the last app Nextcloud Dev. https://f-droid.org/en/packages/com.nextcloud.android.beta/ Install the app and test again de step 1.
Please tell me if this steps works for you.
tried the dev app last week. same issue.
Ok, figured out that autoupload is working for me when i turn "disable power save check". Worked in both version F-droid and playstore.
Thanks for replying, @exili0n -> closing
AutoUpload doesn't work for me
No matter how long I way autoupload never upload new pictures. In parallel Dropbox works fine. Uploading the same files manually work.
Edit: It seems to work with the "Dev" version.
I also have the same issue on these devices:
Yes ! I confirm, the dev version work : https://f-droid.org/en/packages/com.nextcloud.android.beta/ :smiley:
On my Mi8 I have the same issue. No actions on phone or in the system can't fix it. I am very disappointed, that such a critical issue is still presented. Seems I need to search for more stable solutions.
Thanks for replying, @exili0n -> closing
@tobiasKaminsky Please, reopen this issue, the problem is still presented.
Same here on a S20 Fe Android 12 OneUI 4.1
Same issue, on a Samsung Galaxy S9
Same problem for Samsung Galaxy s9 Application version : 3.20.3
Same problem for Samsung Galaxy S9+ Application version: 3.20.3, fresh install. This bug is not resolved. Please re-open.
Same problem for Samsung Galaxy S9 Application version: 3.21.1. This bug is not resolved.
Same problem on Redmi 5 Plus, MIUI 11.0.2, Android 8.1.0. Tried to give every found permission, tried to install dev versions. First time when I enable autosync, the app asks for additional permission to work at background. After that, the same error about battery optimization is displayed but no permission dialogue after it. Autosync does not work.
But on another phone, Poco M4, which runs Android 11, the same message about battery optimization is also displayed each time. But autosync is working fine. So, I suppose these are two different bugs.
PS. On Redmi 5, something happened after tens of minutes, and autosync became alive. Probably it is working, but is just SLOW given many files to sync.
Same problen Samsung Galaxy A21s, Android 12
Excluded app fro battery opt, excluded from RAM opt. No syncing.
App version 3.21.2
Removed and reinstalled the App, still won't auto-upload.
Just decided to try NextCloud this week. First test on a iPhone, no problem at all.
But with two differents Androids i've got this error.
In a Samsung A50 stock rom, Android 11, One UI 31, i've got that error with Play or F-Droid version and does not upload anything!
In an old LeEco Le2 with custom rom LineageOS Android 10, i've got the error, but the upload starts anyway, even found new folders (Skype) and asked if wanted to upload the pictures.
It been 3 years since this issue was reported... does anyone from Nexcloud see this??
EDIT: Xiaomi Redmi Note 11, Stock rom, Android 11, gave the error, took me to Battery Optimization, exclude Next app from list, working ok.
Samsung Galaxy S21 Ultra - same issue. Unable to auto-sync as it keeps asking me to disable battery optimization for this app, even though it already is.
This is a huge feature of nextcloud, yet 3 years in and there has been no comment on having this looked at? Has anyone found a workaround? I am sure most of us are willing to provide help to get this fixed.
Same problem here. It worked for a moment, then I stopped it and changed the folder location to a better one on the NAS, now it wont sync anything. No matter what setting I check/uncheck and no matter what destination folder I set. Samsung Galaxy Note 9.
soooo. It randomly works now. shrug
same issue with xiaomi mi8 app_version: 3.24.2 server_version: 26.0.1_1.6.27 (run in TrueNAS )
Same issue with the S21+. Can't auto upload, I get the battery optimization message.
Samsung Galaxy S23 Ultra here (Android 13)
Auto-upload works but can't change any settings. If I try I'll get a warning about battery optimisation and it won't change any settings. I can't change battery optimisation since this OneUI version has no such menu.
Nextcloud already has unrestricted access to my battery in app settings, it should not give this error, making the custom upload literally unusable.
Having the same issue on Galaxy Z Fold 4, Android 13, same symptoms as in the comment above.
Same problem on my Samsung Galaxy A54. How come this hasn't been solved in 4 years?
Same problem on Samsung Galaxy S21 FE
Same problem here. It worked for a moment, then I stopped it and changed the folder location to a better one on the NAS, now it wont sync anything. No matter what setting I check/uncheck and no matter what destination folder I set. Samsung Galaxy Note 9.
I commented in a decent timeframe but its been working just fine for a long time now. It still warns me about the battery settings even though I have that warning turned off and have the battery settings correct, but things do upload and go where they say theyre going to go. Its been nice actually just mindlessly backing up all my photos. Very happy with it.
I think it just had to take a day or two and re-run some background tasks and sync up its settings again. I did turn off sync, deleted all the files/folders on the server, setup a new folder and then pointed all the auto-upload settings at the new folder. Set those settings and walked away from it. 2 days later its uploaded everything and is now auto uploading pictures as I take them (at night when the phone is plugged in and charging is when I have it set to sync)
Both mine and my wife's phone have the same issue. Battery optimization turned off but still warns me....but sync remains off/turns off and resets the configuration. Even if I manually set where to store the uploads, it resets to default.
Really amazing that this is still open 4 years on and still an issue. I appreciate all that next loud does....but honestly this should be a top priority, especially for the mobile apps. I am more than happy to help with trial an error to help work on a fix for this, so long as it doesn't take another 4 years!!
I had the same issue but i found the solution (Samsung S10e) !
First go into Apps --> Nextcloud --> deactivate "Remove permission if app is unused"
Then in the same manner: Apps --> Nextcloud --> Battery --> set to "Unrestricted"
I hope this helps! :)
Same problem on my Samsung s22 Ultra, Battery is set to Unrestricted and remove permissions if app is unused is disabled.
I was able to work around this on certain folders. I followed all of the above for my S22 Ultra on Android 13, One UI 5.1 against a fresh NextCloud plugin installed via TrueNAS on my local network.
Then, I navigated to the Auto-upload settings and enabled folders. However, when prompted by the modal dialog to disable battery optimizations, rather than pressing close
or disable
, I would press outside of the modal. This seems to enable auto upload. However, I still have not had any success with my Camera folder which has 6.4k photos. Trying to upload it manually results in an app crash after some time. Trying to configure it for auto upload might cause the auto upload to stop working. edit: I was able to upload these problem folders overnight. They'll still crash the app if I try to manually upload the whole folder, but auto upload works. I also had a lot of conflicts, for no clear reason. When I dismissed the notifications for conflicts, auto upload seemed to stop.
In the event that auto upload stopped running, I could go to app's settings page > storage > and then cleared the cache. Subsequently restarting the app seemed to kick off the auto upload again.
Tried this again on my Samsung S22 ultra and Samsung S20 5G and this issue is still present, I removed the app, deleted cache and data, made sure that it is set to unrestricted on the power and still the same issue. I noticed that when I set to upload only on unmetered network even though i unchecked it later it was still waiting for it.
Same issue here on S22 Ultra. For whatever reason it started syncing after I brought up the App settings via Settings -> Apps -> Nextcloud and not via Long-Tap -> App-Info. Didn't even change anything in permissions or battery settings. Just opened the App Settings and immediately started syncing.
Actual behaviour
Expected behaviour
Environment data
Android version: Android 9 Device model: Xiaomi Mi A2 Lite Stock or customized system: Lineage OS 16 Nextcloud app version: 3.9.0 & dev 20191102 Nextcloud server version: 16.0.3
Logs
Web server error log
Nextcloud log (data/nextcloud.log)