Repository navigation
Releases
v2.2.2
What's New
Added
magebox config --json- Prints the resolved project configuration as JSON. Integrations no longer need to parse.magebox.yamland copy the MageBox merge and service rules to get connection details. Theconfigkey holds the merged configuration, with local overrides and included files. Thederivedkey 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.2.1
What's New
Fixed
magebox phpmyadmin openOpens 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.openin 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
/tmpPath - On Ubuntu releases that use packages.sury.org, bootstrap downloaded the keyring package to/tmp/magebox-sury-keyring.deband then installed it withsudo 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 -
hostandstore_codewere written unquoted into the nginx store map that every project shares. A value with a space, semicolon or brace closed themapblock and injected directives into thehttpcontext. Even a typo took nginx down for every project on the machine.magebox startandmagebox domain addnow 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.2.0
What's New
Changed
MAGE_RUN_CODEIs Only Sent When a Domain Names a Store - MageBox injectedMAGE_RUN_CODEandMAGE_RUN_TYPEinto every vhost, so Magento looked for a store with that exact code even in single-store projects whose default code is notdefault, instead of resolving the store itself. A domain now contributes those variables only when it setsstore_code, and one project can mix store and website codes. Thanks to Louis de Looze. (#109, #107)mage_run_codeandmage_run_typeRenamed tostore_codeandstore_type- The old names still work and print a deprecation warning onmagebox 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-typeonmagebox 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
mapfor the same variable withduplicate "MAGE_RUN_CODE" variable, which stops it serving every project on the machine. All projects now share one map file, rebuilt from every project onmagebox 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
hostnamesmode, so a deliberately code-lessadmin.mystore.testinherited the code ofmystore.test. Hosts are now matched exactly. - An Invalid
store_typePassed Silently - Anything other thanstoreorwebsitewas sent to Magento asMAGE_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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.1.2
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 bootstrapskipped the whole step whenever/etc/sudoers.d/mageboxalready 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 -
InstallPrerequisitesranapt updatefirst 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. Bothapt updatecalls are now warnings rather than failures, andadd-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 installexit 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 withdpkg --configure -abefore 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-cachedoes 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 everyphp8.1…php8.4package 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.pemon 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.CreateTempcreates as root-readable only, andcpkeeps that mode. systemd-resolved reads its configuration after dropping privileges, so it refused the drop-in with "Permission denied" at every restart and.testnames 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.
.testNames Failed Outright After a dnsmasq Fallback - The systemd-resolved drop-in that sends.testlookups to MageBox's dnsmasq is written before dnsmasq is known to work. When dnsmasq could not be started, bootstrap fell back to/etc/hostsbut left the drop-in in place, pointing every.testlookup 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
dpkgoperation 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-baseprovides 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.1.1
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.confandapt install -y blackfire*, so/etc/sudoers.d/mageboxfailed to parse entirely and every MageBox operation, includingsudo -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 withvisudobefore installing it and replaces an existing file that the local sudo rejects, so upgrading and re-runningmagebox bootstraprepairs 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.4packages 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 -tandnginx -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 previoussed -i *andln -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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.1.0
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 stopDid Not Free Ports 80/443 on macOS -global stopstopped 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 stopnow unloads the daemon and waits until port 80 is actually released, andmagebox global startloads it again. The plist stays installed, so nomagebox bootstrapis needed to get forwarding back, andmagebox global statusreports 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 — andmagebox global startgoes through the same reconciler asmagebox start, so an outdated daemon is upgraded instead of loaded as is. (#143, #108)bin/magentoFatals on MageOS 3.2.0 and Newer - Since MageOS 3.2.0 the shippedsetup/code referencesMageOS\Installer\Console\Command\InstallCommandfrom a class-constant array in Magento's command loader, so everybin/magentocall fatally errored without the matching psr-4 autoload root in the generatedcomposer.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 newoffers 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.0.1
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 dbCommands Failed with Exit 127 on MariaDB 11.x - Everydbsubcommand shelled out to a hardcodedmysql,mysqldumpormysqladmininside the database container, but MariaDB 11.0 removed those compatibility symlinks in favour ofmariadb,mariadb-dumpandmariadb-admin. On a project configured with MariaDB 11.x,db import,db export,db shell,db create,db drop,db reset,db topand bothdb snapshotcommands therefore failed with exit 127 and no useful message. Newdocker.DBClientBin/docker.DBDumpBinhelpers resolve the right binary from the configured database type and version, and every call site — including themagebox checkdatabase probe andinternal/project/lifecycle.go— now goes through them. MySQL and MariaDB 10.x are unaffected and keep using themysql*binaries. (#142)- Outdated Port Forwarding Daemon After a Binary Upgrade - Upgrading via Homebrew or
magebox selfupdatereplaces only the binary; the installed LaunchDaemon was upgraded exclusively bymagebox bootstrap, so users silently kept running an old daemon generation — including the removed pf-based approach — until they happened to run bootstrap again.EnsureRulesActivenow reconciles daemon state on everymagebox 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 purenextAction()function with table-driven tests. The misleadingsudo launchctl listhint — 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.goset the deprecatedPreferServerCipherSuitesfield (a no-op since Go 1.17, flagged by staticcheck) and was not gofmt-clean, breakingmake linton 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev2.0.0
What's New
Added
mysql-clientas a Managed Dependency - magerun2's database commands (db:info,db:dump, …) shell out tomysql/mysqldump, but MageBox never checked for them, so those commands failed with no useful explanation.magebox bootstrapnow detectsmysqldumpalongside Docker, Nginx and mkcert, includesmysql-clientin the missing-dependency prompt, and installs it per platform (mysql-clienton Homebrew,default-mysql-clienton Ubuntu/Debian,community-mysqlon Fedora,mariadb-clientson Arch). On macOS the formula is keg-only, so bootstrap prints the shell-specific line needed to put it onPATHand warns — without failing — whenmysqldumpis still missing afterwards.magebox checkreportsmysql-clientstatus 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: OpenSearch9200, Elasticsearch9500(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 largestmemoryany project asks for.GetOpenSearchPort/GetElasticsearchPortreturn the fixed ports and no longer take a version argument, and the version→port helpers were removed.status, service-name matching,magebox newandmagebox checkfollow 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, socatalogsearch_fulltextneeds 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 -
buildVCLConfigemitted one backend per registered project, but the template only ever referencesDefaultBackend. Varnish 7.x treats a defined-but-unused backend as a fatal compile error, so with two or more projects the sharedmagebox-varnishcontainer failed to compile its VCL and crash-looped, returning 502 on every request and recurring on eachmagebox start. Every generated backend was identical anyway, since Nginx already routes to the right project byHostheader, so the VCL now emits a singlemagentobackend. The health probe also usedHEAD /expecting301while Magento returns302, which marked the backend sick and returned 503; it now probesGET /health_check.phpexpecting200. Both the embedded template and thelib/templatescopy 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.19instead of the sharedmagebox-opensearchcontainer. - Order-Dependent Search Version Test -
TestComposeService_Elasticsearch_FixedPortAndVolumesresolved amajor.minorversion without the Docker Hub mock installed, so it queried the real API and cached the unresolved fallback in the package-level tag cache, intermittently failingTestResolveElasticsearchVersionon 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev1.19.1
What's New
Fixed
- Self-Healing Web-UI Commands -
phpmyadmin,elasticvue, andmailpitnow start their container on demand instead of dead-ending when it is stopped (which happens routinely after a Docker Desktop or machine restart).phpmyadmin openandelasticvue openstart the container when the service is enabled but stopped, then open the browser;mailpit openalways starts it (Mailpit is always on).phpmyadmin enableandelasticvue enableare 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 fullglobal start, no databases dragged in), and a clear message is shown when Docker itself is not running.statusnow points to the relevantopencommand. 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-updatev1.19.0
What's New
Added
- Configurable PHP-FPM Process Manager - Pool configs previously hardcoded
pm = dynamicwithpm.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 nextmagebox start. Apmblock can now be set in.magebox.yaml/.magebox.local.yaml, with a machine-widedefault_pmbaseline in~/.magebox/config.yaml. Precedence is project > global > built-in, merged key by key so a local override can tune a single value.ondemandis 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 onlymax_childrenscales 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
pmValues - The service documentation still listed 5/2/10/500 forstart_servers/min_spare_servers/max_spare_servers/max_requestsrather than the 8/4/12/1000 the code has been generating. (#133) - CI Failed on Fork Pull Requests - The
comment-artifactsjob requestspull-requests: write, but GitHub capsGITHUB_TOKENto read-only forpull_requestruns 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/mageboxmacOS (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/mageboxLinux (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/mageboxLinux (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/mageboxVerify Installation
magebox --versionUpdate Existing Installation
magebox self-update