Upgrading from 3.0 to 3.3

kiltedup - 1 month ago

Evening,

Have a site that's been live on 3.0 but not able to upgrade for a variety of reasons.

Have to make the jump to 3.3 now as need to use API module.

Can you upgrade direct from 3.0 to 3.3 with no issues or do you have to do any incremental ones first?

TIA Dave

huglester - 1 month ago

Hello

  1. MAKE BACKUPS ETC :)

I first did like this for two projects: sed -i 's/INSTALLED=true/INSTALLED=false/g' .env php artisan migrate --force --streams php artisan migrate --force php artisan migrate --force --all-addons php artisan streams:compile

We go to 3.2 version first:

Update composer.json requirements according to https://github.com/pyrocms/pyrocms/blob/3.2/composer.json

composer update php artisan migrate --path=vendor/anomaly/streams-platform/migrations/application php artisan migrate --all-addons ADMIN_THEME=pyrocms.theme.accelerant in .env

now to 3.3

Add "anomaly/repeater-field_type": "~1.2.0" Update "anomaly/datetime-field_type": "~3.0.0"

composer update php artisan assets:clear sed -i 's/INSTALLED=false/INSTALLED=true/g' .env


PS. maybe it could be done in ONE SHOW, but I did it like this and it seemed to work :)

jcastillotx - 1 month ago

It was pretty simple to do.