macOS 10.15.1
ip: "192.168.10.10"
memory: 2048
cpus: 2
hostname: homestead-test
name: homestead-test
provider: virtualbox
features:
- mariadb: true
- python: true
- ohmyzsh: true
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/code
to: /home/vagrant/code
sites:
- map: homestead.test
to: /home/vagrant/code/public
databases:
- homestead
No errors
redis-cli can't connect
redis-cli connecting to local Redis
Same problem here. I get an exception when trying to access my app after the update:
LogicException: Please make sure the PHP Redis extension is installed and enabled.
With Predis, the Exception message is
Predis\Connection\ConnectionException : Connection refused [tcp://127.0.0.1:6379]
As mentioned before - it seems, that the redis service does not start automatically any more.
sudo service redis-server start
helped for me temporarily.
Please fix - thx!
The redis-server service does not start on boot and also, I think, the phpredis extension is not installed. Even after starting the service I sill get a Class 'Redis' not found exception.
The output for php -m does not include redis.
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_dblib
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Thanks for the report. Should have a new box Soonâ„¢
So verifying the box I just built, has the following extensions that are missing from your list:
```[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
enchant
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
imap
intl
json
ldap
libxml
mbstring
memcached
msgpack
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_dblib
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache```
Box https://github.com/laravel/settler/releases/tag/v9.1.0 has been released for Virtualbox. Other providers are being uploaded as soon as they're built.
I do have the same problem here while using the vagrant image for virtualbox 10.0.0-beta for laravel/homestead (https://app.vagrantup.com/laravel/boxes/homestead/versions/10.0.0-beta). Am I missing a crucial configuration step after upgrading (following the steps described at https://laravel.com/docs/7.x/homestead#updating-homestead)? I can start redis as described above by logging in to the shell, but it does not auto start.
OS:
MacOS 10.15.5
Versions:
It's a known issue that there seems to be a problem with redis in the Vagrant box 10.0.0-beta. I need to see if the previous PPA we were using supports focal.
Who can help me? How to redis service start automatically when i start homestead by command "vagrant up"
Same issue here, I upgrade this morning.
Thanks for the tips
If you want homestead's redis server to start automatically whenever homestead is up...
sudo systemctl enable redis-serverYou should only need to run this once.
If you want homestead's redis server to start automatically whenever homestead is up...
1. Log into homestead via ssh. 2. `sudo systemctl enable redis-server`You should only need to run this once.
No, you should use the new "Enable / Disable Services" syntax in Homestead.yaml https://laravel.com/docs/7.x/homestead#configuring-homestead
Most helpful comment
With Predis, the Exception message is
As mentioned before - it seems, that the redis service does not start automatically any more.
sudo service redis-server starthelped for me temporarily.
Please fix - thx!