webtrees
webtrees copied to clipboard
Base table or view already exists on fresh db
I just deploy webtrees 2.1.20 on https://www.koyeb.com/ and use my hosting as database provider. When initial setup I got error message like below picture :
I already did some check that database that I use is completely fresh (no table created before)
does anyone ever face similar problem when setup webtrees on the first time?
Thanks before for the help.
What tables do you have in the DB?
currently after error raised, those tables exist on my DB
These are the first 4 tables that are created. I guess that the installation failed or was interrupted at this point, and the subsequent tables were not created.
The code assumes that all ~30 tables will be created together.
Delete (DROP) these four tables and try again. If the same occurs, then it suggests an error creating the next table (wt_user_setting). Look closely in case any error messages are displayed.