Replies: 2 comments
-
Hello @mcordes92 I tried to keep the information in the same place for easier backups and handling. If you didn't changed anything, you will find your sqlite db in /etc/wireguard/wireguard-webadmin-db.sqlite3 (make sure is exact the same name, the name changed on an earlier version due to issues with a migrate routine). If it's your case, you will need to rename to the new file, it should work anyway. Actually, this is your most important file. Your firewall script and wg*.conf files are generated from the web interface with the information on this database. Make sure that you store this file in a safe place (and you can rollback to your old install if needed). Go to your new machine, and follow the Deployment instructions. Make sure to use the nginx steps, as the alternative method use DEBUG mode and is not intended for production usage. After your new installation is working fine, make sure to STOP all related docker containers, and place your sqlite file inside the storage for your wireguard:/etc/wireguard volume. The default docker path for this volume is /var/lib/docker/volumes/wireguard_webadmin_wireguard/_data/ (it may change depending on your environment) Cross your fingers and start wireguard_webadmin again. It "should" work. :D this will rebuild your wg*.conf files and the firewall script. If you are using an older version, you may want to check the "new" firewall configuration page and migrate your old up/down scripts to this format ;) Notes:
Cheers and good luck! |
Beta Was this translation helpful? Give feedback.
-
@mcordes92 did you manage to migrate to docker? |
Beta Was this translation helpful? Give feedback.
-
We have currently set up a standard installation for "wireguard_webadmin" and would like to migrate to Docker. Could you assist us with the migration, as we use this system in our business operations?
Beta Was this translation helpful? Give feedback.
All reactions