{"action":"closed","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/5753","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/5753/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/5753/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/5753/events","html_url":"https://github.com/snipe/snipe-it/issues/5753","id":336377918,"node_id":"MDU6SXNzdWUzMzYzNzc5MTg=","number":5753,"title":"PHP Parse error while running \"php artisan key:generate\"","user":{"login":"Tomasthanes","id":18180348,"node_id":"MDQ6VXNlcjE4MTgwMzQ4","avatar_url":"https://avatars2.githubusercontent.com/u/18180348?v=4","gravatar_id":"","url":"https://api.github.com/users/Tomasthanes","html_url":"https://github.com/Tomasthanes","followers_url":"https://api.github.com/users/Tomasthanes/followers","following_url":"https://api.github.com/users/Tomasthanes/following{/other_user}","gists_url":"https://api.github.com/users/Tomasthanes/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomasthanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomasthanes/subscriptions","organizations_url":"https://api.github.com/users/Tomasthanes/orgs","repos_url":"https://api.github.com/users/Tomasthanes/repos","events_url":"https://api.github.com/users/Tomasthanes/events{/privacy}","received_events_url":"https://api.github.com/users/Tomasthanes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-27T20:35:45Z","updated_at":"2018-06-27T20:42:23Z","closed_at":"2018-06-27T20:42:22Z","author_association":"NONE","body":"#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [ ] I have enabled debug mode \r\n- [ ] I have read [checked the Common Issues page](https://snipe-it.readme.io/docs/common-issues)\r\n\r\n**Describe the bug**\r\n# php artisan key:generate\r\nPHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/snipe-it-4.4.1/artisan on line 31\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nI'm following the Install Manual and am at the step https://snipe-it.readme.io/docs/generate-your-app-key\r\nWhen I run the command, I get the error message.\r\n\r\n**Expected behavior**\r\nI expect it to generate the app key and update the .env file.\r\n\r\n**Screenshots**\r\nSince I'm on the CLI, I don't think a screen shot would help\r\n\r\n**Server (please complete the following information):**\r\n - Snipe-IT Version 4.4.1\r\n - OS: [e.g. Ubuntu, CentOS] Oracle Linux Server release 7.5\r\n - Web Server: [e.g. Apache, IIS] httpd.x86_64                       2.4.6-80.0.1.el7\r\n - PHP Version  php.x86_64                         5.4.16-45.el7\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: [e.g. iOS] Windows 10\r\n - Browser [e.g. chrome, safari] Chrome (once I get it installed)\r\n - Version [e.g. 22] N/A\r\n\r\n**Smartphone (please complete the following information):**\r\nN/A\r\n\r\n**Error Messages**\r\nSee the describe the error section above.\r\n\r\n**Additional context**\r\n- Is this a fresh install or an upgrade? Fresh.\r\n- What OS and web server you're running Snipe-IT on? See above\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)?  I downloaded the tarball and am following the instructions.  I can provide a detailed Server Build document with the steps I took to get here.\r\n- Include what you've done so far in the installation, and if you got any error messages along the way.  I'm following the Install Manual in order.\r\n- Indicate whether or not you've manually edited any data directly in the database.  No database yet.  We are using MySQL Community once we get there.\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\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60209732-php-parse-error-while-running-php-artisan-key-generate?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"snipe"}}