mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-13 09:30:32 +02:00
Show log
This commit is contained in:
@@ -332,7 +332,6 @@ main() {
|
||||
|
||||
bashio::log.info "Waiting for PostgreSQL to start..."
|
||||
|
||||
(
|
||||
DB_PORT=5432
|
||||
DB_HOSTNAME=localhost
|
||||
DB_PASSWORD="$(bashio::config 'POSTGRES_PASSWORD')"
|
||||
@@ -344,10 +343,8 @@ main() {
|
||||
export DB_PORT DB_HOSTNAME DB_USERNAME DB_PASSWORD
|
||||
|
||||
wait_for_postgres
|
||||
|
||||
restart_immich_addons_if_flagged
|
||||
|
||||
# Remove vectors from 'postgres' db only (safe, idempotent)
|
||||
su - postgres -c "psql -d postgres -c 'DROP EXTENSION IF EXISTS vectors CASCADE;'"
|
||||
|
||||
upgrade_extension_if_needed "vectors"
|
||||
@@ -367,7 +364,6 @@ main() {
|
||||
echo "Cleaning /config/backups now that upgrade is done"
|
||||
rm -r /config/backups
|
||||
fi
|
||||
) & true
|
||||
}
|
||||
|
||||
main
|
||||
|
||||
Reference in New Issue
Block a user