❓ Update
Notice to users who are using
v3 - v3.0.6and want to update tov4.0
Although theoretically updating through wgd.sh should work, but I still suggest you to update the dashboard manually.
Notice to users who are using
v2.3.1or below
For user who is using v2.3.1 or below, please notice that all data that stored in the current database will not transfer to the new database. This is hard decision to move from TinyDB to SQLite. But SQLite does provide a thread-safe access and TinyDB doesn't. I couldn't find a safe way to transfer the data, so you need to do them manually... Sorry about that 😔。 But I guess this would be a great start for future development 😎.
How to update
Solution 1 (v4.0+)
sudo ./wgd.sh updateSolution 2
If Solution 1 above is not working for you...
Change your directory to
wgdashboardshellcd wgdashboard/srcUpdate the dashboard
shellgit pull https://github.com/WGDashboard/WGDashboard.git --forceInstall
shellsudo ./wgd.sh install