mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-05 23:50:33 +00:00
fix: homarr db migration (#2575)
* Update homarr.sh * Update homarr-install.sh
This commit is contained in:
parent
6daeb7e288
commit
4aabbefcc8
2 changed files with 25 additions and 0 deletions
|
|
@ -86,6 +86,9 @@ msg_ok "Finished copying"
|
|||
msg_info "Creating Services"
|
||||
cat <<'EOF' >/opt/run_homarr.sh
|
||||
#!/bin/bash
|
||||
set -a
|
||||
source /opt/homarr/.env
|
||||
set +a
|
||||
export DB_DIALECT='sqlite'
|
||||
export AUTH_SECRET=$(openssl rand -base64 32)
|
||||
node /opt/homarr_db/migrations/$DB_DIALECT/migrate.cjs /opt/homarr_db/migrations/$DB_DIALECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue