Skip to content

Mini Panel v1.2.7

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 22:39

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 yara when turned on, scans every night at the lowest priority (a quarter of one core, idle disk), skips node_modules, vendor and 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|ignore does 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_dump and psql.
  • 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 migrate also writes the theme again when the panel is already up to date. mpn panel migrate installs 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|all remove 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 (or mpn 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