Skip to content

Releases

v2.2.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 20:13

What's New

Added

  • magebox config --json - Prints the resolved project configuration as JSON. Integrations no longer need to parse .magebox.yaml and copy the MageBox merge and service rules to get connection details. The config key holds the merged configuration, with local overrides and included files. The derived key holds the database name and the database, cache, search and domain endpoints that MageBox uses. Standard output contains only the JSON. If MageBox cannot load the project configuration, the command exits with an error. The output can contain sensitive values, such as environment variables. (#165, #164)
  • Magento 2.4.6-p15, MageOS 4.0.0 and MageOS 3.6.0 - Added to the version registry. MageOS 4.0.0 is now the default MageOS version offered by magebox new. (#160, #166)

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.2/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.2/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.2/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.2/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 14:22

What's New

Fixed

  • magebox phpmyadmin open Opens the Project's Own Database - The shared phpMyAdmin container knew only one server: the default MySQL version, or another version chosen by map order. It opened the start page there, so a project on another MySQL or MariaDB version showed the wrong server and none of its own data. phpMyAdmin now lists every MySQL and MariaDB container as a server, in a fixed order with the default first. open in a project directory selects that project's server and database. If the running container does not know the project's database server yet, it is recreated first. (#163)

Security

  • Sury Keyring No Longer Downloaded to a Fixed /tmp Path - On Ubuntu releases that use packages.sury.org, bootstrap downloaded the keyring package to /tmp/magebox-sury-keyring.deb and then installed it with sudo dpkg -i. Another local user could create or replace that file first and have their own package installed as root. The package is now downloaded into a fresh directory only the current user can enter, and removed afterwards. Thanks to Akif Gumussu. (#161)
  • Domain Hosts and Store Codes Are Validated Before They Reach nginx - host and store_code were written unquoted into the nginx store map that every project shares. A value with a space, semicolon or brace closed the map block and injected directives into the http context. Even a typo took nginx down for every project on the machine. magebox start and magebox domain add now reject a host that is not a valid hostname, and a store code that does not follow Magento's own rule (letters, digits and underscores, starting with a letter). The store map also refuses to render an unsafe entry. Thanks to Akif Gumussu. (#162)

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.1/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.1/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.1/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.1/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 13:59

What's New

Changed

  • MAGE_RUN_CODE Is Only Sent When a Domain Names a Store - MageBox injected MAGE_RUN_CODE and MAGE_RUN_TYPE into every vhost, so Magento looked for a store with that exact code even in single-store projects whose default code is not default, instead of resolving the store itself. A domain now contributes those variables only when it sets store_code, and one project can mix store and website codes. Thanks to Louis de Looze. (#109, #107)
  • mage_run_code and mage_run_type Renamed to store_code and store_type - The old names still work and print a deprecation warning on magebox start, because the config loader ignores unknown keys and a project written for an older release would otherwise lose its store codes silently and serve the wrong store.

Added

  • --store-type on magebox domain add - Declares whether a code names a store view or a website.

Fixed

  • A Second Multistore Project Would Have Stopped nginx Entirely - The store map was written per project into the shared vhosts directory, and nginx rejects a second map for the same variable with duplicate "MAGE_RUN_CODE" variable, which stops it serving every project on the machine. All projects now share one map file, rebuilt from every project on magebox start, and the per-project files an earlier build left behind are removed.
  • Store Codes Leaked into Subdomains - The map matched with a leading dot in nginx's hostnames mode, so a deliberately code-less admin.mystore.test inherited the code of mystore.test. Hosts are now matched exactly.
  • An Invalid store_type Passed Silently - Anything other than store or website was sent to Magento as MAGE_RUN_TYPE. A typo now fails validation.

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.0/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.0/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.0/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.2.0/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.1.2

Choose a tag to compare

@github-actions github-actions released this 24 Sep 06:33

What's New

Fixed

  • PHP 8.1 to 8.4 Still Could Not Be Installed on Ubuntu 26.04 - 2.1.1 pinned Ondrej Sury's PPA to the newest suite it publishes. That makes apt work but offers packages depending on library versions (libxml2, libicu74, libzip4t64) that 26.04 no longer ships, so every install failed on unsatisfiable dependencies. The PPA is being merged into packages.sury.org, which does publish for 26.04. Bootstrap now picks the repository that covers the running release, and warns plainly when none does.
  • Bootstrap Never Repaired a Broken Sudoers File - 2.1.1 generates valid rules, but magebox bootstrap skipped the whole step whenever /etc/sudoers.d/magebox already existed, so every machine upgrading from an older release kept its rejected wildcard rules and nothing improved. The step now always runs; the installer decides whether a rewrite is needed and leaves a correct file alone.
  • Bootstrap Aborted Before It Could Fix the PHP Repository - InstallPrerequisites ran apt update first and returned on any error. A PPA with no packages for the running release makes apt exit 100, so bootstrap gave up before reaching the code that repairs exactly that repository. Both apt update calls are now warnings rather than failures, and add-apt-repository's own exit code is ignored for the same reason.
  • One Missing Certificate Took Every Site Offline - nginx refuses to start when a vhost references a certificate that is not on disk, so a single stale project stopped every other one. Bootstrap now checks the certificates every vhost references, regenerates the missing ones it manages, and names the file to remove for any it does not.
  • "Docker Is Not Running" When Docker Was Running - A permission error on the Docker socket was reported as a stopped daemon, sending users to restart something that was already up. Bootstrap now distinguishes the two and, for the permission case, prints the command that adds the user to the docker group.
  • One Half-Configured Package Blocked Every Install - A package left half-configured by an earlier failure makes apt install exit 100 whatever it is asked for. Bootstrap treated that as fatal while installing its base tools, so it never reached the repository configuration that would have made PHP installable, and every PHP version was then reported as unavailable. Bootstrap now finishes configuring broken packages with dpkg --configure -a before installing, and a failure to install base tools is a warning rather than the end of the run.
  • Every PHP Version Skipped Because apt Could Not Read a Source File - MageBox filters out packages apt-cache does not know, but apt returns the same empty answer whether a package is missing or a sources file could not be read. A repository file MageBox itself wrote root-only therefore made every php8.1 … php8.4 package look unavailable, so bootstrap silently installed none and reported success. The check now treats a permission warning as "cannot tell" and lets apt decide, so an install either works or fails with a message worth reading.
  • "Local CA Already Installed" While Browsers Trusted a Different One - The check only looked for rootCA.pem on disk, so on a machine restored from another install MageBox reported the certificate authority as installed while the browser still trusted the old one, and every local HTTPS site warned. Bootstrap now compares the authority's serial against the browser trust store and reinstalls it when they differ.
  • systemd-resolved Silently Ignored MageBox's Configuration - MageBox writes config through a temp file, which os.CreateTemp creates as root-readable only, and cp keeps that mode. systemd-resolved reads its configuration after dropping privileges, so it refused the drop-in with "Permission denied" at every restart and .test names never resolved, while MageBox reported DNS as configured. Config files are now written world-readable, and callers that need something stricter, such as sudoers, still set their own mode.
  • Bootstrap Reported Working DNS When Only dnsmasq Answered - The check queried dnsmasq directly, which proves dnsmasq works and nothing else. Everything on the machine goes through the system resolver, so browsers and curl kept failing after a "resolves" line. Bootstrap now checks the system resolver too, and says which of the two answered.
  • .test Names Failed Outright After a dnsmasq Fallback - The systemd-resolved drop-in that sends .test lookups to MageBox's dnsmasq is written before dnsmasq is known to work. When dnsmasq could not be started, bootstrap fell back to /etc/hosts but left the drop-in in place, pointing every .test lookup at a resolver that was not running, so names failed instead of falling through to the hosts file. The fallback now removes the drop-in and restarts systemd-resolved.
  • Bootstrap Ran as Root Broke the Machine - Run with sudo, bootstrap built the whole environment under /root: the config, the certificate authority, PHP-FPM pools and an nginx include pointing into a directory nginx cannot read, which stopped nginx from starting at all. Bootstrap now refuses to run as root and says to run it as the normal user, which asks for a password where it needs one.
  • php-fpm.conf Accumulated Includes Until PHP-FPM Would Not Start - Every bootstrap run appended another MageBox pools include. Duplicates define the same pool twice, and an include left by a run under another user matches nothing; either stops PHP-FPM from starting, and a PHP-FPM that cannot start makes every later dpkg operation on the package fail, which cascaded into failed Blackfire and dnsmasq installs. Bootstrap now rewrites the file to hold exactly one include, dropping duplicates and includes naming another user's home.
  • dnsmasq Reported as Installed When Only the Library Was - Ubuntu's dnsmasq-base provides the binary without a systemd unit, so MageBox skipped the install and then failed to start the service with a bare exit code. Installation now also requires the service unit on systemd machines.

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.2/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.2/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.2/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.2/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 17:17

What's New

Fixed

  • Passwordless Sudo Broken on Ubuntu 26.04 - Ubuntu 26.04 ships sudo-rs, which refuses to parse wildcards in command arguments. MageBox wrote rules such as systemctl start php*-fpm, cp /tmp/magebox-* /etc/nginx/nginx.conf and apt install -y blackfire*, so /etc/sudoers.d/magebox failed to parse entirely and every MageBox operation, including sudo -s, printed parse errors and asked for a password. Rules are now generated as complete commands, one line per PHP version and action, and are identical whether they come from the Go installers or the YAML installer definitions. Bootstrap validates the file with visudo before installing it and replaces an existing file that the local sudo rejects, so upgrading and re-running magebox bootstrap repairs a broken system.
  • PHP 8.1 to 8.4 Could Not Be Installed on Ubuntu 26.04 - Ondrej Sury's PPA publishes nothing for Ubuntu releases it has not caught up with, so on 26.04 apt had no php8.1 … php8.4 packages and only Ubuntu's own PHP 8.5 could be installed. Bootstrap now checks which suites the PPA publishes, pins the newest one available, and says so. Packages built for the previous release normally install cleanly; a version that fails is reported and bootstrap continues.

Changed

  • Ubuntu 26.04 is recognised as a supported release - It no longer triggers the "not officially tested" warning.
  • Passwordless sudo is limited to service control - Only starting, stopping, reloading and restarting nginx, PHP-FPM and the Blackfire agent, plus nginx -t and nginx -s reload, run without a password. Commands that run during bootstrap or an explicit install ask for one, as do Xdebug and Blackfire configuration edits. This also removes the previous sed -i * and ln -s * rules, which allowed arbitrary arguments and amounted to unrestricted root for the MageBox user.

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.1/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.1/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.1/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.1/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 19:40

What's New

Added

  • Magento 2.4.7-p10, MageOS 3.5.0 and MageOS 3.2.0 - Added to the version registry. MageOS 3.5.0 is now the default MageOS version offered by magebox new. (#148, #145)

Fixed

  • magebox global stop Did Not Free Ports 80/443 on macOS - global stop stopped Nginx and the Docker services but left the port forwarding LaunchDaemon (com.magebox.portforward) loaded, so ports 80 and 443 stayed occupied and other local dev tools failed to bind them. magebox global stop now unloads the daemon and waits until port 80 is actually released, and magebox global start loads it again. The plist stays installed, so no magebox bootstrap is needed to get forwarding back, and magebox global status reports the port forwarding state on macOS. Both commands prompt for sudo on macOS, which is now documented in the command reference, the FAQ and the testing matrix. A stop is reported as successful once the daemon is gone, even if an unrelated local service has meanwhile taken port 80 — handing the ports back is all the command promises — and magebox global start goes through the same reconciler as magebox start, so an outdated daemon is upgraded instead of loaded as is. (#143, #108)
  • bin/magento Fatals on MageOS 3.2.0 and Newer - Since MageOS 3.2.0 the shipped setup/ code references MageOS\Installer\Console\Command\InstallCommand from a class-constant array in Magento's command loader, so every bin/magento call fatally errored without the matching psr-4 autoload root in the generated composer.json. The root is now added, and a test guards the autoload roots against drift from the upstream MageOS project template. Thanks to Peter Jaap Blaakmeer.
  • Wrong PHP Versions Offered for MageOS 3.x - Every MageOS 3.x entry in the version registry advertised PHP 8.2 and omitted PHP 8.5, while upstream requires PHP 8.3, 8.4 or 8.5 for 3.2.0 through 3.5.0. magebox new offers that list, so it steered people onto a PHP version the install cannot run on and hid a supported one. Tests now guard the advertised versions against upstream drift, and the embedded and shipped copies of the registry against diverging.

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.0/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.0/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.0/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.1.0/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 01 Sep 09:21

What's New

Added

  • Magento 2.4.8-p5 and MageOS 3.4.0 - Added to the version registry; MageOS 3.4.0 is now the default MageOS version. (#137)

Fixed

  • magebox db Commands Failed with Exit 127 on MariaDB 11.x - Every db subcommand shelled out to a hardcoded mysql, mysqldump or mysqladmin inside the database container, but MariaDB 11.0 removed those compatibility symlinks in favour of mariadb, mariadb-dump and mariadb-admin. On a project configured with MariaDB 11.x, db import, db export, db shell, db create, db drop, db reset, db top and both db snapshot commands therefore failed with exit 127 and no useful message. New docker.DBClientBin/docker.DBDumpBin helpers resolve the right binary from the configured database type and version, and every call site — including the magebox check database probe and internal/project/lifecycle.go — now goes through them. MySQL and MariaDB 10.x are unaffected and keep using the mysql* binaries. (#142)
  • Outdated Port Forwarding Daemon After a Binary Upgrade - Upgrading via Homebrew or magebox selfupdate replaces only the binary; the installed LaunchDaemon was upgraded exclusively by magebox bootstrap, so users silently kept running an old daemon generation — including the removed pf-based approach — until they happened to run bootstrap again. EnsureRulesActive now reconciles daemon state on every magebox start: a daemon missing the current plist version marker is reinstalled, an inactive one is kickstarted, and an installed, current, responding daemon is left alone. The decision logic lives in a pure nextAction() function with table-driven tests. The misleading sudo launchctl list hint — which shows the job even when it does nothing useful — was replaced with the kickstart command that actually restarts it, and the FAQ entries that still described the removed pf anchor mechanism were updated. (#138)
  • Team Server TLS Config Failed Lint and gofmt - internal/teamserver/server.go set the deprecated PreferServerCipherSuites field (a no-op since Go 1.17, flagged by staticcheck) and was not gofmt-clean, breaking make lint on main. (#140, #141)

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.1/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.1/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.1/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.1/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 13:22

What's New

Added

  • mysql-client as a Managed Dependency - magerun2's database commands (db:info, db:dump, …) shell out to mysql/mysqldump, but MageBox never checked for them, so those commands failed with no useful explanation. magebox bootstrap now detects mysqldump alongside Docker, Nginx and mkcert, includes mysql-client in the missing-dependency prompt, and installs it per platform (mysql-client on Homebrew, default-mysql-client on Ubuntu/Debian, community-mysql on Fedora, mariadb-clients on Arch). On macOS the formula is keg-only, so bootstrap prints the shell-specific line needed to put it on PATH and warns — without failing — when mysqldump is still missing afterwards. magebox check reports mysql-client status in its magerun2 section and surfaces the install command. (#114)
  • Magento 2.4.9 and MageOS 3.3.0 - Added to the version registry. (#135)

Changed

  • BREAKING: One Shared Search Container Per Engine - The global compose file was generated per search version, so each requested version got its own container, container name, volumes, and version-derived host port (OpenSearch 2.19 → 9259, Elasticsearch 7.17 → 9657). A machine running several projects on different versions therefore ran several search containers, each holding its own JVM heap. MageBox now runs at most one OpenSearch and one Elasticsearch container for the whole machine, shared across every project, on fixed host ports: OpenSearch 9200, Elasticsearch 9500 (distinct so both engines can run simultaneously). Service names (opensearch/elasticsearch), container names (magebox-opensearch/magebox-elasticsearch) and volumes (opensearch_data, opensearch_plugins, …) lost their version suffix. When projects request different versions, the version from global config wins, otherwise the highest requested version is used; the container is provisioned with the largest memory any project asks for. GetOpenSearchPort/GetElasticsearchPort return the fixed ports and no longer take a version argument, and the version→port helpers were removed. status, service-name matching, magebox new and magebox check follow the fixed names and ports. (#129)

    Upgrading: projects configured against a version-derived port must be repointed to 9200/9500, and the new container starts on a fresh volume, so catalogsearch_fulltext needs a reindex. The old per-version containers and volumes are orphaned and can be removed. See Upgrading from MageBox 1.x for the full procedure. Only rebuildable search indices are affected — no persistent data is lost.

Fixed

  • Varnish Crash-Looped with Multiple Projects - buildVCLConfig emitted one backend per registered project, but the template only ever references DefaultBackend. Varnish 7.x treats a defined-but-unused backend as a fatal compile error, so with two or more projects the shared magebox-varnish container failed to compile its VCL and crash-looped, returning 502 on every request and recurring on each magebox start. Every generated backend was identical anyway, since Nginx already routes to the right project by Host header, so the VCL now emits a single magento backend. The health probe also used HEAD / expecting 301 while Magento returns 302, which marked the backend sick and returned 503; it now probes GET /health_check.php expecting 200. Both the embedded template and the lib/templates copy are fixed — the previous attempt patched only the latter, which is not the one rendered at runtime. (#131)
  • Stale Container Names in OpenSearch Service Docs - The troubleshooting and container-logs examples still referenced magebox-opensearch-2.19 instead of the shared magebox-opensearch container.
  • Order-Dependent Search Version Test - TestComposeService_Elasticsearch_FixedPortAndVolumes resolved a major.minor version without the Docker Hub mock installed, so it queried the real API and cached the unresolved fallback in the package-level tag cache, intermittently failing TestResolveElasticsearchVersion on CI depending on test order.

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.0/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.0/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.0/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v2.0.0/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v1.19.1

Choose a tag to compare

@github-actions github-actions released this 07 Aug 10:51

What's New

Fixed

  • Self-Healing Web-UI Commands - phpmyadmin, elasticvue, and mailpit now start their container on demand instead of dead-ending when it is stopped (which happens routinely after a Docker Desktop or machine restart). phpmyadmin open and elasticvue open start the container when the service is enabled but stopped, then open the browser; mailpit open always starts it (Mailpit is always on). phpmyadmin enable and elasticvue enable are now idempotent — when already enabled but stopped, they restart the container instead of printing "already enabled" and doing nothing. Only the requested UI container is started (no full global start, no databases dragged in), and a clear message is shown when Docker itself is not running. status now points to the relevant open command. Shared helpers (isContainerRunning, openInBrowser, ensureGlobalServiceRunning, decideServiceUI) de-duplicate the logic across the three commands. (#128)

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.1/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.1/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.1/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.1/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update

v1.19.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 10:34

What's New

Added

  • Configurable PHP-FPM Process Manager - Pool configs previously hardcoded pm = dynamic with pm.max_children = 50, sized as if each pool had the machine to itself; on a host running several projects those defaults collectively oversubscribe it, and hand-edited pool files were overwritten on the next magebox start. A pm block can now be set in .magebox.yaml / .magebox.local.yaml, with a machine-wide default_pm baseline in ~/.magebox/config.yaml. Precedence is project > global > built-in, merged key by key so a local override can tune a single value. ondemand is the notable addition for multi-project machines: dormant projects start no workers at all. Only the directives valid for the selected mode are written, and values are validated before the pool file is written — a single malformed pool prevents the FPM master from starting, taking down every project on that PHP version. Lowering only max_children scales the untouched spare-server defaults down to fit rather than erroring. Defaults are unchanged, so existing installs render byte-identical pool files. (#133)

Fixed

  • PHP-FPM Service Docs Showed Stale pm Values - The service documentation still listed 5/2/10/500 for start_servers/min_spare_servers/max_spare_servers/max_requests rather than the 8/4/12/1000 the code has been generating. (#133)
  • CI Failed on Fork Pull Requests - The comment-artifacts job requests pull-requests: write, but GitHub caps GITHUB_TOKEN to read-only for pull_request runs originating from a fork, so posting the artifact comment failed with a 403 and marked the whole run as failed even when every build, test and lint job passed. This had broken every fork PR since the job was added. The job is now gated on the PR originating from this repository; PRs from branches in this repository keep their artifact comment. (#134)

Installation

macOS (Apple Silicon):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.0/magebox-darwin-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

macOS (Intel):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.0/magebox-darwin-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (x86_64):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.0/magebox-linux-amd64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Linux (ARM64):

curl -L https://github.com/qoliber/magebox/releases/download/v1.19.0/magebox-linux-arm64 -o /usr/local/bin/magebox
chmod +x /usr/local/bin/magebox

Verify Installation

magebox --version

Update Existing Installation

magebox self-update