{"action":"created","issue":{"url":"https://api.github.com/repos/directus/directus/issues/1875","repository_url":"https://api.github.com/repos/directus/directus","labels_url":"https://api.github.com/repos/directus/directus/issues/1875/labels{/name}","comments_url":"https://api.github.com/repos/directus/directus/issues/1875/comments","events_url":"https://api.github.com/repos/directus/directus/issues/1875/events","html_url":"https://github.com/directus/directus/issues/1875","id":264245030,"number":1875,"title":"Uploading files fails on Nginx","user":{"login":"nilsborg","id":1119139,"avatar_url":"https://avatars2.githubusercontent.com/u/1119139?v=4","gravatar_id":"","url":"https://api.github.com/users/nilsborg","html_url":"https://github.com/nilsborg","followers_url":"https://api.github.com/users/nilsborg/followers","following_url":"https://api.github.com/users/nilsborg/following{/other_user}","gists_url":"https://api.github.com/users/nilsborg/gists{/gist_id}","starred_url":"https://api.github.com/users/nilsborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilsborg/subscriptions","organizations_url":"https://api.github.com/users/nilsborg/orgs","repos_url":"https://api.github.com/users/nilsborg/repos","events_url":"https://api.github.com/users/nilsborg/events{/privacy}","received_events_url":"https://api.github.com/users/nilsborg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-10T14:15:27Z","updated_at":"2017-10-11T11:41:35Z","closed_at":"2017-10-10T23:00:12Z","author_association":"NONE","body":"Hola!\r\n\r\njust installed Directus and create a first table with a single file input field, which gives me an error when I upload a file.\r\n\r\n## Version Info\r\n  - v6.4.3\r\n  - PHP version: PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )\r\n  - MySQL version: mysqld  Ver 5.7.19-0ubuntu0.16.04.1 for Linux on x86_64 ((Ubuntu))\r\n  - Web server: nginx version: nginx/1.10.3 (Ubuntu)\r\n  - OS name and version: Ubuntu 16.04 (the one you get from digital ocean currently)\r\n\r\n## Expected Behavior\r\n\r\nI guess it saves the file :)\r\n\r\n## Actual Behavior\r\n\r\nTried uploading a tiny jpeg with results in this error message:\r\n\r\n```\r\nError\r\nError: Uncaught SyntaxError: Unexpected end of JSON input\r\nFile: https://cms.strandrover.com/tables/media/new\r\nLine:1\r\n```\r\n\r\nThe js console says:\r\n\r\n<img width=\"930\" alt=\"screen shot 2017-10-10 at 16 01 58\" src=\"https://user-images.githubusercontent.com/1119139/31390495-5d377378-add4-11e7-8112-57c4960c680a.png\">\r\n\r\n\r\n## Steps to Reproduce\r\n 1. Create a table with a single file input\r\n 2. Grab this JPG: ![all-the-things](https://user-images.githubusercontent.com/1119139/31390661-c6eb05c8-add4-11e7-9e20-db3cbe8c92d4.jpg)\r\n 3. Drag into the input thing\r\n 4. Be delighted to see a preview of the file\r\n 5. Hit Save and see the error message \r\n\r\n## Schema Dump, Logs, or Screenshots\r\n\r\n![2017-10-10 16 12 17](https://user-images.githubusercontent.com/1119139/31391119-ef78518e-add5-11e7-9021-ac3ce606c9e0.gif)\r\n\r\n[directus_2017-10-10.sql.gz](https://github.com/directus/directus/files/1372220/directus_2017-10-10.sql.gz)\r\n\r\nThis is all the info I can think of … @rijkvanzanten I this what you had in mind? \r\nTHANK YOU GUYS!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/directus/directus/issues/comments/335782553","html_url":"https://github.com/directus/directus/issues/1875#issuecomment-335782553","issue_url":"https://api.github.com/repos/directus/directus/issues/1875","id":335782553,"user":{"login":"rijkvanzanten","id":9141017,"avatar_url":"https://avatars3.githubusercontent.com/u/9141017?v=4","gravatar_id":"","url":"https://api.github.com/users/rijkvanzanten","html_url":"https://github.com/rijkvanzanten","followers_url":"https://api.github.com/users/rijkvanzanten/followers","following_url":"https://api.github.com/users/rijkvanzanten/following{/other_user}","gists_url":"https://api.github.com/users/rijkvanzanten/gists{/gist_id}","starred_url":"https://api.github.com/users/rijkvanzanten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rijkvanzanten/subscriptions","organizations_url":"https://api.github.com/users/rijkvanzanten/orgs","repos_url":"https://api.github.com/users/rijkvanzanten/repos","events_url":"https://api.github.com/users/rijkvanzanten/events{/privacy}","received_events_url":"https://api.github.com/users/rijkvanzanten/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T11:41:35Z","updated_at":"2017-10-11T11:41:35Z","author_association":"MEMBER","body":"Could you check the `max_upload_size` setting in your `php.ini`? "}}
{"actor":{"display_login":"rijkvanzanten"}}