{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3071","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3071/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3071/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3071/events","html_url":"https://github.com/Sylius/Sylius/issues/3071","id":96506861,"number":3071,"title":"Install Fails","user":{"login":"dmidz","id":1290511,"avatar_url":"https://avatars.githubusercontent.com/u/1290511?v=3","gravatar_id":"","url":"https://api.github.com/users/dmidz","html_url":"https://github.com/dmidz","followers_url":"https://api.github.com/users/dmidz/followers","following_url":"https://api.github.com/users/dmidz/following{/other_user}","gists_url":"https://api.github.com/users/dmidz/gists{/gist_id}","starred_url":"https://api.github.com/users/dmidz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmidz/subscriptions","organizations_url":"https://api.github.com/users/dmidz/orgs","repos_url":"https://api.github.com/users/dmidz/repos","events_url":"https://api.github.com/users/dmidz/events{/privacy}","received_events_url":"https://api.github.com/users/dmidz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Blocker","name":"Blocker","color":"a80000"},{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Sylius/Sylius/milestones/7","html_url":"https://github.com/Sylius/Sylius/milestones/v1.0.0-ALPHA1","labels_url":"https://api.github.com/repos/Sylius/Sylius/milestones/7/labels","id":1104570,"number":7,"title":"v1.0.0-ALPHA1","description":"First alpha version of Sylius platform.","creator":{"login":"pjedrzejewski","id":614970,"avatar_url":"https://avatars.githubusercontent.com/u/614970?v=3","gravatar_id":"","url":"https://api.github.com/users/pjedrzejewski","html_url":"https://github.com/pjedrzejewski","followers_url":"https://api.github.com/users/pjedrzejewski/followers","following_url":"https://api.github.com/users/pjedrzejewski/following{/other_user}","gists_url":"https://api.github.com/users/pjedrzejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pjedrzejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjedrzejewski/subscriptions","organizations_url":"https://api.github.com/users/pjedrzejewski/orgs","repos_url":"https://api.github.com/users/pjedrzejewski/repos","events_url":"https://api.github.com/users/pjedrzejewski/events{/privacy}","received_events_url":"https://api.github.com/users/pjedrzejewski/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2015-05-11T11:11:16Z","updated_at":"2015-09-17T07:43:13Z","due_on":null,"closed_at":null},"comments":53,"created_at":"2015-07-22T08:22:32Z","updated_at":"2015-09-21T06:21:58Z","closed_at":null,"body":"I am facing a failed install while I follow the instructions at http://sylius.org/get-started :\r\n\r\nphp app/console sylius:install\r\nInstalling Sylius...\r\nStep 1 of 4. Checking system requirements.\r\n+-------------------------------+-----------------------------------------------\r\n----------------------+\r\n| Issue | Recommendation\r\n|\r\n+-------------------------------+-----------------------------------------------\r\n----------------------+\r\n| short_open_tag |\r\n|\r\n| session.auto_start |\r\n|\r\n| sylius.extensions.accelerator | Install and enable a PHP accelerator like APC\r\n(highly recommended). |\r\n+-------------------------------+-----------------------------------------------\r\n----------------------+\r\nSuccess! Your system can run Sylius properly.\r\n\r\nStep 2 of 4. Setting up the database.\r\nCreating Sylius database for environment dev.\r\nThe command terminated with an error code: 1.\r\n[Exception]\r\nThe command terminated with an error code: 1.\r\n\r\n.................................................................................\r\nFew things does not work as is :\r\n\r\nconfig_dev.yml uses\r\n #dbname: %sylius.database.name%_dev\r\ndbname: %sylius.database.name% \r\nso it would work with what I typed in CLI inputs\r\nthen I got error like [Symfony\\Component\\Debug\\Exception\\ContextErrorException] Warning: ini_set(): A session is active. You cannot change the session modu le's ini settings at this time So I had to change config.yml\r\n#session: ~\r\nsession:\r\n   storage_id: session.storage.php_bridge\r\n   handler_id: ~\r\nAnd finally I am getting an error code 1 and no tables installed, this is a pitty, I am trying to test this promising eshop framework ! I tried multiples times with or with -s dev, no way...\r\n\r\nHere are some log events I get :\r\n[2015-07-21 17:51:59] translation.WARNING: Translation not found. {\"id\":\"sylius.settings\",\"domain\":\"requirements\",\"locale\":\"en_US\"} []\r\n[2015-07-21 17:51:59] translation.DEBUG: Translation use fallback catalogue. {\"id\":\"sylius.settings.on\",\"domain\":\"requirements\",\"locale\":\"en_US\"} []\r\n[2015-07-21 17:51:59] translation.DEBUG: Translation use fallback catalogue. {\"id\":\"sylius.settings.off\",\"domain\":\"requirements\",\"locale\":\"en_US\"} []\r\n....... and the last ones before terminal terminated :\r\n[2015-07-21 17:51:59] php.DEBUG: \"Symfony\\Component\\Console\\Helper\\TableHelper\" is deprecated since version 2.5 and will be removed in 3.0. Use \"Symfony\\Component\\Console\\Helper\\Table\" instead. {\"type\":16384,\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperSet.php\",\"line\":86,\"level\":4352} []\r\n[2015-07-21 17:51:59] event.DEBUG: Notified event \"console.terminate\" to listener \"Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener::onTerminate\". [] []\r\n[2015-07-21 17:51:59] event.DEBUG: Notified event \"console.command\" to listener \"Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure\". [] []\r\n[2015-07-21 17:52:00] doctrine.DEBUG: SHOW DATABASES [] []\r\n[2015-07-21 17:52:00] php.DEBUG: \"Symfony\\Component\\Console\\Helper\\ProgressHelper\" is deprecated since version 2.5 and will be removed in 3.0. Use \"Symfony\\Component\\Console\\Helper\\ProgressBar\" instead. {\"type\":16384,\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Helper\\\\HelperSet.php\",\"line\":84,\"level\":4352} []\r\n[2015-07-21 17:52:00] event.DEBUG: Notified event \"console.command\" to listener \"Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure\". [] []\r\n[2015-07-21 17:52:00] event.DEBUG: Notified event \"console.terminate\" to listener \"Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener::onTerminate\". [] []\r\n[2015-07-21 17:52:00] event.DEBUG: Notified event \"console.terminate\" to listener \"Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener::onTerminate\". [] []\r\n[2015-07-21 17:52:00] event.DEBUG: Notified event \"console.terminate\" to listener \"Symfony\\Bundle\\SwiftmailerBundle\\EventListener\\EmailSenderListener::onTerminate\". [] []\r\n[2015-07-21 17:52:00] php.CRITICAL: Uncaught Exception: The command terminated with an error code: 1. {\"type\":1,\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\sylius\\\\sylius\\\\src\\\\Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\CommandExecutor.php\",\"line\":81,\"level\":16383,\"stack\":[{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\sylius\\\\sylius\\\\src\\\\Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\AbstractInstallCommand.php\",\"line\":122,\"function\":\"runCommand\",\"class\":\"Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\CommandExecutor\",\"type\":\"->\",\"args\":[\"doctrine:database:create\",[]]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\sylius\\\\sylius\\\\src\\\\Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallDatabaseCommand.php\",\"line\":50,\"function\":\"runCommands\",\"class\":\"Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\AbstractInstallCommand\",\"type\":\"->\",\"args\":[[\"doctrine:database:create\",\"doctrine:schema:create\",\"cache:clear\",\"doctrine:phpcr:repository:init\"],\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Command\\\\Command.php\",\"line\":259,\"function\":\"execute\",\"class\":\"Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallDatabaseCommand\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":886,\"function\":\"run\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Command\\\\Command\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":195,\"function\":\"doRunCommand\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallDatabaseCommand: {})\",\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Bundle\\\\FrameworkBundle\\\\Console\\\\Application.php\",\"line\":96,\"function\":\"doRun\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":126,\"function\":\"doRun\",\"class\":\"Symfony\\\\Bundle\\\\FrameworkBundle\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\sylius\\\\sylius\\\\src\\\\Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\CommandExecutor.php\",\"line\":74,\"function\":\"run\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput: \\\"sylius:install:database\\\" --no-debug=1 --env=dev)\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\sylius\\\\sylius\\\\src\\\\Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallCommand.php\",\"line\":48,\"function\":\"runCommand\",\"class\":\"Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\CommandExecutor\",\"type\":\"->\",\"args\":[\"sylius:install:database\",[],\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Command\\\\Command.php\",\"line\":259,\"function\":\"execute\",\"class\":\"Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallCommand\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":886,\"function\":\"run\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Command\\\\Command\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":195,\"function\":\"doRunCommand\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Sylius\\\\Bundle\\\\InstallerBundle\\\\Command\\\\InstallCommand: {})\",\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Bundle\\\\FrameworkBundle\\\\Console\\\\Application.php\",\"line\":96,\"function\":\"doRun\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\vendor\\\\symfony\\\\symfony\\\\src\\\\Symfony\\\\Component\\\\Console\\\\Application.php\",\"line\":126,\"function\":\"doRun\",\"class\":\"Symfony\\\\Bundle\\\\FrameworkBundle\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\",\"[object] (Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput: {})\"]},{\"file\":\"E:\\\\_projects\\\\symfony\\\\sylius-standard\\\\app\\\\console\",\"line\":17,\"function\":\"run\",\"class\":\"Symfony\\\\Component\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[\"[object] (Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput: \\\"sylius:install\\\")\"]}]} []\r\n\r\n\r\nAny idea on how I can install and try sylius please ?"},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/141886039","html_url":"https://github.com/Sylius/Sylius/issues/3071#issuecomment-141886039","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3071","id":141886039,"user":{"login":"jeroendesloovere","id":588616,"avatar_url":"https://avatars.githubusercontent.com/u/588616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroendesloovere","html_url":"https://github.com/jeroendesloovere","followers_url":"https://api.github.com/users/jeroendesloovere/followers","following_url":"https://api.github.com/users/jeroendesloovere/following{/other_user}","gists_url":"https://api.github.com/users/jeroendesloovere/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroendesloovere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroendesloovere/subscriptions","organizations_url":"https://api.github.com/users/jeroendesloovere/orgs","repos_url":"https://api.github.com/users/jeroendesloovere/repos","events_url":"https://api.github.com/users/jeroendesloovere/events{/privacy}","received_events_url":"https://api.github.com/users/jeroendesloovere/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T06:21:58Z","updated_at":"2015-09-21T06:21:58Z","body":"**Found a solution for MAC users with MAMP (PRO)**\r\n\r\nIn your ```app/config/config.yml``` add ```unix_socket```\r\n```yml\r\ndoctrine:\r\n    dbal:\r\n        driver:   %sylius.database.driver%\r\n        host:     %sylius.database.host%\r\n        port:     %sylius.database.port%\r\n        dbname:   %sylius.database.name%\r\n        user:     %sylius.database.user%\r\n        password: %sylius.database.password%\r\n        charset:  UTF8\r\n        unix_socket: \"%sylius.database.unix_socket%\" # only when using MAMP\r\n```\r\n\r\nAnd add ```sylius.database.unix_socket``` into your ```app/config/parameters.yml\r\n```yml\r\n# This file is auto-generated during the composer install\r\nparameters:\r\n    sylius.database.driver: pdo_mysql\r\n    sylius.database.host: localhost # by default MAMP uses localhost\r\n    sylius.database.port: 8888 # by default MAMP uses 8888\r\n    sylius.database.name: sylius # your own database name you've created in MAMP phpmyadmin\r\n    sylius.database.path: null\r\n    sylius.database.user: root\r\n    sylius.database.password: root # this is the default MAMP password\r\n    sylius.database.unix_socket: /Applications/MAMP/tmp/mysql/mysql.sock # only when using MAMP\r\n```"}}