-
Notifications
You must be signed in to change notification settings - Fork 76
Upgrade from v0.7.x
Due to a major shift of design within the project files between v0.7.x and v1.x, this tutorial exists to guide through some of the changes that have been made for easier deployment. When Performing this upgrade, please ensure that the panel and all related services have been shutdown. It is also recommended to perform a backup of the project directory beforehand.
Discard all changes to tracked files within the project, this will make it easier to update
git reset --hard
Fetch and update the master branch
git pull origin master
Make sure that the project is on the master branch
git checkout master
This project has shifted directories to new locations, please make sure that all changes are reflected to match.
./data
-> ./data/panel
./db
-> ./data/db
./letsencrypt
-> ./conf.d/letsencrypt
- This does not exist if the certbot service was never used
.env
has been moved and split up into two files, conf.d/mariadb.env
and conf.d/panel.env
.
All lines starting with MYSQL_*
should be copied over to conf.d/mariadb.env
, the rest go into conf.d/panel.env
The new wings daemon does not use the old config directory and can be safely removed. The new config directory is in conf.d/daemon
.
It is recommended to purge the panel cache manually as to prevent deployment problems, you can safely remove the ./data/panel/cache
directory.
With those changes all set, you can head over to the Quick start guide and follow that. When deploying the project, make sure that args are passed to retain the current server directory.