Immich: revert install sequence (#5932)
- apparently the Postgresql-16 install does not like running after packages from Testing are installed. Reverted the change and restored running the DB Collation queries
This commit is contained in:
parent
d693c9361b
commit
ebea43f299
@ -111,23 +111,6 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|||||||
msg_ok "Installed OpenVINO dependencies"
|
msg_ok "Installed OpenVINO dependencies"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Installing Packages from Testing Repo"
|
|
||||||
export APT_LISTCHANGES_FRONTEND=none
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
|
||||||
$STD apt-get install -t testing --no-install-recommends -y \
|
|
||||||
libio-compress-brotli-perl \
|
|
||||||
libwebp7 \
|
|
||||||
libwebpdemux2 \
|
|
||||||
libwebpmux3 \
|
|
||||||
libhwy1t64 \
|
|
||||||
libdav1d-dev \
|
|
||||||
libhwy-dev \
|
|
||||||
libwebp-dev
|
|
||||||
if [[ -f ~/.openvino ]]; then
|
|
||||||
$STD apt-get install -t testing -y patchelf
|
|
||||||
fi
|
|
||||||
msg_ok "Packages from Testing Repo Installed"
|
|
||||||
|
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql
|
PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql
|
||||||
|
|
||||||
@ -154,6 +137,26 @@ $STD sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;"
|
|||||||
} >>~/"$APPLICATION".creds
|
} >>~/"$APPLICATION".creds
|
||||||
msg_ok "Set up Postgresql Database"
|
msg_ok "Set up Postgresql Database"
|
||||||
|
|
||||||
|
msg_info "Installing Packages from Testing Repo"
|
||||||
|
export APT_LISTCHANGES_FRONTEND=none
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
$STD apt-get install -t testing --no-install-recommends -y \
|
||||||
|
libio-compress-brotli-perl \
|
||||||
|
libwebp7 \
|
||||||
|
libwebpdemux2 \
|
||||||
|
libwebpmux3 \
|
||||||
|
libhwy1t64 \
|
||||||
|
libdav1d-dev \
|
||||||
|
libhwy-dev \
|
||||||
|
libwebp-dev
|
||||||
|
if [[ -f ~/.openvino ]]; then
|
||||||
|
$STD apt-get install -t testing -y patchelf
|
||||||
|
fi
|
||||||
|
msg_ok "Packages from Testing Repo Installed"
|
||||||
|
|
||||||
|
$STD sudo -u postgres psql -c "ALTER DATABASE postgres REFRESH COLLATION VERSION;"
|
||||||
|
$STD sudo -u postgres psql -c "ALTER DATABASE $DB_NAME REFRESH COLLATION VERSION;"
|
||||||
|
|
||||||
msg_info "Compiling Custom Photo-processing Library (extreme patience)"
|
msg_info "Compiling Custom Photo-processing Library (extreme patience)"
|
||||||
LD_LIBRARY_PATH=/usr/local/lib
|
LD_LIBRARY_PATH=/usr/local/lib
|
||||||
export LD_RUN_PATH=/usr/local/lib
|
export LD_RUN_PATH=/usr/local/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user