Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version: 16.0.4
Operating system and version: Ubuntu Mate 18.04.3 on Raspberry Pi 3
Apache version : 2.4.29
PHP version: 7.2
The issue you are facing:
For whatever reason, I am still unable to upload files bigger than 2 GB despite going through everything on https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/big_file_upload_configuration.html?highlight=file%20size
I checked the phpinfo.php and it definitely shows an upload limit of 16 GB. What’s interesting is that if I try to upload via either the sync client or via the web interface, it looks like it gets all the way through to uploading the size of the file and then errors. I for the life of me can’t figure out what is going wrong exactly. Any help would be greatly appreciated.
Many Thanks.
The output of your Nextcloud log in Admin > Logging:
Error remote TypeError: Return value of OC\Files\Storage\Wrapper\Encryption::writeStream() must be of the type integer, float returned
/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 630:
OC\Files\Storage\Wrapper\Encryption->writeStream("downloads a ... t", null, null)
/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php - line 191:
OC\Files\Storage\Wrapper\Wrapper->writeStream("downloads a ... t", null)
/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 156:
OCA\DAV\Connector\Sabre\File->put(null)
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 316:
OCA\DAV\Connector\Sabre\Directory->createFile("THE_GODFATHER.m4v", null)
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 130:
Sabre\DAV\Tree->copyNode(OCA\DAV\Upload\FutureFile {}, OCA\DAV\Conn ... {}, "THE_GODFATHER.m4v")
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 161:
Sabre\DAV\Tree->copy("uploads/Clo ... e", "files/Cloud ... v")
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 642:
Sabre\DAV\Tree->move("uploads/Clo ... e", "files/Cloud ... v")
<<closure>>
Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})
/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:
call_user_func_array([ Sabre\DAV\ ... "], [ Sabre\HTTP ... }])
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:
Sabre\Event\EventEmitter->emit("method:MOVE", [ Sabre\HTTP ... }])
/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})
/var/www/nextcloud/apps/dav/lib/Server.php - line 316:
Sabre\DAV\Server->exec()
/var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/var/www/nextcloud/remote.php - line 163:
require_once("/var/www/ne ... p")