Skip to content

Commit

Permalink
[v1.6.0] update vm to debian buster
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Calef committed Jul 11, 2022
2 parents d946683 + a927670 commit 766fe7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fast Virtual Machine for Magento2

[![vagrant](https://img.shields.io/badge/vagrant-debian:bullseye-blue.svg?longCache=true&style=flat-square&label=vagrant&logo=vagrant)](https://app.vagrantup.com/geerlingguy/boxes/debian11)
[![vagrant](https://img.shields.io/badge/vagrant-debian:bullseye-blue.svg?longCache=true&style=flat-square&label=vagrant&logo=vagrant)](https://app.vagrantup.com/geerlingguy/boxes/debian10)
[![install-git](https://img.shields.io/badge/git-blue.svg?longCache=true&style=flat-square&label=setup&logo=git)](https://github.com/zepgram/magento2-fast-vm/blob/master/config.yaml.example)
[![install-composer](https://img.shields.io/badge/composer-blue.svg?longCache=true&style=flat-square&label=setup&logo=composer)](https://github.com/zepgram/magento2-fast-vm/blob/master/config.yaml.example)
[![mount](https://img.shields.io/badge/nfs/rsync-blue.svg?longCache=true&style=flat-square&label=mount)](https://github.com/zepgram/magento2-fast-vm/releases)
Expand Down Expand Up @@ -222,13 +222,6 @@ Otherwise, you can also completely disable elasticsearch by installing this modu

## Issues

### Linux
On version 1.6.0, I updated the machine to debian 11 bullseye, since I personally got this error:
```shell
mount.nfs: Connection timed out
```
Just fall back to default mount to avoid this issue, if you have any information about this issue please let me know.

### Windows 10
There is a known [issue with composer installation](https://github.com/zepgram/magento2-fast-vm/issues/70) on windows 10.<br>
This issue could not be solved yet, and has already been reported 2 times.<br>
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ end
# Vagrant configure
Vagrant.configure(2) do |config|
# Virtual machine
config.vm.box = 'geerlingguy/debian11'
config.vm.box = 'geerlingguy/debian10'

# Host manager configuration
config.vm.define vmconf['host_name']
Expand Down
2 changes: 1 addition & 1 deletion provision/020-system-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ rm -rf /home/vagrant/ssl && cd /home/vagrant

# Nginx
perl -ne 'if ( m|\#location.*php\$ \{| .. m|^\s*#\}| ) { s/#//g; } print' -i /etc/nginx/sites-available/default
sed -i "s|fastcgi_pass unix:/var/run/php/.*|fastcgi_pass unix:/var/run/php/php${PROJECT_PHP_VERSION}-fpm.sock;|" /etc/nginx/sites-available/default
sed -i "s|fastcgi_pass unix:/run/php/.*|fastcgi_pass unix:/run/php/php${PROJECT_PHP_VERSION}-fpm.sock;|" /etc/nginx/sites-available/default
sed -i "s/With php-.*//" /etc/nginx/sites-available/default
sed -i "s/fastcgi_pass 127.0.0.1:9000;//" /etc/nginx/sites-available/default
sed -i 's/index index.html index.htm index.nginx-debian.html;/index index.php index.html index.htm index.nginx-debian.html;/' /etc/nginx/sites-available/default
Expand Down

0 comments on commit 766fe7b

Please sign in to comment.