Android app won't upload files (permission error)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


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 version (eg, 12.0.2): 15.0.4
Operating system and version (eg, Ubuntu 17.04): docker - linuxserver/nextcloud:latest
Apache or nginx version (eg, Apache 2.4.25): nginx 1.16.1
PHP version (eg, 7.1): 7.3.11

The issue you are facing:
the android app is not uploading files (also tried to make a new folder) and gets permission errors. this happened for me and my wife (different types of phones)

Is this the first time you’ve seen this error? (Y/N): N . been happening for at least a week, probably more.

Steps to replicate it:

  1. open app

  2. go to uploads to see the failed uploads

  3. hit retry, and they fail, all the time

  4. go to files

  5. hit + and create a new folder… fails (permission error)

The output of your Nextcloud log in Admin > Logging:

seems like a lot of sensitve data in here, but when looking at the logging gui, i tried to upload on the phone, it failed. refreshed the logging page, and there were no new entries…

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

$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocrpi8ltyvlj',
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' =>
  array (...
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '...',
  'dbname' => 'nextcloud',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  '' => 'production',