New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration Issue v3 to v4 #6431
Comments
Did you follow the process here: https://snipe-it.readme.io/v4.0/docs/upgrading-to-v4 ? You need to put the application into maintenance mode and then run through a few more steps. |
Hi, php artisan migrate
Do you really wish to run this command? (yes/no) [no]:
In Connection.php line 647: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists (SQL: create table In PDOStatement.php line 107: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists In PDOStatement.php line 105: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it. |
Hi,
I am trying to migrate from v3 to v4, I got this error below after the restoring the DB either from the sql dump or db backup, once I drop the table, it will create another error on another table and so on:
/var/www/snipeit$ php artisan migrate
Do you really wish to run this command? (yes/no) [no]:
In Connection.php line 647:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists (SQL: create table
oauth_persona l_access_clients
(id
int unsigned not null auto_increment primary key,client_id
int not null,created_at
timestamp null,updated_at
timestamp null) default character set utf8mb4 collate utf8mb4_unicode_ci engine = InnoDB)
In PDOStatement.php line 107:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists
In PDOStatement.php line 105:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists
The text was updated successfully, but these errors were encountered: