Nextcloud version: 13.0.4
Operating system and version: Linux x86_64 - Shared hosting - I believe CloudLinux (3.10.0-714.10.2.lve1.5.15.el7.x86_64)
Apache or nginx version: 2.4.33
PHP version: 7.1.17
MySQL Version: 5.6.39
The issue you are facing:
Recently installed NextCloud on shared host, install went without issue however Android devices do not upload automatically or manually. I’ve tried two devices on 4G and WiFi, restarted devices etc. to no avail.
I am able to upload files via browser and Mac app without issue.
Setup on the devices works fine and I can view files but cannot upload anything.
Note: Autoupload created directory structure when I took a new photo on the device but the image failed to upload.
The error on both devices is: You are not permitted to upload to this folder
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- Install Android NextCloud app
- Try to manual or auto upload
- Error occurs
The output of your Nextcloud log in Admin > Logging:
EMPTY!
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc06avspiavd',
'passwordsalt' => 'SALT',
'secret' => 'SECRET',
'trusted_domains' =>
array (
0 => 'DOMAIN',
),
'datadirectory' => '/path/to/nextclouddata',
'overwrite.cli.url' => 'https://DOMAIN.com/nextcloud',
'dbtype' => 'mysql',
'version' => '13.0.4.0',
'dbname' => 'foundint_nextc88',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'USERNAME',
'dbpassword' => 'PASSWORD',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
Here is an example of logs from a small .pdf I tried to upload:
[15/Jun/2018:20:44:16 +0100] "HEAD /nextcloud/remote.php/webdav/Documents/813_431_RedeMedica_Santander_Safe_Care-2014-08-07.pdf HTTP/1.1" 404 - "-" "Mozilla/5.0 (Android) ownCloud-android/3.2.0"
[15/Jun/2018:20:44:19 +0100] "PROPFIND /nextcloud/remote.php/webdav/Documents/ HTTP/1.1" 207 2284 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.2.0"
[15/Jun/2018:20:44:20 +0100] "PUT /nextcloud/remote.php/webdav/Documents/813_431_RedeMedica_Santander_Safe_Care-2014-08-07.pdf HTTP/1.1" 302 - "-" "Mozilla/5.0 (Android) ownCloud-android/3.2.0"
[15/Jun/2018:20:44:22 +0100] "GET /nextcloud/ocs/v2.php/apps/files_sharing/api/v1/shares?path=%2FDocuments%2F&reshares=true&subfiles=true HTTP/1.1" 200 138 "-" "Mozilla/5.0 (Android) ownCloud-android/3.2.0"
[15/Jun/2018:20:44:23 +0100] "PUT /nextcloud/index.php/apps/files/ HTTP/1.1" 403 32063 "-" "Mozilla/5.0 (Android) ownCloud-android/3.2.0"