G6K
G6K copied to clipboard
installation problème for G6K with few errors
Hello,
Please help me or suggest me what i can do.
I have an installation problème for G6K with few errors bellow. I do all the necessary prerequisites mentionned for symfony and g6k but the problème still there.
I do a copy past from the console bellow:
My server : Debian 10 Apache2 Php 7.3
Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires symfony/property-access ^4.3, found symfony/property-access[v4.3.0, ..., v4.4.30] but the package is fixed to v5.3.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 2 - Root composer.json requires symfony/property-info ^4.3, found symfony/property-info[v4.3.0, ..., v4.4.30] but the package is fixed to v5.3.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 3 - Root composer.json requires symfony/proxy-manager-bridge ^4.3, found symfony/proxy-manager-bridge[v4.3.0, ..., v4.4.27] but the package is fixed to v5.3.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 4 - Root composer.json requires symfony/serializer ^4.3, found symfony/serializer[v4.3.0, ..., v4.4.27] but the package is fixed to v5.3.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 5 - Root composer.json requires symfony/debug-bundle ^4.3, found symfony/debug-bundle[v4.3.0, ..., v4.4.27] but the package is fixed to v5.3.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 6 - Root composer.json requires symfony/stopwatch ^4.3, found symfony/stopwatch[v4.3.0, ..., v4.4.27] but the package is fixed to v5.3.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. Problem 7 - Root composer.json requires symfony/web-profiler-bundle ^4.3, found symfony/web-profiler-bundle[v4.3.0, ..., v4.4.28] but the package is fixed to v5.0.11 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
What's next?
Some files have been created and/or updated to configure your new packages. Please review, edit and commit them: these files are yours.
symfony/framework-bundle instructions:
-
Run your application:
- Go to the project directory
- Create your code repository with the git init command
- Download the Symfony CLI at https://symfony.com/download to install a development web server
-
Read the documentation at https://symfony.com/doc
doctrine/doctrine-bundle instructions:
-
Modify your DATABASE_URL config in .env
-
Configure the driver (postgresql) and server_version (13) in config/packages/doctrine.yaml
symfony/phpunit-bridge instructions:
- Write test cases in the tests/ folder
- Run php bin/phpunit
App\G6K\Composer\ScriptHandler::installUsers Installing the users of the administration interface Can't connect to database : could not find driver App\G6K\Composer\ScriptHandler::installDemo Would you like to install the demo simulator? [y/N] y Installing the demo simulator Script App\G6K\Composer\ScriptHandler::installDemo handling the g6k-scripts event terminated with an exception
[PDOException] could not find driver
I had the SAME problem too! I posted an issue a few minutes ago, but as I continued the installation, I had the same messages as you. With my php too. My php version is 8, which is higher than 7 obviously, but it just wouldn't take it. It says that it requires a version or upper; we have the upper version and it doesn't accept it...
Also I gave up for today, cause I've been trying for two days without success. I'll try again tomorrow, hoping the devs will reply by then
I installed G6k a few weeks ago (about 4 weeks ago ) without any problems. But now and for 3 days ago I can not install.
may be a recent bug.
Oh my god you succeeded? I might be the one with little braincells cause I read everywhere people succeeding without needing help, but me, appart from the version problem, I even had problem understanding the doc. I struggled for every bit of it. I thought I succeeded one time but my admin panel was showing a blank page, and an 'error connection' message was displaying in the dev console.