voten-co / voten

The code that powers voten.co
https://voten.co
Apache License 2.0
1.26k stars 231 forks source link

i have installed on digital occean but getting error #337

Closed amirgee007 closed 6 years ago

amirgee007 commented 6 years ago

root@xabaar:/var/www/voten-laravel# php artisan cache:clear

Predis\Connection\ConnectionException : Connection refused [tcp://127.0.0.1:6379]

at /var/www/voten-laravel/vendor/predis/predis/src/Connection/AbstractConnection.php:155 151| */ 152| protected function onConnectionError($message, $code = null) 153| { 154| CommunicationException::handle(

155| new ConnectionException($this, static::createExceptionMessage($message), $code) 156| ); 157| } 158| 159| /**

Exception trace:

1 Predis\Connection\AbstractConnection::onConnectionError("Connection refused") /var/www/voten-laravel/vendor/predis/predis/src/Connection/StreamConnection.php:128

2 Predis\Connection\StreamConnection::createStreamSocket(Object(Predis\Connection\Parameters), "tcp://127.0.0.1:6379") /var/www/voten-laravel/vendor/predis/predis/src/Connection/StreamConnection.php:178

Please use the argument -v to see more details.

amirgee007 commented 6 years ago

Connection refused [tcp://127.0.0.1:6379] {"exception":"[object] (Predis\Connection\ConnectionException(code: 111): Connection refused [tcp://127.0.0.1:6379] at /var/www/voten-laravel/vendor/predis/predis/src/Connection/AbstractConnection.php:155)

amirgee007 commented 6 years ago

we must need to set it up on nignix i am using mysql apache right now?

saleh-old commented 6 years ago

Something's wrong with your Redis setup. Google it with "laravel" keyword. It's not Voten related.