{"action":"opened","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/1922","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/1922/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/1922/events","html_url":"https://github.com/nextcloud/server/issues/1922","id":185368480,"number":1922,"title":"External storrage: Not enough free space or just hangs","user":{"login":"janw-oostendorp","id":1026882,"avatar_url":"https://avatars.githubusercontent.com/u/1026882?v=3","gravatar_id":"","url":"https://api.github.com/users/janw-oostendorp","html_url":"https://github.com/janw-oostendorp","followers_url":"https://api.github.com/users/janw-oostendorp/followers","following_url":"https://api.github.com/users/janw-oostendorp/following{/other_user}","gists_url":"https://api.github.com/users/janw-oostendorp/gists{/gist_id}","starred_url":"https://api.github.com/users/janw-oostendorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janw-oostendorp/subscriptions","organizations_url":"https://api.github.com/users/janw-oostendorp/orgs","repos_url":"https://api.github.com/users/janw-oostendorp/repos","events_url":"https://api.github.com/users/janw-oostendorp/events{/privacy}","received_events_url":"https://api.github.com/users/janw-oostendorp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T11:35:20Z","updated_at":"2016-10-26T11:35:20Z","closed_at":null,"body":"<!--\r\nThanks for reporting issues back to Nextcloud! This is the issue tracker of Nextcloud, if you have any support question please check out https://nextcloud.com/support\r\n\r\nThis is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/\r\n\r\nFor reporting potential security issues please see https://nextcloud.com/security/\r\n\r\nTo make it possible for us to help you please fill out below information carefully.\r\n--> \r\n### Steps to reproduce\r\n1. Add a ssh of sftp external storage\r\n2. upload a file\r\n3. The progress just hangs at `any moment now` and does nothing. When reloading the file is there and works. But uploading anything else after that it gives an error like: `Error uploading file \"IMG_20160914_113454.jpg\": Not enough free space, you are uploading 774 KB but only 0 B is left` Or the progress just hangs at `any moment now`  \r\nI haven't figured out when it this behaviour resets but it does after some time.\r\n\r\n### Expected behaviour\r\nA regular upload to external storage\r\n\r\n### Actual behaviour\r\nI can't upload to smb or sftp\r\nMounting a local hard disk does work.\r\n\r\nUploading directly from OS to the same smb/sftp works.\r\n\r\n\r\n\r\n\r\n### Server configuration\r\n\r\n -  Rasbian\r\n -  Nginx 1.10.1\r\n -  Mysql 5.5.52\r\n -  PHP 7.0.11\r\n -  Nextcloud 10.0.1 Fresh install (download zip: https://download.nextcloud.com/server/releases/nextcloud-10.0.1.zip)\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.3.2\r\n  - comments: 1.0.0\r\n  - dav: 1.0.1\r\n  - federatedfilesharing: 1.0.1\r\n  - federation: 1.0.1\r\n  - files: 1.5.2\r\n  - files_external: 1.0.2\r\n  - files_pdfviewer: 0.8.1\r\n  - files_sharing: 1.0.0\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 1.0.0\r\n  - files_versions: 1.3.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 15.0.0\r\n  - notifications: 0.3.0\r\n  - password_policy: 1.0.0\r\n  - provisioning_api: 1.0.0\r\n  - serverinfo: 1.1.1\r\n  - survey_client: 0.1.5\r\n  - systemtags: 1.0.2\r\n  - theming: 1.0.1\r\n  - updatenotification: 1.0.1\r\n  - workflowengine: 1.0.1\r\nDisabled:\r\n  - admin_audit\r\n  - encryption\r\n  - external\r\n  - files_accesscontrol\r\n  - files_automatedtagging\r\n  - files_retention\r\n  - templateeditor\r\n  - user_external\r\n  - user_ldap\r\n  - user_saml\r\n```\r\n</details>\r\n\r\n**The content of config/config.php:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```{\r\n    \"system\": {\r\n        \"instanceid\": \"ocqcuvt4nii5\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"192.168.2.10\",\r\n            \"example.com\"\r\n        ],\r\n        \"datadirectory\": \"\\/var\\/www\\/nextcloud\\/data\",\r\n        \"overwrite.cli.url\": \"http:\\/\\/192.168.2.10\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.1.1.5\",\r\n        \"dbname\": \"raspimain_db\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbport\": \"\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"UTC\",\r\n        \"installed\": true,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"quota_include_external_storage\": true\r\n    }\r\n}\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:**\r\n\r\n -  local (no problems)\r\n -  smb (Can't upload, can read/delete)\r\n -  sftp (Can't upload, can read/delete)\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:**\r\n\r\nJust tested via the web interface\r\n\r\n### Client configuration\r\nUbuntu: Firefox and chromium\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\nOnly one repeated\r\n\r\n```\r\naccess forbidden by rule, client: 81.21.139.139, server: example.com, request: \"GET /data/htaccesstest.txt?t=1477377630456\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\nAbout 10.000 lines of:\r\n```\r\n{\"reqId\":\"IIe0WtwMxfjg53XXuwJJ\",\"remoteAddr\":\"\",\"app\":\"core\",\"message\":\"Can't get app storage, app files_external, user not logged in\",\"level\":3,\"time\":\"2016-10-26T11:15:10+00:00\",\"method\":\"--\",\"url\":\"--\",\"user\":\"--\"}\r\n```\r\n\r\nAnd a few like with diffrent ip's:\r\n```\r\n{\"reqId\":\"OHWKwdjJSloJ9SYwt\\/g\\/\",\"remoteAddr\":\"113.160.154.138\",\"app\":\"core\",\"message\":\"Trusted domain error. \\\"113.160.154.138\\\" tried to access using \\\"177.170.1.130\\\" as host.\",\"level\":2,\"time\":\"2016-10-25T04:06:46+00:00\",\"method\":\"GET\",\"url\":\"\\/admin\\/config.php\",\"user\":\"--\"}\r\n```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\nInsert your browser log here, this could for example include:\r\n\r\n**JS console error**\r\n\r\n`TypeError: response is null files.js:61:1` When getting on the page with my test folder\r\n\r\nWhen uploading:\r\n`SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data filelist.js:2673:18`\r\n\r\n**network**\r\n\r\nUpload.php POST gives a 200 with an empty response\r\n\r\n</details>\r\n"}}
{"actor":{"display_login":"janw-oostendorp"}}