Upgrade Guide
This guide covers upgrading between Unfold CMS tiers (Core to Pro) and updating to new versions.
Tiers
Unfold CMS is available in three tiers:
| Tier | Description |
|---|---|
| Core | Blog, SEO, page builder, authentication, media, menus, comments, contact form, template system |
| Pro | Everything in Core + AI content, newsletter, advertisements, analytics, code snippets, support tickets, backups, social login |
| Agency | Same features as Pro with a multi-domain license |
Upgrading from Core to Pro
Before You Begin
- Back up everything — database AND files
- Note customizations — Modified template files, routes, or config will be overwritten
- Your
.envfile andstorage/directory (uploads, logs) will NOT be affected
Step 1: Back Up
Database:
# MySQL
mysqldump -u root -p your_database > backup-before-upgrade.sql
# Or use your hosting panel's database backup tool
Files:
# Full backup of your CMS directory
cp -r /path/to/your/cms /path/to/your/cms-backup
Step 2: Download Pro
- Log in to your account at unfoldcms.com
- Navigate to your purchases/downloads
- Download the Pro zip file
Step 3: Extract Pro Files
Extract the Pro zip over your existing Core installation, overwriting all files.
Via Terminal:
cd /path/to/your/cms
unzip -o ~/Downloads/unfoldcms-pro-1.0.0.zip
Via FTP (Shared Hosting):
- Extract the zip locally
- Upload all files to your CMS directory, overwriting existing files
- Upload all directories:
app/,database/,config/,routes/,resources/,public/
What Gets Overwritten
| Item | Effect |
|---|---|
.env |
NOT in zip — your config is safe |
storage/ uploads |
NOT in zip — your uploads are safe |
| Database | Untouched — no data is lost |
vendor/ |
Overwritten with Pro dependencies |
app/, routes/, config/ |
Overwritten with Pro code |
| Custom template modifications | Overwritten — re-apply after upgrade |
Step 4: Run the Upgrade Command
php artisan cms:upgrade
This command:
- Checks that Pro files are in place
- Runs migrations to create Pro database tables (ads, newsletter, analytics, etc.)
- Seeds permissions so existing roles get access to Pro features
- Clears caches so the app picks up new routes, config, and views
- Verifies all Pro tables were created
Skip confirmation prompt:
php artisan cms:upgrade --force
The command is idempotent — running it again is safe.
Step 5: Activate Your License
- Log in to the admin panel
- Go to Settings > License
- Enter your Pro license key
- Click Activate
Step 6: Verify
Check that Pro features are visible in the admin sidebar:
- Analytics
- Ads Manager
- Newsletter
- Tickets
- Redirects
- Code Snippets
- Announcements
If any features are missing, run php artisan cms:upgrade again.
Troubleshooting
"No Pro files detected"
The Pro zip wasn't extracted to the correct directory. Ensure the Pro files are in the same directory as your .env file.
Missing Pro tables
Check that migration files exist in database/migrations/. Re-extract the Pro zip and run php artisan cms:upgrade again.
Permission errors
php artisan cache:clear
php artisan cms:upgrade
Custom code was overwritten
This is expected. Re-apply your customizations from your backup. For template changes, compare your backup with the new Pro files and merge.
"php artisan" not available (shared hosting)
Some shared hosts don't provide SSH access. Contact your host about SSH access, or use their PHP CLI tool. The command must be run from the CMS root directory (where the artisan file lives).
Version Updates
When updating to a new version of the same tier:
- Back up your database and files
- Download the new version from unfoldcms.com
- Extract over your existing installation
- Run migrations:
php artisan migrate --force - Clear caches:
php artisan config:cache && php artisan route:cache && php artisan view:cache - Verify the site works correctly
Related
- Installation — Fresh installation guide
- Backups — Backup system (Pro)
- Configuration — System configuration