WhatsMine Documentation
Home
  • What is WhatsMine?
  • Feature Tour
  • Requirements
  • Installation
  • Configuration (.env reference)
  • Going Live Checklist
Admin Guide
User Guide
Mobile App
Integrations
  • Architecture
  • REST API v1
  • Production Deployment
  • Frequently Asked Questions
  • Troubleshooting
  • Changelog
Home
  • What is WhatsMine?
  • Feature Tour
  • Requirements
  • Installation
  • Configuration (.env reference)
  • Going Live Checklist
Admin Guide
User Guide
Mobile App
Integrations
  • Architecture
  • REST API v1
  • Production Deployment
  • Frequently Asked Questions
  • Troubleshooting
  • Changelog
  • Getting Started

    • Requirements
    • Installation
    • License & Activation
    • Configuration (.env reference)
    • Going Live Checklist
    • Production Deployment
    • Demo Mode
    • Updating

Updating

When a new version of WhatsMine is released, follow these steps to update safely.

Before you start

Always back up first

Back up your database and your .env file before updating. If anything goes wrong, you can restore.

php artisan db:backup
cp .env .env.backup

One-click update from the admin panel

Because your copy is licensed, WhatsMine can fetch and apply a release for you.

Location: Admin → License (/admin/license)

The admin License page with the update checker

  1. Click Check for updates. The current version (APP_VERSION) is compared against the latest release.
  2. If one is available, click Apply update.

The updater then:

  1. Puts the app into maintenance mode.
  2. Downloads the release package and extracts it over the application — never touching .env, storage/, .git or node_modules.
  3. Imports any SQL the release ships with.
  4. Runs php artisan migrate --force.
  5. Writes the new APP_VERSION into .env and clears every cache.
  6. Brings the app back up — including when a step fails.

Requirements: the PHP zip extension, and the application directory must be writable by the web server.

Overwriting files cannot be undone

The one-click updater replaces application files in place. There is no automatic rollback — take a database and file backup first, and try it on a staging copy before production.

After a one-click update, still rebuild assets and restart workers if you deploy your own frontend build:

npm ci && npm run build
php artisan queue:restart

If your host disallows writing to the application directory, use the manual steps below instead.

Update steps (manual)

  1. Put the app in maintenance mode (optional but recommended):

    php artisan down
    
  2. Replace the application files with the new version. Be careful not to overwrite:

    • your .env file
    • your storage/ directory (uploads, logs, invoices)
    • any custom code you've added

    If you use git, git pull handles this for you.

  3. Update dependencies:

    composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
    npm ci
    
  4. Run new migrations:

    php artisan migrate --force
    
  5. Rebuild the frontend:

    npm run build
    
  6. Refresh caches and restart workers:

    php artisan config:cache
    php artisan route:cache
    php artisan view:cache
    php artisan event:cache
    php artisan queue:restart
    
  7. Bring the app back online:

    php artisan up
    

After updating

  • Check Admin → Cron Setup that the scheduler heartbeat is still green.
  • Check Admin → Queue for failed jobs.
  • Do a quick smoke test: log in, open the inbox, send a message.

Translations note

If an update adds new interface text, seed any new translation keys and refresh the translation cache:

php artisan i18n:scan

New languages and edits are managed in Admin → Languages. See i18n.

Rolling back

If an update causes problems:

  1. Restore your previous application files.
  2. Restore the database backup you took.
  3. Run composer install and npm run build for the old version.
  4. php artisan up.
Last Updated: 11/10/26, 9:34 PM
Prev
Demo Mode