{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/6437","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/6437/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/6437/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/6437/events","html_url":"https://github.com/snipe/snipe-it/issues/6437","id":382251624,"node_id":"MDU6SXNzdWUzODIyNTE2MjQ=","number":6437,"title":"Composer Install not working on Centos","user":{"login":"Vicky-Akana","id":25539619,"node_id":"MDQ6VXNlcjI1NTM5NjE5","avatar_url":"https://avatars1.githubusercontent.com/u/25539619?v=4","gravatar_id":"","url":"https://api.github.com/users/Vicky-Akana","html_url":"https://github.com/Vicky-Akana","followers_url":"https://api.github.com/users/Vicky-Akana/followers","following_url":"https://api.github.com/users/Vicky-Akana/following{/other_user}","gists_url":"https://api.github.com/users/Vicky-Akana/gists{/gist_id}","starred_url":"https://api.github.com/users/Vicky-Akana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vicky-Akana/subscriptions","organizations_url":"https://api.github.com/users/Vicky-Akana/orgs","repos_url":"https://api.github.com/users/Vicky-Akana/repos","events_url":"https://api.github.com/users/Vicky-Akana/events{/privacy}","received_events_url":"https://api.github.com/users/Vicky-Akana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-19T14:56:14Z","updated_at":"2018-11-20T06:40:53Z","closed_at":null,"author_association":"NONE","body":"#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [ yes] I have enabled debug mode \r\n- [ yes] I have read [checked the Common Issues page](https://snipe-it.readme.io/docs/common-issues)\r\n\r\n**Describe the bug**\r\nA clear and concise description of what the bug is.\r\n\r\nI have gotten the issue while installing snipe-it 4.6.4 on a centos server, and while I was running composer to install dependencies.\r\n\r\nI first installed composer with this command: \"curl -sS https://getcomposer.org/installer | php\"  but when I run it, it couldn't work.\r\nBelow are the warning and error I get if I run this command: \"php composer.phar install --no-dev --prefer-source\"\r\n\r\nWarning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - Installation request for tecnickcom/tc-lib-barcode 1.15.12 -> satisfiable by tecnick                     com/tc-lib-barcode[1.15.12].\r\n    - tecnickcom/tc-lib-barcode 1.15.12 requires ext-bcmath * -> the requested PHP extensi                     on bcmath is missing from your system.\r\n\r\n\r\n**To Reproduce** \r\nSteps to reproduce the behavior: NA\r\n1. Go to '...'\r\n2. Click on '....'\r\n3. Scroll down to '....'\r\n4. See error\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen. N/A\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n![issue_screenshot](https://user-images.githubusercontent.com/25539619/48710479-22f6d100-ec11-11e8-8e0c-d4cb76695acf.PNG)\r\n\r\n\r\n**Server (please complete the following information):**\r\n - Snipe-IT Version: 4.6.4\r\n - OS: CentOS\r\n - Web Server: Apache\r\n - PHP Version: 7.1.23\r\n\r\n**Desktop (please complete the following information):** N/A\r\n - OS: [e.g. iOS]\r\n - Browser [e.g. chrome, safari]\r\n - Version [e.g. 22]\r\n\r\n**Smartphone (please complete the following information):** N/A\r\n - Device: [e.g. iPhone6]\r\n - OS: [e.g. iOS8.1]\r\n - Browser [e.g. stock browser, safari]\r\n - Version [e.g. 22]\r\n\r\n**Error Messages** N/A\r\n- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that 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 reproducible on the demo: https://snipeitapp.com/demo.\r\n- Include any additional information you can find in `storage/logs` and your webserver's logs.\r\n\r\n**Additional context**\r\n- Is this a fresh install or an upgrade?  Answer: A fresh install\r\n- What OS and web server you're running Snipe-IT on? Answer: Linux Centos, Apache web server\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): manual installation\r\n- Include what you've done so far in the installation and if you got any error messages along the way.\r\n       => I downloaded snipe-it 4.6.4\r\n       => I copied it on Centos server\r\n       => I copied the .env.example file .env, and edited that file to enable Debug-mode, and APP_ENV=development\r\n       => Downloaded and installed composer with the following command: \"curl -sS https://getcomposer.org/installer | php\". This worked fine\r\n       => I got the errors while installing dependencies with composer, with this command: php composer.phar install --no-dev --prefer-source\r\n\r\n- Indicate whether or not you've manually edited any data directly in the database. Answer: I didn't\r\n\r\nAdd any other context about the problem here.\r\n\r\nPlease do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.\r\n"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/440161734","html_url":"https://github.com/snipe/snipe-it/issues/6437#issuecomment-440161734","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/6437","id":440161734,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDE2MTczNA==","user":{"login":"Vicky-Akana","id":25539619,"node_id":"MDQ6VXNlcjI1NTM5NjE5","avatar_url":"https://avatars1.githubusercontent.com/u/25539619?v=4","gravatar_id":"","url":"https://api.github.com/users/Vicky-Akana","html_url":"https://github.com/Vicky-Akana","followers_url":"https://api.github.com/users/Vicky-Akana/followers","following_url":"https://api.github.com/users/Vicky-Akana/following{/other_user}","gists_url":"https://api.github.com/users/Vicky-Akana/gists{/gist_id}","starred_url":"https://api.github.com/users/Vicky-Akana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vicky-Akana/subscriptions","organizations_url":"https://api.github.com/users/Vicky-Akana/orgs","repos_url":"https://api.github.com/users/Vicky-Akana/repos","events_url":"https://api.github.com/users/Vicky-Akana/events{/privacy}","received_events_url":"https://api.github.com/users/Vicky-Akana/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T06:40:53Z","updated_at":"2018-11-20T06:40:53Z","author_association":"NONE","body":"Hey,\r\nThanks much, I have now installed the bcmath extension, and no more getting the errors regarding extensions. Though I am still getting the lock file warning.\r\nAlso, I am getting an error with \"vendor\" folder which I think is supposed to have all installed dependencies. It seems like it can't be created.\r\n\r\nPlease see the error:\r\n\r\n![issue-composer-install](https://user-images.githubusercontent.com/25539619/48755934-db6b5600-ec9f-11e8-8b41-0e450eb12cef.PNG)\r\n"}}
{"actor":{"display_login":"Vicky-Akana"}}