Upgrading Kasmin
Kasmin only upgrades; there are no downgrades.
-
Install the new version (release ZIP via the installer, or a new Docker image tag).
-
Until the database is upgraded, Kasmin shows “Upgrade required” and does not process requests.
-
Run the upgrade:
Terminal window php artisan kasmin:upgradeIt writes a compressed backup of the database to
storage/app/backups/first, then runs the migrations and records the new version. Only one upgrade can run at a time. -
php artisan kasmin:statusshows the installed version, the database version and the schema status.
Why Kasmin refuses to start after a downgrade
Section titled “Why Kasmin refuses to start after a downgrade”If the database was upgraded by a newer Kasmin version, older code must not work with it: it could misread or
damage data. In this case Kasmin stops all web requests and most commands and shows “Database is newer than this
version”. Install the newer version again. Commands that would take the schema backwards (migrate:rollback,
migrate:fresh, …) are disabled outside development and test environments.