Nextcloud version :
$ sudo -u www-data ./occ status
- installed: true
- version: 16.0.1.1
- versionstring: 16.0.1
- edition:
Operating system and version : Debian GNU/Linux 9.9 (stretch)
nginx version: nginx/1.10.3
PHP version : 7.3
Browser : tested on Firefox Latest / Chromium Latest on Fedora 30
The issue you are facing:
I can’t upload any file (txt, image, small one, big one, …) via the web interface, but I can upload them with WebDav or with the mobile application.
Is this the first time you’ve seen this error? Yes
Steps to replicate it:
- Go to web interface, in files tab.
- Click upload file
- I can’t upload any file, I always have the
Insufficient space available
message (Espace disponible insuffisant
in French)
But a df -h
on my server show my at least 5Go available.
The output of your Nextcloud log in Admin > Logging:
I moved my nextcloud.log
file to nextcloud.log.bck
to try to limit the number of log and only get relevant one. But the file stay empty when I do the manipulation.
Also, I’ve go no network movement when uploading file in the network tab. I have disabled Ublock and decentraleyes to check if their was an issue with theses but nothing seems to change.
I have 2 JS warning when trying to upload file.
The humanFileSize library is deprecated! It will be removed in nextcloud 19.
main.js:750:50
The escapeHTML library is deprecated! It will be removed in nextcloud 19.
main.js:750:50
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'XXXXXXXXXXXXx',
'passwordsalt' => 'XXXXXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXXX',
'trusted_domains' =>
array (
0 => 'XXXXXXXXXXXXX',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'XXXXXXXXXX',
'dbtype' => 'mysql',
'version' => '16.0.1.1',
'dbname' => 'XXXXXXXXX',
'dbhost' => 'XXXXXX',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'XXXXXXXXXXXX',
'dbpassword' => 'XXXXXXXXXX',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'tls',
'mail_from_address' => 'XXXXXXXXX',
'mail_domain' => 'XXXXXXXXXXX',
'mail_smtpauth' => 1,
'mail_smtphost' => 'XXXXXXXXXXx',
'mail_smtpport' => 'XXXXXXX',
'mail_smtpname' => 'XXXXXXXXXXXXXXXXXXXXXXXX',
'mail_smtppassword' => 'XXXXXXXXXXXXXXXXXX',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'updater.release.channel' => 'stable',
'mysql.utf8mb4' => true,
);
Log output of nginx tail -f /var/log/nginx/{access,error}.log
MY.IP - ocyhc [22/May/2019:23:11:04 +0200] "PROPFIND /remote.php/webdav HTTP/1.1" 207 425 "-" "gvfs/1.40.1"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /api/v1/instance HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /api/statusnet/version.json HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /api/statusnet/config.json HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /api/v1/config HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /api/statusnet/config HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
==> /var/log/nginx/error.log <==
2019/05/22 23:11:05 [error] 25928#25928: *376208 access forbidden by rule, client: XXX.XXX.XXX.XXX, server: my.domain, request: "GET /.well-known/nodeinfo HTTP/1.1", host: "my.domain"
==> /var/log/nginx/access.log <==
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:05 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 403 169 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
XXX.XXX.XXX.XXX - - [22/May/2019:23:11:06 +0200] "POST /api/meta HTTP/1.1" 302 5 "-" "fediverse.network crawler (https://fediverse.network/info root@fediverse.network)"
MY.IP - - [22/May/2019:23:11:17 +0200] "POST /apps/phonetrack/log/owntracks/XXXX/device HTTP/2.0" 200 1011 "-" "Owntracks/21201"
MY.IP - - [22/May/2019:23:11:20 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 522 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"