The issue
I have a problem when upgrade my flarum installation from 1.2 to 1.63 today, the error message shows on 5th floor, after that, I re-run the command "php flarum migrate", it give the error message like this:
Migrating Flarum...
Nothing to migrate.
Migrating extension: flarum-flags
Nothing to migrate.
Migrating extension: flarum-suspend
Nothing to migrate.
Migrating extension: flarum-approval
Nothing to migrate.
Migrating extension: flarum-tags
Nothing to migrate.
Migrating extension: fof-user-bio
Nothing to migrate.
Migrating extension: fof-upload
Nothing to migrate.
Migrating extension: fof-terms
Nothing to migrate.
Migrating extension: fof-pages
Nothing to migrate.
Migrating extension: fof-merge-discussions
Nothing to migrate.
Migrating extension: fof-links
Nothing to migrate.
Migrating extension: fof-byobu
Nothing to migrate.
Migrating extension: fof-best-answer
Nothing to migrate.
Migrating extension: flarum-subscriptions
Nothing to migrate.
Migrating extension: flarum-sticky
Nothing to migrate.
Migrating extension: flarum-mentions
In Connection.php line 712:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mf_post_mentions_group' already exists (SQL: create table mf_post_mentions_group
(post_id
int unsigned not null, mentions_group_id
int unsigned not null, created_at
datetime default CURRENT_TIMESTAMP null) default character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB)
In Exception.php line 18:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mf_post_mentions_group' already exists
In PDOStatement.php line 117:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mf_post_mentions_group' already exists
migrate
Flarum information
Flarum core 1.6.3
PHP version: 8.1.2-1ubuntu2.10
MySQL version: 8.0.32-0ubuntu0.22.04.2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imagick, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+--------------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------------+---------+--------+
| flarum-flags | v1.6.1 | |
| flarum-suspend | v1.6.1 | |
| flarum-approval | v1.6.1 | |
| flarum-tags | v1.6.1 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.0 | |
| fof-spamblock | 1.1.0 | |
| fof-profile-image-crop | 1.1.1 | |
| fof-pages | 1.0.4 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.2 | |
| fof-formatting | 1.0.2 | |
| fof-byobu | 1.1.8 | |
| fof-best-answer | 1.2.4 | |
| flarum-subscriptions | v1.6.3 | |
| flarum-sticky | v1.6.1 | |
| flarum-statistics | v1.6.1 | |
| flarum-mentions | v1.6.3 | |
| flarum-markdown | v1.6.1 | |
| flarum-lock | v1.6.1 | |
| flarum-likes | v1.6.1 | |
| flarum-lang-english | v1.6.0 | |
| flarum-lang-chinese-simplified | v1.3.0 | |
| flarum-emoji | v1.6.1 | |
| flarum-bbcode | v1.6.0 | |
+--------------------------------+---------+--------+
Base URL: https://***
Installation path: /var/www/***
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off
So what am I going to do now to fix this problem??