-
-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move / update from V3 to V4 #473
Comments
This is no longer an issue found the autostart section and have managed to get that working when i do a fresh install of v4.1 on ubuntu 24.04.1 got a sperate server running dashboard V3.1 so happy to test out moving some files over from that to new server with V4 if anyone is able to advise on what files should be needed. |
You mean: the login breaks from moving from V3 to V4, right? |
This can be done by enabling the systemd service file. |
no that can be fixed but other thing dont seem to work even after that like the backup / restore functions just log you out and cannot run debug as get a VENV error when trying to do any command like sudo wg.sh start/stop/debug even though oddly dashboard is still up and running. |
correct this is no longer an issue and autostart instruction do work |
Yeah I think the logging out when clicking backup is a known bug, not related to you. Regarding the venv in debug mode? Can you post some screenshots or tell me how to reproduce that? |
i only get issues when i do an upgrade with the logging out. If a clean install no issues. in order to reproduce
i will have perform these later aswell myself and get the error but for now going to try copying files from my v3 to my working v4 instance and see what happens there. |
I'll try to recreate it! Hope to come back soon. |
Hi all, this is still persisting? |
yes with my limited knowledge been unable to succesfully migrate / upgrade from V3 to V4 and still welcome any suggestions. i am happy to setup a new server and copy files over but always seems to run in to some issue. |
Hi @barryboom , sorry this is happening.. If you wish, you could create a brand new server and send me the credentials, and I can look into what's happening :) |
do you have a server you can try to migrate too i am happy to clone one of the servers running V3. i can succesfully manage that taking a server running v3.0.6.2 or even v3.1 (athough thats a little harder as unable to install from Github anymore) and migrate that to an new server but need to stick with same WGDAshboard version as cannot get V4 to work properly when ever i have tried copying things over like the db and files etc that i think would be needed. |
Hi! So on my side I've done this and it is working, here are the commands I ran: git clone https://github.com/donaldzou/WGDashboard -b v3.0.6.2 WGDashboard_v3
# Since I can't install package to global Python due to Ubuntu 22.02+ system policy, I'll need to install virtual environment
cd WGDashboard_v3/src
python3 -m venv ./venv
# Install packages to the virtual environment
./venv/bin/python3 -m pip install -r requirements.txt
# Run WGDashboard directly, this should work with no problem
./venv/bin/python3 dashboard.py
# Use control + c to terminate, and now we update to v4
./wgd.sh update
# Once done, we run install
./wgd.sh install
# Remove the password line from wg-dashboard.ini due to known issue
nano wg-dashboard.ini
# Once done, we run
./wgd.sh debug Everything is fine to me, maybe it was due to you didn't run |
OK i will have a check and run these commands but what i was hoping for was what can be done to move a V3 dashboard to a new V4 dashboard what files need copied over etc but this should help if it works. |
Describe The Problem
i would like to move from v3 to V4 but unable to do so as currently no way to upgrade.
the inline upgrade breaks the dashboard "sudo ./wgd.sh update" from v3 to v4 end up breaking the configuration and features like backup / restore dont work.
i have tried may different ways and so far been unsuccesful so hoping for assistance from the greater minds assembled here.
what does work on both Ubuntu 22 / 24 is a clean install so what am hopipng collectively we can figure out is a way to
in order to achieve this i am happy to build a new server, fresh install and use winscp to copy over files / databases as required.
To Reproduce
try and upgrade from V3 to V4 on ubuntu 22 or 24
The text was updated successfully, but these errors were encountered: