Open frosterrj opened 2 years ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Debug mode
Describe the bug
host is clean ubuntu 20.04.3, installed SnipeIt using the script from snipeit website. I think I took the latest RC version of the script. Install succeeds, modified the debug config to be 'true'. After install, go to uRL suggested by installer. Pre-flight page looks good. click next for create tables (only option), get exception page:
/var/www/html/snipeit/vendor/laravel/framework/src/Illuminate/Database/Connection.php
"SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'manufacturers' already exists (SQL: create table
manufacturers
(id
int unsigned not null aut[ ▶]()"Downloaded Dbeaver CE to connect to mysql instance using credentials provided in installation steps and successfully connect to snipeit DB. All tables do in fact exist as error suggests. OK, so it should expect this since this is what the installer is for.
Checked the common issues page, but these don't seem to be relevant.
Reproduction steps
Expected behavior
use the installer script, go to pre-flight page, click next to complete setup steps without needing to create tables that already exist. should not throw exception is tables exist but skip creation and move to next step
Screenshots
No response
Snipe-IT Version
latest RC
Operating System
Ubuntu 20.04.3
Web Server
apache
PHP Version
7.4.3, what ever installer script installs
Operating System
ubuntu 20.04.3
Browser
any
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response