{"action":"created","issue":{"url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/580","repository_url":"https://api.github.com/repos/gosha1128/NYUAMS","labels_url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/580/comments","events_url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/580/events","html_url":"https://github.com/gosha1128/NYUAMS/issues/580","id":160748327,"number":580,"title":"Test Case:  DEV_smoketest : Projects>file(s)>Add File","user":{"login":"leobardoramon","id":2165796,"avatar_url":"https://avatars.githubusercontent.com/u/2165796?v=3","gravatar_id":"","url":"https://api.github.com/users/leobardoramon","html_url":"https://github.com/leobardoramon","followers_url":"https://api.github.com/users/leobardoramon/followers","following_url":"https://api.github.com/users/leobardoramon/following{/other_user}","gists_url":"https://api.github.com/users/leobardoramon/gists{/gist_id}","starred_url":"https://api.github.com/users/leobardoramon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leobardoramon/subscriptions","organizations_url":"https://api.github.com/users/leobardoramon/orgs","repos_url":"https://api.github.com/users/leobardoramon/repos","events_url":"https://api.github.com/users/leobardoramon/events{/privacy}","received_events_url":"https://api.github.com/users/leobardoramon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gosha1128/NYUAMS/labels/0.0DEV","name":"0.0DEV","color":"ffffff"},{"url":"https://api.github.com/repos/gosha1128/NYUAMS/labels/0.0MAINT","name":"0.0MAINT","color":"d4c5f9"},{"url":"https://api.github.com/repos/gosha1128/NYUAMS/labels/1.0needs%20priority","name":"1.0needs priority","color":"00fff9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-16T20:03:12Z","updated_at":"2016-06-22T18:03:10Z","closed_at":null,"body":"dev7 IP Address:  54.165.240.163\r\nssh:  ssh -i PROD1.pem ubuntu@54.165.240.163\r\n\r\nsmoke testing new server\r\nunable to upload file, Error: EEXIST, file already exists\r\n\r\n<img width=\"1421\" alt=\"screen shot 2016-06-16 at 4 00 17 pm\" src=\"https://cloud.githubusercontent.com/assets/2165796/16131329/b24e6c50-33db-11e6-9d6a-93f71be24282.png\">\r\n\r\n\r\nFile Download and PDF work correctly"},"comment":{"url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/comments/227827431","html_url":"https://github.com/gosha1128/NYUAMS/issues/580#issuecomment-227827431","issue_url":"https://api.github.com/repos/gosha1128/NYUAMS/issues/580","id":227827431,"user":{"login":"leobardoramon","id":2165796,"avatar_url":"https://avatars.githubusercontent.com/u/2165796?v=3","gravatar_id":"","url":"https://api.github.com/users/leobardoramon","html_url":"https://github.com/leobardoramon","followers_url":"https://api.github.com/users/leobardoramon/followers","following_url":"https://api.github.com/users/leobardoramon/following{/other_user}","gists_url":"https://api.github.com/users/leobardoramon/gists{/gist_id}","starred_url":"https://api.github.com/users/leobardoramon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leobardoramon/subscriptions","organizations_url":"https://api.github.com/users/leobardoramon/orgs","repos_url":"https://api.github.com/users/leobardoramon/repos","events_url":"https://api.github.com/users/leobardoramon/events{/privacy}","received_events_url":"https://api.github.com/users/leobardoramon/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T18:03:10Z","updated_at":"2016-06-22T18:03:10Z","body":"# Terminal\r\n## Start Server\r\n- Open a Terminal window\r\n- \"cd\" into your PROD1.pem directory\r\n- >ssh -i PROD1.pem ubuntu@54.165.240.163\r\n- >sudo forever stopall\r\n- >sudo bash\r\n- >cd /opt/NYUAMS/node/ebs\r\n- >node app.js nfs\r\n## Start Fileproxy Server\r\n- Open a new Terminal window/tab\r\n- >cd <fileproxy dir>/NYUAMS/node/ebs/local\r\n- >sudo killall node\r\n- <enter password>\r\n- >sudo node fileproxy.js\r\n# Chrome\r\n- Launch Chrome\r\n- In Address Bar, type server address: \"54.165.240.163\"\r\n- Login , \"leo\"\r\n- Password , \"l6shooter\"\r\n- Domain , \"Local\"\r\n- \"Sign In\"\r\n- Go to \"Projects\"\r\n- Expand view to Detail View\r\n- Select any project\r\n- Select \"file(s)\" radio button\r\n- Add any file, any size\r\n# Error\r\nThis should give you the Terminal error:\r\n\r\nCF args 298 undefined undefined\r\nABOUT TO CREATE undefined undefined\r\nCCFF undefined undefined\r\nWARNING: upload: cmd-> identify \"/tmp/9464-1gdn78q.png\"\r\nWARNING: execS: { code: 0,\r\n  stdout: '/tmp/9464-1gdn78q.png PNG 5120x2880 5120x2880+0+0 8-bit DirectClass 14.88MB 0.000u 0:00.000\\n' }\r\nWARNING: upload: pts: [ '/tmp/9464-1gdn78q.png',\r\n  'PNG',\r\n  '5120x2880',\r\n  '5120x2880+0+0',\r\n  '8-bit',\r\n  'DirectClass',\r\n  '14.88MB',\r\n  '0.000u',\r\n  '0:00.000\\n' ]\r\nWARNING: upload: sizestr: 5120x2880\r\nWARNING: upload: size 5120 2880\r\nWARNING: ps: [ '5120', '2880' ]\r\nExecuting (default): INSERT INTO `Files` (`url`,`fmt`,`status`,`deviceid`,`width`,`height`,`asset`,`des`,`name`,`pjp`,`fspath`,`fsdir`,`createdAt`,`updatedAt`) VALUES (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2016-06-22 17:19:46','2016-06-22 17:19:46');\r\nINFO: sql: SQL new ok.\r\nWARNING: db_file: fdir= /amsfiles/EBSFILES/FILES/1258\r\n\r\n/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/async.js:79\r\n            throw res.e;\r\n                     ^\r\nError: EEXIST, file already exists '/amsfiles/EBSFILES/FILES/1258'\r\n    at Object.fs.mkdirSync (fs.js:642:18)\r\n    at /opt/NYUAMS/node/ebs/db/file.js:372:8\r\n    at tryCatch1 (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/util.js:64:19)\r\n    at Promise$_callHandler [as _callHandler] (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:708:13)\r\n    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:724:18)\r\n    at Promise$_settlePromiseAt [as _settlePromiseAt] (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:896:14)\r\n    at Promise$_fulfillPromises [as _fulfillPromises] (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:1041:14)\r\n    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/async.js:64:12)\r\n    at Async$consumeFunctionBuffer (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/async.js:37:14)\r\n    at Promise$_Scheduler (/opt/NYUAMS/node/ebs/node_modules/sequelize/node_modules/bluebird/js/main/schedule.js:40:58)\r\n    at process._tickDomainCallback (node.js:463:13)"}}
{"actor":{"display_login":"leobardoramon"}}