{"action":"closed","issue":{"url":"https://api.github.com/repos/codevise/pageflow/issues/425","labels_url":"https://api.github.com/repos/codevise/pageflow/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/codevise/pageflow/issues/425/comments","events_url":"https://api.github.com/repos/codevise/pageflow/issues/425/events","html_url":"https://github.com/codevise/pageflow/issues/425","id":113807936,"number":425,"title":"can't upload file","user":{"login":"silviupanaite","id":8484794,"avatar_url":"https://avatars.githubusercontent.com/u/8484794?v=3","gravatar_id":"","url":"https://api.github.com/users/silviupanaite","html_url":"https://github.com/silviupanaite","followers_url":"https://api.github.com/users/silviupanaite/followers","following_url":"https://api.github.com/users/silviupanaite/following{/other_user}","gists_url":"https://api.github.com/users/silviupanaite/gists{/gist_id}","starred_url":"https://api.github.com/users/silviupanaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silviupanaite/subscriptions","organizations_url":"https://api.github.com/users/silviupanaite/orgs","repos_url":"https://api.github.com/users/silviupanaite/repos","events_url":"https://api.github.com/users/silviupanaite/events{/privacy}","received_events_url":"https://api.github.com/users/silviupanaite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codevise/pageflow/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-28T12:17:00Z","updated_at":"2015-10-28T13:56:42Z","closed_at":"2015-10-28T13:56:42Z","body":"Hi, \r\n\r\nI have setup the aws bucket but when I try to upload it hangs and the output doesn't show anything wrong. On the ui it says upload failed. Went through the troubleshoot, I use rails 4.1.10.\r\n\r\nStarted POST \"/editor/entries/2/files/image_files\" for 172.17.42.1 at 2015-10-28 12:12:57 +0000\r\nProcessing by Pageflow::Editor::FilesController#create as JSON\r\n  Parameters: {\"authenticity_token\"=>\"Pdg+NILhaTZgXxyX3vmC5kryukUGAa+51Qvqz5J+PYU=\", \"image_file\"=>{\"attachment\"=>#<ActionDispatch::Http::UploadedFile:0x007effd0b8e288 @tempfile=#<Tempfile:/tmp/RackMultipart20151028-27819-1389mws>, @original_filename=\"Screen Shot 2015-10-24 at 09.55.37.png\", @content_type=\"image/png\", @headers=\"Content-Disposition: form-data; name=\\\"image_file[attachment]\\\"; filename=\\\"Screen Shot 2015-10-24 at 09.55.37.png\\\"\\r\\nContent-Type: image/png\\r\\n\">}, \"entry_id\"=>\"2\", \"collection_name\"=>\"image_files\"}\r\n  User Load (0.1ms)  SELECT  `users`.* FROM `users`  WHERE `users`.`id` = 1  ORDER BY `users`.`id` ASC LIMIT 1\r\n  Pageflow::Entry Load (0.1ms)  SELECT  `pageflow_entries`.* FROM `pageflow_entries`  WHERE `pageflow_entries`.`slug` = '2'  ORDER BY `pageflow_entries`.`id` ASC LIMIT 1\r\n  Pageflow::Entry Load (0.1ms)  SELECT  `pageflow_entries`.* FROM `pageflow_entries`  WHERE `pageflow_entries`.`id` = 2 LIMIT 1\r\n  Pageflow::Revision Load (0.1ms)  SELECT  `pageflow_revisions`.* FROM `pageflow_revisions`  WHERE `pageflow_revisions`.`entry_id` = 2 AND (frozen_at IS NULL) LIMIT 1\r\n  Pageflow::Entry Load (0.1ms)  SELECT `pageflow_entries`.* FROM `pageflow_entries` INNER JOIN `pageflow_memberships` ON `pageflow_entries`.`id` = `pageflow_memberships`.`entry_id` WHERE `pageflow_memberships`.`user_id` = 1\r\n  Pageflow::EditLock Load (0.2ms)  SELECT  `pageflow_edit_locks`.* FROM `pageflow_edit_locks`  WHERE `pageflow_edit_locks`.`entry_id` = 2 LIMIT 1\r\n  User Load (0.1ms)  SELECT  `users`.* FROM `users`  WHERE `users`.`id` = 1 LIMIT 1\r\n   (0.1ms)  BEGIN\r\n  SQL (0.1ms)  UPDATE `pageflow_edit_locks` SET `pageflow_edit_locks`.`updated_at` = '2015-10-28 12:12:57' WHERE `pageflow_edit_locks`.`id` = 4\r\n   (315.1ms)  COMMIT\r\nCommand :: identify -format '%wx%h,%[exif:orientation]' '/tmp/a0a0b1c47cf4e5689a9d119026c78c1020151028-27819-nbopf7.png[0]' 2>/dev/null\r\n   (0.3ms)  BEGIN\r\n  SQL (0.3ms)  INSERT INTO `pageflow_image_files` (`created_at`, `entry_id`, `height`, `state`, `unprocessed_attachment_content_type`, `unprocessed_attachment_file_name`, `unprocessed_attachment_file_size`, `unprocessed_attachment_updated_at`, `updated_at`, `width`) VALUES ('2015-10-28 12:12:57', 2, 1268, 'not_processed', 'image/png', 'Screen_Shot_2015-10-24_at_09.55.37.png', 329519, '2015-10-28 12:12:57', '2015-10-28 12:12:57', 1660)\r\n[paperclip] saving 063d4e1d6155/image_files/unprocessed_attachments/000/000/007/original/Screen_Shot_2015-10-24_at_09.55.37.png"}}