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
64 stars 15 forks source link

How run again first run? #146

Open dragonerix opened 4 months ago

dragonerix commented 4 months 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 3 months 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.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.