You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Nextcloud via snap on a system with limited space on root filesystem.
Set tempdirectory in config.php pointing to /media/temp
Upload large file.
Monitor space usage, files in /media/temp, /var/snap/nextcloud/common/nextcloud/tmp
Expected behaviour
File gets uploaded successfully, space on root filesystem is not used.
Actual behaviour
Temporary file is created in /var/snap/nextcloud/common/nextcloud/tmp, not in /media/temp, then upload fails when system runs out of space.
(Note that config below does not contain tempdirectory since I'm filling this issue via Issue reporting app on production system where it is already deleted, but it was set with exactly this command (taken from bash history:
It's been some time and I no longer administer the service in question. Whoever still needs to upload large files to Nextcloud are welcome to reopen the issue where necessary.
Steps to reproduce
tempdirectory
inconfig.php
pointing to/media/temp
/media/temp
,/var/snap/nextcloud/common/nextcloud/tmp
Expected behaviour
File gets uploaded successfully, space on root filesystem is not used.
Actual behaviour
Temporary file is created in
/var/snap/nextcloud/common/nextcloud/tmp
, not in/media/temp
, then upload fails when system runs out of space.(Note that config below does not contain tempdirectory since I'm filling this issue via Issue reporting app on production system where it is already deleted, but it was set with exactly this command (taken from bash history:
and the system was rebooted before tests.)
Server configuration detail
Operating system:
Linux 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017 x86_64
Webserver: Apache/2.4.28 (Unix) (fpm-fcgi)
Database: mysql 5.7.18
PHP version: 7.0.25
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, ctype, curl, dom, hash, fileinfo, filter, gd, SPL, iconv, intl, json, mbstring, mcrypt, PDO, session, pdo_sqlite, posix, Reflection, standard, SimpleXML, mysqlnd, exif, tokenizer, xml, xmlreader, xmlwriter, zip, pdo_mysql, cgi-fcgi, redis, Zend OPcache
Nextcloud version: 12.0.4 - 12.0.4.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated from version 11 by snapd.
Where did you install Nextcloud from: snap
Signing status
No errors have been found.
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Operating system: Ubuntu 16.04
The text was updated successfully, but these errors were encountered: