{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/2639","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/2639/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/2639/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/2639/events","html_url":"https://github.com/snipe/snipe-it/issues/2639","id":177958905,"number":2639,"title":"Composer Question","user":{"login":"therealjoshuad","id":3893036,"avatar_url":"https://avatars.githubusercontent.com/u/3893036?v=3","gravatar_id":"","url":"https://api.github.com/users/therealjoshuad","html_url":"https://github.com/therealjoshuad","followers_url":"https://api.github.com/users/therealjoshuad/followers","following_url":"https://api.github.com/users/therealjoshuad/following{/other_user}","gists_url":"https://api.github.com/users/therealjoshuad/gists{/gist_id}","starred_url":"https://api.github.com/users/therealjoshuad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealjoshuad/subscriptions","organizations_url":"https://api.github.com/users/therealjoshuad/orgs","repos_url":"https://api.github.com/users/therealjoshuad/repos","events_url":"https://api.github.com/users/therealjoshuad/events{/privacy}","received_events_url":"https://api.github.com/users/therealjoshuad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snipe/snipe-it/labels/not%20a%20bug","name":"not a bug","color":"c5def5"},{"url":"https://api.github.com/repos/snipe/snipe-it/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-20T04:06:08Z","updated_at":"2016-09-20T13:02:37Z","closed_at":null,"body":"#### Expected Behavior (or desired behavior if a feature request)\r\n\r\nRun composer as non root\r\n\r\n-----\r\n\r\n#### Actual Behavior\r\n\r\nAccidentally ran composer as root\r\n\r\n-----\r\n\r\n#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [ ] I have enabled debug mode\r\n- [X] I have read [checked the Common Issues page](http://docs.snipeitapp.com/common-issues.html)\r\n\r\n-----\r\n#### Please provide answers to these questions before posting your bug report:\r\n\r\n- Version of Snipe-IT you're running: **3.4.0-9**\r\n- What OS and web server you're running Snipe-IT on: **Ubuntu 16.04, Apache**\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) **following steps in snipe.sh**\r\n- If you're getting an error in your browser, include that error\r\n- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error\r\n- If a stacktrace is provided in the error, include that too.\r\n- Any errors that appear in your browser's error console.\r\n- Confirm whether the error is [reproduceable on the demo](https://snipeitapp.com/demo).\r\n- Include any additional information you can find in `app/storage/logs` and your webserver's logs.\r\n- Include what you've done so far in the installation, and if you got any error messages along the way.\r\n- Indicate whether or not you've manually edited any data directly in the database\r\n\r\n-----\r\nI'm not getting any errors yet, but I goofed and used sudo when running \"php composer.phar install --no-dev --prefer-source\" (I think I originally got an access denied error when I didn't used sudo).\r\n\r\nIs there any way to fix the permissions changed, or should I rebuild the server before getting too far in our implementation?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/248294760","html_url":"https://github.com/snipe/snipe-it/issues/2639#issuecomment-248294760","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/2639","id":248294760,"user":{"login":"snipe","id":197404,"avatar_url":"https://avatars.githubusercontent.com/u/197404?v=3","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T13:02:37Z","updated_at":"2016-09-20T13:02:37Z","body":"You shouldn't need to pave the server. Try the following:\r\n\r\n```\r\nsudo rm composer.phar\r\nsudo rm -Rf /home/<user>/.composer\r\n```\r\n\r\nIf you install composer again as your regular web user, and it gives you a permission denied error, just rm whatever composer directory it's choking on. (Composer sticks some cache folders in various directories, depending on your distro.)"}}
{"actor":{"display_login":"snipe"}}