Repository navigation
Releases
Releases · marixdev/mini-panel
Mini Panel v1.2.7
Added
- Malware scan (YARA). A new section on the Security page looks through the PHP and JavaScript files of every website for the shapes of webshells and backdoors (eval of decoded payloads, commands taken from the request, known webshells, shells and miners in Node.js). It installs
yarawhen turned on, scans every night at the lowest priority (a quarter of one core, idle disk), skipsnode_modules,vendorand files over 2 MB, and reads again only files that are new or changed. It only reports: nothing is deleted or changed, and a finding can be set aside.mpn scan status|enable|disable|run|ignoredoes the same from SSH. - PostgreSQL. The Services page installs PostgreSQL from the PGDG repositories in the major version you choose, beside MariaDB or MySQL. A new database says which server it lives on; this cannot be changed later. The server listens on the loopback addresses only and takes SCRAM passwords. Backups dump and restore PostgreSQL databases with
pg_dumpandpsql. - Adminer for PostgreSQL. The Adminer button on a website's Databases tab opens Adminer 6.3.2 signed in with a temporary role for that one database, which expires after 30 minutes or at sign-out. Adminer's own login form is off. It uses the Mini Panel theme, also used for phpMyAdmin (which gets it with a light and dark switch too), with the Mini Panel mark and a light and dark switch.
- phpMyAdmin in the Harbor theme. phpMyAdmin has a new look made for the panel (Harbor: blue and ink with an orange accent, a dark side tree, flat tables and forms, Lucide icons, Geist type served by the panel itself) with a light and dark switch at the top right, which remembers the choice in the browser. phpMyAdmin has no remove button: it goes with the database server.
mpn panel migratealso writes the theme again when the panel is already up to date.mpn panel migrateinstalls it on existing servers. - Redis and Memcached per website. The Services page installs the programs; each website turns on its own server on its Overview tab, run as the website's account on a socket only that website can open, with the memory you choose (16 to 2048 MB). The memory counts against the share of background services.
- Uninstall. Settings and
mpn uninstall -mode backup|allremove the panel and everything it installed. In backup mode every website is backed up to/root/mpn-backups-<time>first, and a failed backup stops the uninstall before anything is deleted.
Changed
- PHP 7.3 and older can be installed on a machine with MySQL 8. The install turns on the old password plugin of MySQL (in
99-mpn_legacy.cnf) and restarts MySQL; if MySQL does not start with it, the file is taken away and MySQL is started again. Database users made before that keep the stronger login: set their password again on the Databases tab (ormpn db passwd), which moves them to the old plugin. The Services page says so above the PHP versions. - From a tablet up, the main menu wraps to a second row instead of hiding links past the right edge.
- From a tablet up, the footer stays at the bottom of the screen while the page scrolls, as the header stays at the top. The new-release notice sits above it.
Full Changelog: v1.2.6...v1.2.7
Mini Panel v1.2.6
Added
- Sign in to storage through the browser. Dropbox, OneDrive, Box, pCloud, Google Drive (rclone token) and the other storage that signs in through a browser no longer need
rclone authorizeon your own computer. The Backups tab shows a sign-in link; after you allow access, paste the address (or the code) the storage gives back and the panel connects and tests it. "Use your own app" takes your own client ID and secret, which is better than the app every rclone user shares. A token made withrclone authorizecan still be pasted. A sign-in left half-done can be cancelled and expires by itself. - Backups kept on this server. With off-site copying on, the Backups tab has a second number, Kept on this server, from 0 to the number kept in the storage. Backups beyond it are deleted from the server once the copy of each one in the storage is checked in full; one that cannot be checked stays. Saving the number starts a copy at once, so the older backups go within minutes and not at the next night.
mpn backup local -site NAME -n 2 -applydoes the same over SSH. - Memory share of background services. All background services of all websites together may use at most 40% of the server's memory (
mpn bg limit -percent 10..90changes it), so the database and the websites keep the rest. A service without a limit of its own gets a quarter of that share, and the Background tab shows it as "(default)".
Changed
- The installer at
mpanel.biz/install.shtrustsSHA256SUMSonly after its minisign signature is checked with the release key, withopenssland nothing downloaded. A missing or wrong signature stops the install and nothing is installed; there is no fallback to the checksum alone. - The Backups tab shows the two numbers as rows with the field and the Save button on the right.
Upgrade notes
- Existing background services keep their unit files until they are written again. Run
mpn bg sync -allonce after updating (or change a service in the Background tab) so that those without a limit get the default of the share above.
Full Changelog: v1.2.5...v1.2.6
Mini Panel v1.2.5
Added
- Site users. The administrator can make accounts that reach only chosen websites, each with a role: view sees a website's pages, files, backups and activity; manage also changes files, databases, cron jobs, background services, WordPress and email; full also changes SSL, the vhost, SSH and the terminal, and restores backups. Users and access (
/users) creates them, sets their websites and roles, resets a password, disables, removes or turns off 2FA. Pages and buttons a user cannot use are hidden, and the panel refuses the request anyway. A site user has their own 2FA and changes their own password in Settings; the server's settings stay the administrator's. phpMyAdmin is open to a site user only when the administrator allows it and the user can manage the website that owns the database; a phpMyAdmin window already open keeps working until its temporary database user expires, 30 minutes after it was opened. Activity shows a site user only the events of their websites.mpn web user-off NAMEdisables one from SSH. - Background services. A PHP, Node.js or Python website can run up to 10 long-running commands of its own, such as a queue worker or a bot, as systemd services under the site's account (Background tab, or
mpn bg). Each can be turned on and off, restarted and given a memory limit, and the tab shows whether it is running. They are written again when the site's PHP, Node.js or Python version changes, and removed with the site.mpn bg sync -site NAME(or-all) writes every service again from the database and removes what is left over. - Rescue menu.
sudo mpnat a terminal shows the commands for getting back in: reset the admin password, turn off 2FA, disable a site user, make a new setup link, turn off the panel's certificate, show or cancel a port change, unban an address, turn the firewall off, and restart the panel. Each asks before it changes anything and prints the command it runs. In a script or a pipe,mpnprints its usage as before.
Full Changelog: v1.2.4...v1.2.5
Mini Panel v1.2.4
Added
- Update notices. The panel looks for a new release by itself, 30 seconds after it starts and then every 6 hours, and keeps what it found across restarts. When one exists, the Update page shows the changelog of every release after the one that runs, in the panel's language, with a button that installs it; every other page shows a notice in the lower right corner that leads there. Once the program runs the release, the notice goes away. The × on the notice hides it in that browser until the next release. "Check now" asks GitHub at once.
- PHP 5.6, for old sites that cannot move yet. On Debian and Ubuntu it comes from Sury (
php5.6-*, which Sury still patches); on AlmaLinux, Rocky Linux and CentOS Stream 9 and 10 from mpn-packages, built with OpenSSL 1.0.2u linked in privately. It has mysqli, PDO and the oldmysql_*functions, opcache, gd, curl, mbstring, xml and zip. PHP itself has made no security fix for 5.6 since January 2019: use it only for a site that cannot run on 7.4 or newer. - Database remote access. A database can be reached from chosen addresses on port 3306 (Databases › Remote access). The server listens on every address only while some database allows one; the firewall opens 3306 to those addresses alone, and the user made for them has the rights on that database only. Changing the password changes it for every address.
mpn db remotedoes the same from SSH. - Database server settings. Services › Database › Settings changes
max_connections, the buffer pool, the packet size, timeouts and a few other values, each within a checked range. The server is restarted with the new file; when it does not start, the previous file is put back and the server started with it. - SSL through Cloudflare DNS. A site behind the Cloudflare proxy (orange cloud), or a name that does not point here yet, can get its certificate with a TXT record: give an API token with Zone:Read and DNS:Edit on the SSL tab. The token is kept for the renewals, readable by root only.
- Remember this browser. The sign-in page can keep a browser signed in for 30 days. Sign-ins now outlive a restart or an update of the panel. Settings shows how many browsers are signed in and signs out all the others; a new password signs out every browser,
mpn web passwdincluded. - Number of backups kept. The Backups tab of a website sets how many backups are kept, from 1 to 365 (7 until it is changed). The nightly backup, a backup made by hand and the copy to the storage all keep that many; a smaller number deletes the older backups of the site at once.
mpn backup keep -site NAME -n 3 -applydoes the same over SSH.
Fixed
- The install stopped at the swap step with "fallocate failed: Text file busy" on machines whose provider made a
/swapfileand already uses it. The swap already there is now kept, and what is missing goes into a file of its own,/swapfile-mpn. On a filesystem without fallocate the file is written with dd. - Renewing a certificate failed for a site behind Cloudflare in "Full" mode with "Always use HTTPS": the authority follows the redirect to https, where the site sent every path, the challenge included, elsewhere. The https server now answers
/.well-known/acme-challenge/itself, and the check before a request follows redirects on the same name as Let's Encrypt does. - The phpBB installer broke at the end with "The ../styles/prosilver/template directory does not exist": the panel removed
/install/as soon as an administrator existed, while the installer was still running from it. It now waits until the installer has finished. - In the file editor, Ctrl+A outside the text and copying from a menu took only the lines on screen. They now take the whole file.
Upgrade notes
- The first look for a release is made 30 seconds after the panel starts; until then the Update page says it has not looked yet.
Full Changelog: v1.2.3...v1.2.4
Mini Panel v1.2.3
Added
- Activity log. A new Activity page records what was done through the panel: sign-ins, websites, files, databases, SSL, backups, the firewall and security, with the time, the address, the website and whether it worked. Each website has an Activity tab of its own. Filters by website, kind, address and dates; CSV export of up to 1000 lines. Entries are kept for 90 days and are written by the root helper only, so they cannot be changed or deleted through the panel. Passwords, keys, certificates, file contents and what is typed in the terminal are never written. See Activity log.
- Telegram alerts. The new Telegram page sends a message when a service stops, a website stops answering, CPU, memory or disk stays above a limit, someone signs in from a new address, fail2ban bans an address, a backup fails, a certificate is about to expire or a change marked Important is made in the activity log. One panel is the hub and holds the bot; other servers pair with it by a one-time code and report every minute, and a server that goes quiet for 3 minutes is reported. The alerts run in their own service,
mpn-notify, so they go on while the panel restarts or updates. See Telegram alerts. - Service ports. A new card on the Firewall page moves SSH, the panel, phpMyAdmin or the web mail to another port. SSH and the panel change in two steps: the new port opens next to the old one, and the old one closes only after you confirm the new one works; with no confirmation, the old port alone is restored after 10 minutes. The firewall rules and the fail2ban jails follow the change.
mpn port status|set|finish|canceldoes the same from SSH. See Firewall › Service ports. - phpBB. phpBB 3.3.19 can be chosen as the code of a new PHP website. The panel downloads the official package, checks its SHA-256, creates the database and writes an nginx configuration made for phpBB (
app.phproutes, PATH_INFO, internal folders refused). You finish in phpBB's own installer at/install/with the database details the result page shows. Once an administrator exists, the panel closes/install/and removes the folder within a minute.
Fixed
- The terminal and the file manager of every website failed on a server whose SSH listens on a port other than 22, as some providers set it. The panel always dialled
127.0.0.1:22. It now asks the root helper which port sshd listens on, keeps the answer for a minute, and asks again when a connection is refused, so a port changed later is found without a restart. - On Ubuntu 24.04 and newer, where sshd is started by
ssh.socketonly when a connection comes in, the firewall could not read the SSH port and kept port 22 open instead of the real one, which locked SSH out on a server whose SSH is not on port 22. The panel now reads the port fromssh.sockettoo, and only while it runs: systemd also prints the addresses of a socket that is off, so on Debian the old port (22) stayed listed and open next to the new one after a change. - On AlmaLinux, Rocky Linux and CentOS Stream, the SELinux step labelled port 2612 for the web mail whatever the panel's port was. With a panel port other than 2610, nginx could not listen on the web mail's port. The label now follows the panel's port, and turning the web mail on labels its port again.
Changed
- Ubuntu 26.04 now takes nginx 1.30.7 from nginx.org, like every other supported system, with the PageSpeed and ModSecurity modules of mpn-packages. It used to keep Ubuntu's nginx 1.28.3, which the panel holds with
apt-mark hold; a held package gets no security updates, so a machine installed before 18 November stayed without the fix for CVE-2026-123007.
Upgrade notes
- On Ubuntu 26.04,
mpn updatereplaces Ubuntu's nginx,nginx-module-pagespeed(We-Amp) andlibnginx-mod-http-modsecuritywith nginx 1.30.7 from nginx.org and the modules built for it, in one apt run. The panel's sites and settings in/etc/nginxstay. If the new nginx failsnginx -t, the old packages and apt files are put back and the update stops; the files before the change are in/var/backups/mpn-nginx-upgrade/old.
Full Changelog: v1.2.2...v1.2.3
Mini Panel v1.2.2
Security
- nginx moves from 1.28.3 to 1.30.7, which fixes the nginx advisories of 18 November 2026, among them CVE-2026-123007 (memory corruption in HTTP/2 flow control, reachable without signing in on every site with HTTP/2) and CVE-2026-118899. The 1.28 branch gets no fix. The PageSpeed and ModSecurity modules are built again for 1.30.7 (nginx-1.30.7-r1, el-r2) and checked by SHA-256 as before.
Fixed
mpn updateput the previous version back on a machine where the admin account had not been made yet, because/loginsends the browser to/setupthere and the check took that for the panel not answering. The fix works for updates from 1.2.2 on.- The panel's own font (JetBrains Mono) was refused by the content security policy on every page.
Upgrade notes
mpn update(and the Update page) moves nginx of a machine installed by an earlier version to 1.30.7, together with the modules it loads. The old configuration and modules are kept in/var/backups/mpn-nginx-upgrade/old. If the new nginx failsnginx -t, the old package, modules and pin are put back and the update stops. Ubuntu 26.04 keeps the nginx of the distribution.
Full Changelog: v1.2.1...v1.2.2
Mini Panel v1.2.1
Fixed
- The panel's pages were slower in 1.2.0, because rclone made the
mpnprogram 109 MB and every start about 100 ms longer, and the panel startsmpnseveral times for each page. rclone now ships in a second program,/usr/local/bin/mpn-cloud(the same source built with rclone), whichmpnruns only to connect a storage and to copy, list or fetch backups.mpnis 19 MB again and starts in 0.02 s instead of 0.18 s on a 1-vCPU server. - The off-site storage list showed translation keys such as
cld.kind.azureblobfor the storage generated from rclone's list. Each now shows its name, a description and a hint, and a search box filters the list.
Changed
- Updating has its own page, Update in the main menu, instead of a section of Settings.
- The panel and the docs site are in English by default. A browser that asks for Vietnamese or Chinese gets it, and the language menu still switches. Old docs addresses under
/en/lead to the new ones.
Upgrade notes
mpn update, the panel's Update button and the installer fetch both programs. A machine updated by 1.2.0, which knows onlympn, getsmpn-cloudwhen the newmpnrunsmpn panel migrate -applyat the end of the update.
Full Changelog: v1.2.0...v1.2.1
Mini Panel v1.2.0
Added
- Update the panel from the interface (Settings, Updates) or with
mpn update -apply. Each release'sSHA256SUMSis signed with minisign, and the panel accepts only a release whose signature matches the key built into the program. The signed comment names the version, so an old release cannot be passed off as a new one. The running program is kept as/usr/local/bin/mpn.prevand put back if the panel does not answer after the update. - Off-site backup copies now go through rclone: Google Drive, S3 (Cloudflare R2, AWS, Wasabi…), Backblaze B2, SFTP, WebDAV (Nextcloud, ownCloud) and FTP/FTPS. A connection is saved only after the panel has written, read back and deleted a test file. The form passes rclone only the fields on a fixed list, so no option can run a command or read a file of the machine.
- An option to see visitors' real addresses when sites are behind Cloudflare (Security, or
mpn security cloudflare -on -apply). nginx takes the address fromCF-Connecting-IP, but only on connections from Cloudflare's published networks. Off by default. - Installing MariaDB or MySQL also installs phpMyAdmin, so the Databases tab can open it straight away.
mpn panel migratebrings a machine installed by an older version to the configuration a fresh install writes. The installer andmpn updaterun it.
Changed
- The panel listens on the Unix socket
/run/mpn-web/web.sock, which systemd creates and keeps (mpn-web.socket), instead of127.0.0.1:8780. Only nginx and phpMyAdmin (groupmpn-front) can connect. The socket stays while the panel restarts, so no other program can take its place. The client address inX-Real-IPis trusted only when the panel listens on that socket. - New Node.js and Python sites (Debian, Ubuntu) listen on the Unix socket
/run/mpn-app/<site>/app.sockand open no TCP port. Only nginx can connect. The socket path is inSOCKET, andPORTholds the same path, because Node.js'slisten(process.env.PORT)accepts a path. An empty port field means the socket; a port number makes the app listen on127.0.0.1as before. Existing sites keep their port. On the RHEL family apps still use a port. - The setup page
/setupopens only with a link that carries a one-time key. The installer prints it, the SSH login message shows it until the account exists, andmpn web setup-linkprints it again. Before, whoever opened/setupfirst created the account. - Node.js is installed only when
SHASUMS256.txtcarries a valid signature of a Node.js releaser. It is checked withgpgvagainst 29 keys built into mpn, so neither nodejs.org nor a mirror can choose the keys.gpgvis in the base packages. - A backup's MANIFEST holds the SHA-256 of each file and an HMAC made with the machine's own key (
/etc/mpn/backup.key, mode 0600). A backup downloaded from off-site storage must be signed by this machine, and each file must match its sum. - A hand-written vHost may not log outside
/var/log/mpn/sites/<site>/, and directives that read files or affect the whole machine (include,load_module,ssl_certificateoutside the site's certificate folders,*_temp_path,*_cache_path,user,pid…) are refused. nginx opens log files as root before it switches to the worker account. - Laravel gets
DB_HOST=localhost(over the Unix socket), as WordPress and CodeIgniter already did. - The two-factor QR code is drawn by the panel's own code, replacing the unmaintained go-qrcode library.
- Commands and operations that run as root create folders inside a site's home through open folder descriptors and never follow symbolic links, so the site account cannot use a symlink to point root at another file.
- A database cannot be created with a name that belongs more closely to another site (for example
blog_shopwhen a siteblog-shopexists). - When too many sign-ins are waiting to hash a password, the panel answers 429 at once instead of queueing, so a password-guessing burst cannot take all the CPU.
- The public source includes the tests, and GitHub Actions runs gofmt, vet, the tests and govulncheck on every push.
Upgrade notes
- Backups made with 1.1.x are not signed, so they can no longer be downloaded from off-site storage. Backups stored on the machine restore as before.
- A site whose hand-written vHost uses
includeor logs elsewhere reports an error at its next apply until that part is fixed.
Full Changelog: v1.1.1...v1.2.0
Mini Panel v1.1.1
Fixed
- Backups now archive the whole
htdocsfolder when the web root lies below it, for examplehtdocs/publicfor Laravel, Flarum or Symfony. Before, a backup held onlypublic/and lackedconfig.php/.env,storage(uploaded files) andvendor, so the site could not run again after a restore. Sites whose web root ishtdocsitself are unchanged. - The MANIFEST of those backups has a new line,
files_root=htdocs, and restore relies on it: older backups (which hold only the web root) are still extracted into the web root as before. mpn 1.1.0 and older cannot read the new MANIFEST, so upgrade before restoring new backups.
Full Changelog: v1.1.0...v1.1.1
Mini Panel v1.1.0
Added
- Runs on AlmaLinux, Rocky Linux and CentOS Stream 9 and 10, on both x86_64 and arm64. Nginx 1.28.3 comes from nginx.org and is held with
dnf versionlock; PHP 7.4 and later from Remi (with EPEL); PHP 7.0 to 7.3, the ModSecurity module and OWASP CRS 4.25.2 from the el-r1 release of mpn-packages; PageSpeed from the nginx-1.28.3-r3 release. Every download is checked against a pinned SHA-256. - MariaDB comes from rpm.mariadb.org and MySQL from repo.mysql.com; the signing keys of both repositories are checked by fingerprint. EL10 has MySQL 8.4 only.
- SELinux stays enabled: the panel labels website folders, logs, PHP-FPM sockets, the venvs of Python sites, Node.js, mailboxes and the panel's port, and turns on
httpd_can_network_connectso sites can reach their databases and outside services. - The installer turns off firewalld, because the panel manages the firewall with nftables.
- Mail on the RHEL family: mailbox passwords are hashed with bcrypt (
BLF-CRYPT), because Dovecot there has no argon2; OpenDKIM listens on port 8891 on loopback, because the SELinux policy does not let Postfix connect to its socket.
Changed
- The nginx modules now live in the mpn-packages repository (formerly mpn-nginx-modules; the old address still redirects there).
Full Changelog: v1.0.3...v1.1.0