mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-25 07:12:52 +02:00
Termix: migrate database to new db/data layout introduced in 2.5.1 (#15996)
Migrate Termix database to the new db/data layout introduced in 2.5.1, fail fast on backend build errors, and precreate the db/data directory on fresh installs. Co-authored-by: P3RF3CTION <13474113+P3RF3CTION@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e35199cd29
commit
2fcbee5057
@@ -85,7 +85,8 @@ mkdir -p /opt/termix/data \
|
||||
/opt/termix/nginx \
|
||||
/opt/termix/nginx/logs \
|
||||
/opt/termix/nginx/cache \
|
||||
/opt/termix/nginx/client_body
|
||||
/opt/termix/nginx/client_body \
|
||||
/opt/termix/db/data
|
||||
|
||||
cp -r /opt/termix/dist/* /opt/termix/html/ 2>/dev/null || true
|
||||
cp -r /opt/termix/src/locales /opt/termix/html/locales 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user