{"action":"created","issue":{"url":"https://api.github.com/repos/wekan/wekan/issues/773","repository_url":"https://api.github.com/repos/wekan/wekan","labels_url":"https://api.github.com/repos/wekan/wekan/issues/773/labels{/name}","comments_url":"https://api.github.com/repos/wekan/wekan/issues/773/comments","events_url":"https://api.github.com/repos/wekan/wekan/issues/773/events","html_url":"https://github.com/wekan/wekan/issues/773","id":204545067,"number":773,"title":"Attachment Upload not working","user":{"login":"port22","id":8873017,"avatar_url":"https://avatars.githubusercontent.com/u/8873017?v=3","gravatar_id":"","url":"https://api.github.com/users/port22","html_url":"https://github.com/port22","followers_url":"https://api.github.com/users/port22/followers","following_url":"https://api.github.com/users/port22/following{/other_user}","gists_url":"https://api.github.com/users/port22/gists{/gist_id}","starred_url":"https://api.github.com/users/port22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/port22/subscriptions","organizations_url":"https://api.github.com/users/port22/orgs","repos_url":"https://api.github.com/users/port22/repos","events_url":"https://api.github.com/users/port22/events{/privacy}","received_events_url":"https://api.github.com/users/port22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-01T10:22:22Z","updated_at":"2017-02-01T17:08:58Z","closed_at":"2017-02-01T17:08:58Z","body":"I run as simple as:\r\n\r\n```\r\n# docker run -d --name wekan-db -v $PWD/mongo:/data/db mongo\r\n# docker run -d --name wekan --link \"wekan-db:db\" -e \"MONGO_URL=mongodb://db\" -e \"ROOT_URL=http://wekan.server\" -p 80:80 mquandalle/wekan\r\n```\r\n\r\nFile Permissions are recursively 777. \r\n\r\nEverything's working except when I try to upload a file (regardless of filetype) to a card, it comes in yellow alert top line:\r\n\r\n>  The application is currently offline, refreshing the page will cause data loss.\r\n\r\nThe Docker container now crashed and has been restarted due to restart-policy.\r\nI refresh the page, the attachment is a grey box without the image. Clicking on Download has no effect. But I can delete.\r\n\r\nAs a note: Uploading an Attachment is awfully complicated. An \"Attach a File...\" - Link/Button between \"Description\" and \"Activity\" or right-floating besides Members and Labels would be great, maybe along with a small area to drag&drop files."},"comment":{"url":"https://api.github.com/repos/wekan/wekan/issues/comments/276717332","html_url":"https://github.com/wekan/wekan/issues/773#issuecomment-276717332","issue_url":"https://api.github.com/repos/wekan/wekan/issues/773","id":276717332,"user":{"login":"xet7","id":15545,"avatar_url":"https://avatars.githubusercontent.com/u/15545?v=3","gravatar_id":"","url":"https://api.github.com/users/xet7","html_url":"https://github.com/xet7","followers_url":"https://api.github.com/users/xet7/followers","following_url":"https://api.github.com/users/xet7/following{/other_user}","gists_url":"https://api.github.com/users/xet7/gists{/gist_id}","starred_url":"https://api.github.com/users/xet7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xet7/subscriptions","organizations_url":"https://api.github.com/users/xet7/orgs","repos_url":"https://api.github.com/users/xet7/repos","events_url":"https://api.github.com/users/xet7/events{/privacy}","received_events_url":"https://api.github.com/users/xet7/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T17:08:58Z","updated_at":"2017-02-01T17:08:58Z","body":"@port22 \r\n\r\nBackup your data:\r\nhttps://github.com/wekan/wekan/wiki/Export-Docker-Mongo-Data\r\n\r\nThen remove your docker containers and images, and install newest Wekan with MongoDB 3.2.11 like this, uploading images works now:\r\n\r\n```\r\ndocker run -d --restart=always --name wekan-db mongo:3.2.11\r\n\r\ndocker run -d --restart=always --name wekan --link \"wekan-db:db\" -e \"MONGO_URL=mongodb://db\" -e \"ROOT_URL=http://localhost:8080\" -p 8080:80 mquandalle/wekan:latest\r\n```\r\n\r\nThen restore your data:\r\nhttps://github.com/wekan/wekan/wiki/Export-Docker-Mongo-Data\r\n\r\nFor newest info about Docker, see README.md on root dir of repo.\r\n\r\nClosing issue."}}
{"actor":{"display_login":"xet7"}}