laravel / homestead

MIT License
3.86k stars 1.45k forks source link

Problem in vagrant up with MariaDB #1705

Closed MrJmpl3 closed 3 years ago

MrJmpl3 commented 3 years ago

Versions

Host operating system

Windows 10

Homestead.yaml

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: "D:\\Documentos\\+MrJmpl3\\Proyectos\\Desarrollados\\laravel\\homestead\\ssh\\id_rsa.pub"

keys:
    - "D:\\Documentos\\+MrJmpl3\\Proyectos\\Desarrollados\\laravel\\homestead\\ssh\\id_rsa"

folders:
    - map: "D:\\Documentos\\+MrJmpl3\\Proyectos\\Desarrollados\\glen-soft\\wip--nuxtjs--frontend-recave-see-multi-company"
      to: /home/vagrant/glen-soft/nuxtjs--frontend-recave-see-multi-company

    - map: "D:\\Documentos\\+MrJmpl3\\Proyectos\\Desarrollados\\glen-soft\\wip--laravel--backend-recave-see-multi-company"
      to: /home/vagrant/glen-soft/laravel--backend-recave-see-multi-company

sites:      
    - map: recave-see-multi-company.test
      to: 3000
      type: proxy

    - map: api.recave-see-multi-company.test
      to: /home/vagrant/glen-soft/laravel--backend-recave-see-multi-company/public
      php: "8.0"

databases:
    - consultas-sunat
    - recave-see-single-company
    - recave-see-multi-company

features:
    - mysql: false
    - mariadb: true
    - postgresql: false
    - ohmyzsh: true
    - webdriver: false

#services:
#    - enabled:
#        - "postgresql@12-main"
#    - disabled:
#        - "postgresql@11-main"

ports:
    - send: 33060 # MySQL/MariaDB
      to: 3306
#    - send: 4040
#      to: 4040
#    - send: 54320 # PostgreSQL
#      to: 5432
#    - send: 8025 # Mailhog
#      to: 8025
#    - send: 9600
#      to: 9600
#    - send: 27017
#      to: 27017

Vagrant destroy & up output

https://gist.github.com/MrJmpl3/7a74f7bb74a2eb120601070ac522328c

Expected behavior

MariaDB

Actual behavior

MariaDB has error in the configuration, I think the problem is the command https://github.com/laravel/homestead/blob/release/scripts/features/mariadb.sh#L50, because that command override the default configuration

Steps to reproduce

Only run vagrant up

References

jeremy379 commented 3 years ago

I confirm the same issue on macOS

To make it work again and still being able to use Homestead with MariaDB I had to

MrJmpl3 commented 3 years ago

I confirm the same issue on macOS

To make it work again and still being able to use Homestead with MariaDB I had to

* rollback vagrant box to 11.3.0

* Switch back to the tags v12.3.2

To make MariaDB again, I execute all commands again of https://github.com/laravel/homestead/blob/release/scripts/features/mariadb.sh except the lines 50-56

svpernova09 commented 3 years ago

Wasn't able to replicate it, here's my full log: https://gist.github.com/svpernova09/1e77269db1108f6af343906d48e66b87

MrJmpl3 commented 3 years ago

Wasn't able to replicate it, here's my full log: https://gist.github.com/svpernova09/1e77269db1108f6af343906d48e66b87

Any ideas why it doesn't work with @jeremy379 and me? My virtualbox, vagrant and homestead box are up to date

Additional info:

I activate the "Symbolic Links On Windows": https://laravel.com/docs/8.x/homestead#symbolic-links-on-windows

svpernova09 commented 3 years ago

Wasn't able to replicate it, here's my full log: https://gist.github.com/svpernova09/1e77269db1108f6af343906d48e66b87

Any ideas why it doesn't work with @jeremy379 and me? My virtualbox, vagrant and homestead box are up to date

Additional info:

I activate the "Symbolic Links On Windows": https://laravel.com/docs/8.x/homestead#symbolic-links-on-windows

I'm honestly not sure, We have tons of issues with MariaDB just not being a stable install when you already have MySQL install. There's so much that can go wrong or be dependent on your internet stability. I'm just not sure.