In my system (/admin/system/updates), I have the following:
Current Build
2.1.35 (Up to Date)
Latest Build
2.1.35
Isn’t 2.2 the latest build? (for OCMS 2.0)
(see link to composer.json at bottom of this post)
After running in CLI:
php artisan october:update
I still have version 2.1.35:
[OK] System Updated to v2.1.35
If I want to update to v3, do I need to first update to 2.2.0?
Also, in the upgrade 2 > 3 docs, it says to use this in composer.json:
Update the following dependencies in your application’s composer.json file:
october/all
to^3.0
october/rain
to^3.0
laravel/framework
to^9.0
My composer.json is below. I don’t have a “october/all” in mine (only a “october/cms”). Do I replace october/cms with october/all ? Or use both?
Should the php version requirement be update to 8.0.3? (v3’s min requirement is this I believe).
{
"name": "october/october",
"description": "Built using October CMS: The Platform That Gets Back to Basics",
"type": "project",
"homepage": "https://octobercms.com",
"license": "proprietary",
"require": {
"php": ">=7.2.9",
"october/rain": "^2.0",
"laravel/framework": "^6.0",
"october/system": "^2.0",
"october/backend": "^2.0",
"october/cms": "^2.0",
"october/media": "^2.0",
"october/editor": "^2.0",
"rainlab/pages-plugin": "^1.4",
"rainlab/user-plugin": "^1.5",
"lovata/toolbox-plugin": "^1.34",
"alxy/captcha-plugin": "^1.0",
"october/drivers-plugin": "^1.1",
"lilessam/frontendmailsender-plugin": "^1.0",
"rainlab/blog-plugin": "^1.7"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
"meyfa/phpunit-assert-gd": "^2.0.0|^3.0.0"
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"php artisan cache:clear"
],
"post-create-project-cmd": [
"php artisan key:generate --ansi"
],
"post-autoload-dump": [
"System\\Console\\ComposerScript::postAutoloadDump",
"php artisan cache:clear"
],
"post-update-cmd": [
"System\\Console\\ComposerScript::postUpdateCmd",
"php artisan cache:clear"
],
"pre-package-uninstall": [
"System\\Console\\ComposerScript::prePackageUninstall"
],
"test": [
"phpunit --stop-on-failure"
]
},
"config": {
"preferred-install": "dist",
"allow-plugins": true
},
"autoload": {
"psr-4": {
"System\\Console\\": "modules/system/console",
"Trader47\\Support\\": "plugins/trader47/user/support"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": {
"octobercms": {
"type": "composer",
"url": "https://gateway.octobercms.com"
}
}
}
Also, the v2.2.0 version doesn’t have a “october/all” at all?
Any help much appreciated!