Updating October CMS

Updating October CMS

Instructions for keeping your October CMS website up to date.

The october:update command will request updates from the October gateway. It will update the core application and plugin files, then perform a database migration.

php artisan october:update

# Database Migration

The october:migrate command will perform a database migration, creating database tables and executing seed scripts, provided by the system and plugin version history. The migration command can be run multiple times, it will only execute a migration or seed script once, which means only new changes are applied.

php artisan october:migrate

The --rollback option will reverse all migrations, dropping database tables and deleting data. Care should be taken when using this command. The plugin refresh command is a useful alternative for debugging a single plugin.

php artisan october:migrate --rollback

# Upgrade Guide from v1 and v2

If your starting point is October CMS 2.0, please observe the following guides when performing the upgrade.

If your starting point is October CMS 1.0, please observe these guides before continuing with the above guides.