Closed tomdereub closed 1 month ago
Hmm what files were missing or different after restoring the app ?
Actually, I finally re-installed vpnclient from scratch, giving it the .cube file, because after a restart I got very strange things (like no ipv4). Now I finished the migration and the server is in production, so I can't do further tests, sorry. What I remember is that after restoring, in the webapp, there was no config file indicated. Then I copied full /etc/openvpn folder from older to newer server, and it worked well. And after a reboot of the new server, I got some strange problems that I didn't manage to correct, without re-installing and re-configuring from scratch.
You didn't keep the backup? If so, you could still check which files are in the backup and if there is something missing with your current config.
I'll do some tests when I have time, but this would help me to know what was missing ^^
You're right, I have this in the backup, in /etc/openvpn :
The ca-server and credentials seem ok, but not the client.conf.tpl, and client.conf is missing I think
Do you still have the issue with the latest version of the app?
I don't know, and now I'm using https://github.com/YunoHost-Apps/wireguard_ynh, so I can't test, sorry.
Ok, then I'll close the issue ^^ I could reopen later if the issue is still there...
Describe the bug
I have backed up and restored vpnclient while migrating my yunohost server. But after vpnclient restoration, it wasn't working, and I found out that the content of the folder /etc/openvpn wasn't equal between the old and the new server. I just copied /etc/openvpn from old to new server and it has been working well.
Context
Steps to reproduce
Backup vpnclient. On a new server, or on the same server after uninstalling it and removing /etc/openvpn, restore vpnclient. Test it.
Expected behavior
The restore should be complete to get the restored app work with same config.