Toxantron / scrumonline

PHP web app for planning poker
https://www.scrumpoker.online
Apache License 2.0
399 stars 286 forks source link

PHP Fatal error: Uncaught RedisException: Connection refused #128

Closed DARL0K closed 4 years ago

DARL0K commented 4 years ago

I followed the installation guide, but on db creation step I have those errors. I can't find any info about redis in the documentation. nginx version: nginx/1.18.0 PHP 7.3 Ubuntu 18

`root@main:/var/www/html/scrum# ./vendor/bin/doctrine orm:generate-proxies PHP Fatal error: Uncaught RedisException: Connection refused in /var/www/html/s crum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php:137 Stack trace:

0 /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php(137) : Redis->connect('127.0.0.1')

1 /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php(70): Doctrine\ORM\Tools\Setup::createConfiguration(false, '/tmp', NULL)

2 /var/www/html/scrum/src/bootstrap.php(11): Doctrine\ORM\Tools\Setup::createAn notationMetadataConfiguration(Array)

3 /var/www/html/scrum/cli-config.php(3): require_once('/var/www/html/s...')

4 /var/www/html/scrum/vendor/doctrine/orm/bin/doctrine.php(48): require('/var/w ww/html/s...')

5 /var/www/html/scrum/vendor/doctrine/orm/bin/doctrine(4): include('/var/www/ht ml/s...')

6 {main}

thrown in /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup .php on line 137 root@main:/var/www/html/scrum# ./vendor/bin/doctrine orm:generate-proxies PHP Fatal error: Uncaught RedisException: Connection refused in /var/www/html/s crum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php:137 Stack trace:

0 /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php(137) : Redis->connect('127.0.0.1')

1 /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup.php(70): Doctrine\ORM\Tools\Setup::createConfiguration(false, '/tmp', NULL)

2 /var/www/html/scrum/src/bootstrap.php(11): Doctrine\ORM\Tools\Setup::createAn notationMetadataConfiguration(Array)

3 /var/www/html/scrum/cli-config.php(3): require_once('/var/www/html/s...')

4 /var/www/html/scrum/vendor/doctrine/orm/bin/doctrine.php(48): require('/var/w ww/html/s...')

5 /var/www/html/scrum/vendor/doctrine/orm/bin/doctrine(4): include('/var/www/ht ml/s...')

6 {main}

thrown in /var/www/html/scrum/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Setup .php on line 137 `

Toxantron commented 4 years ago

With connection refused I assume it's your database settings, that are incorrect. Check your config.php.

Toxantron commented 4 years ago

Any updates?

DARL0K commented 4 years ago

Sorry for the long answer. The DB settings are right, but I still receiving this error