Upgrade
Veldriq
V1 has multiple production migrations over the life of the repo. Do not say “there is one production migration.” There is no veldriq:upgrade command. /install is not an updater.
- Backup (database +
storage/app+.env). - Replace application files from the new package (keep
.env). Do not overwritestorage/appwith an empty tree. - From
backend/:composer install --no-dev --optimize-autoloader. php artisan migrate(pending only).- Clear caches (
config:cache/view:clearas you use them). - Restart
queue:work(php artisan queue:restart). - Verify login, Dispatch, a PDF, and (if used) Field login against the same origin.
Never migrate:fresh, migrate:refresh, or db:wipe on an existing production installation.
If it fails
Section titled “If it fails”- HTTP 500 after replace →
storage/orbootstrap/cachenot writable, orAPP_KEYlost because.envwas overwritten. - Queue still sending old mail templates → worker not restarted.
- Field This app is not compatible with the server → API / sync protocol mismatch; update app and backend together.
Related: Backup · Post-install checks.