Upgrading from 1.3.1 to 1.5.0 gives error "Nothing to migrate" in terminal
I am unsure what I am doing wrong here.
I ran the following upgrade command in the terminal:
php composer.phar update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear
Then I get the following output in the terminal
I then checked the admin panel in flarum and it still says it's 1.3.1
[server]$ php composer.phar update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 7 updates, 0 removals
- Upgrading doctrine/event-manager (1.1.2 => 1.2.0)
- Upgrading symfony/console (v5.4.13 => v5.4.14)
- Upgrading symfony/http-foundation (v5.4.13 => v5.4.14)
- Upgrading symfony/mime (v5.4.13 => v5.4.14)
- Upgrading symfony/string (v5.4.13 => v5.4.14)
- Upgrading symfony/translation (v5.4.12 => v5.4.14)
- Upgrading symfony/yaml (v5.4.12 => v5.4.14)
Writing lock file
Installing dependencies from lock file
Package operations: 0 installs, 7 updates, 0 removals
- Downloading doctrine/event-manager (1.2.0)
- Downloading symfony/yaml (v5.4.14)
- Downloading symfony/translation (v5.4.14)
- Downloading symfony/mime (v5.4.14)
- Downloading symfony/string (v5.4.14)
- Downloading symfony/console (v5.4.14)
- Downloading symfony/http-foundation (v5.4.14)
- Upgrading doctrine/event-manager (1.1.2 => 1.2.0): Extracting archive
- Upgrading symfony/yaml (v5.4.12 => v5.4.14): Extracting archive
- Upgrading symfony/translation (v5.4.12 => v5.4.14): Extracting archive
- Upgrading symfony/mime (v5.4.13 => v5.4.14): Extracting archive
- Upgrading symfony/string (v5.4.13 => v5.4.14): Extracting archive
- Upgrading symfony/console (v5.4.13 => v5.4.14): Extracting archive - Upgrading symfony/http-foundation (v5.4.13 => v5.4.14): Extracting archive
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files
72 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
[ps430496]$ php flarum migrate
Migrating Flarum...
Nothing to migrate.
Migrating extension: flarum-tags
Nothing to migrate.
Migrating extension: flarum-sticky
Nothing to migrate.
Migrating extension: flarum-flags
Nothing to migrate.
Migrating extension: the-turk-stickiest
Nothing to migrate.
Migrating extension: migratetoflarum-old-passwords
Nothing to migrate.
Migrating extension: flarum-suspend
Nothing to migrate.
Migrating extension: flarum-subscriptions
Nothing to migrate.
Migrating extension: flarum-mentions
Nothing to migrate.
Migrating extension: flarum-markdown
Nothing to migrate.
Migrating extension: flarum-lock
Nothing to migrate.
Migrating extension: flarum-likes
Nothing to migrate.
Migrating extension: flarum-emoji
Nothing to migrate.
Migrating extension: flarum-approval
Nothing to migrate.
DONE.
[ps430496]$ php flarum cache:clear
Clearing the cache...
[server]$
I then ran: "composer why-not flarum/core v1.5.0"
php composer.phar why-not flarum/core v1.5.0
This is what I get in the terminal output:
[server]$ php composer.phar why-not flarum/core v1.5.0
Info from https://repo.packagist.org: #StandWithUkraine
flarum/flarum - requires flarum/core (v1.3.1)
Not finding what you were looking for? Try calling `composer update "flarum/core:v1.5.0" --dry-run` to get another view on the problem.
[server]$
Thank you in advance for your help 🙂
Below are the contents of my composer.json file:
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://docs.flarum.org/"
},
"require": {
"flarum/sticky": "*",
"flarum/flags": "*",
"the-turk/flarum-stickiest": "*",
"migratetoflarum/old-passwords": "*",
"fof/formatting": "*",
"flarum/tags": "*",
"flarum/suspend": "*",
"flarum/subscriptions": "*",
"flarum/statistics": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/lang-english": "*",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "v1.3.1",
"flarum/emoji": "*",
"flarum/nicknames": "*",
"flarum/pusher": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}