Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need gliblocales installed on some systems #2415

Open
devSarry opened this issue Nov 17, 2024 · 0 comments
Open

Need gliblocales installed on some systems #2415

devSarry opened this issue Nov 17, 2024 · 0 comments
Labels
bug Something isn't working triage Issue needs triage

Comments

@devSarry
Copy link

What happened?

Using the laravel template redis fails to start with the error "Failed to configure LOCALE for invalid locale name."

I'm running in fedora 41 and I guess I'm missing that pacakge.

A fix that worked for me was adding it to my packages. I think it might be a good idea to add it to the template too.

modified packages

    "packages": {
        "php81Packages.composer": "latest",
        "php81Extensions.xdebug": "latest",
        "php": "8.1",
        "nodejs": "18",
        "redis": "latest",
        "mariadb": "11.4.4",
        "glibcLocales": {
            "version":   "latest",
            "platforms": ["x86_64-linux", "aarch64-linux"]
        }
    },

Steps to reproduce

  1. On Fedora 41
  2. devbox create --template laravel
  3. devbox services up

Command

services

devbox.json

{
  "packages": [
    "php81Packages.composer@latest",
    "php81Extensions.xdebug@latest",
    "[email protected]",
    "nodejs@18",
    "mariadb@latest",
    "redis@latest"
  ],
  "shell": {
    "init_hook": [],
    "scripts": {
      "create-project": [
        "composer create-project laravel/laravel tmp",
        "mv tmp/* tmp/.* ."
      ],
      "db:create": "mysql -u root -e 'CREATE DATABASE laravel;'",
      "db:migrate": "php artisan migrate",
      "db:mysql": "mysql -u root -D laravel_test",
      "serve:dev": "php artisan serve"
    }
  }
}

Devbox version

0.13.4

Nix version

2.24.7

What system does this bug occur on?

Linux (x86-64)

Debug logs

No response

@devSarry devSarry added bug Something isn't working triage Issue needs triage labels Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue needs triage
Development

No branches or pull requests

1 participant