NathanVaughn / webtrees-docker

Up-to-date Docker image for webtrees with all the bells and whistles.
https://hub.docker.com/r/nathanvaughn/webtrees
MIT License
62 stars 16 forks source link

How run again first run? #146

Open dragonerix opened 1 month ago

dragonerix commented 1 month ago

I had a SQLite database and I needed to switch it to Mariadb. Unfortunately, it wants to log in and the account originally created doesn't work. How do I recreate the first and main administrator? I have a backup of the family tree from the original database. I've already tried uninstalling and deleting everything, but it didn't help. Thank you

NathanVaughn commented 1 month ago

Sorry I didn't get to this earlier, I was on vacation. If you want to run the setup wizard from scratch, you need to remove the /var/www/webtrees/data/config.ini.php file and wipe the database. I'm afraid I don't know how to change your permissions directly in the database.

Before you nuke everything, I would recommend exporting the GEDCOM file, and then re-importing that after setting up MariaDB.