iOS photo upload locks/disables account

Nextcloud version (eg, 20.0.5): 24.0.4
iOS Nextcloud version: 4.4.3
iOS version: 15.6.1

The issue you are facing:

My account gets locked (disabled) every time I start my iOS app. I have the background photo upload enabled and can see in the server log that while I

Steps to replicate it:

Iโ€™m not sure, but maybe you can provoke this the following way:

  1. Enable background photo upload in the iOS App
  2. Turn network off on your iPhone and take some photos
  3. Manually disable your account
  4. Turn network back on
  5. Start the iOS app and try to login (which will fail because the account is locked)
  6. Terminate the iOS app
  7. Enable the account
  8. Start the iOS app and try to login
  9. In my case, before I was able to login, the iOS App tried to upload the new photos in the background and the account was locked again

It doesnโ€™t even help to turn off photo access for the iOS App.

I donโ€™t see a way to disable the background photo upload as I cannot login to access the settings.

The output of your Apache/nginx/system log in /var/log/____:

77.26.52.158 - foo [03/Sep/2022:04:40:29 +0000] "PUT /remote.php/dav/files/foo/iPhone%20upload/2022/08/22-08-31%2020-17-07%205035.jpg HTTP/1.1" 401 1170 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.4.3"

I have read that recently iOS-App was newly admitted to Appleappstore. Causing a new ID.

So it could happen that you need to re-connect your iOS-App to NC completely.