404 when uploading from iOS app

404 when uploading from iOS app via photo upload

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

NextCloud v18.0.6
Debian 9
NGiNX 1.10.3
php7.3-fpm

The issue you are facing:
When trying to upload via the photoUpload/autoupload I get a 404 error. The folder does exist.

Is this the first time you’ve seen this error? (Y/N):
Every since I switched from Android to iOS

Steps to replicate it:

  1. Take picture
  2. Taking a picture, then it doesn’t upload

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
  ),
  'datadirectory' => '',
  'dbtype' => 'mysql',
  'version' => '18.0.6.0',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => '',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'instanceid' => '',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpauth' => 1,
  'mail_from_address' => '',
  'mail_domain' => '',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtphost' => 'y',
  'mail_smtpport' => '587',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'mysql.utf8mb4' => true,
  'theme' => '',
  'loglevel' => 0,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'dbindex' => 0,
    'password' => 'secret',
    'timeout' => 1.5,
  ),
);

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

XX.XX.XX.XX - USER [14/Jul/2020:23:38:16 -0400] "PUT /remote.php/webdav/Pictures/InstantUpload/iPhone/2020/06/20-06-26%2008-08-01%200001.jpg HTTP/2.0" 404 425 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.1"