Skip to content

Commit e6212f2

Browse files
committed
Immich: revert install sequence
- 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
1 parent d693c93 commit e6212f2

1 file changed

Lines changed: 20 additions & 17 deletions

File tree

install/immich-install.sh

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,6 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
111111
msg_ok "Installed OpenVINO dependencies"
112112
fi
113113

114-
msg_info "Installing Packages from Testing Repo"
115-
export APT_LISTCHANGES_FRONTEND=none
116-
export DEBIAN_FRONTEND=noninteractive
117-
$STD apt-get install -t testing --no-install-recommends -y \
118-
libio-compress-brotli-perl \
119-
libwebp7 \
120-
libwebpdemux2 \
121-
libwebpmux3 \
122-
libhwy1t64 \
123-
libdav1d-dev \
124-
libhwy-dev \
125-
libwebp-dev
126-
if [[ -f ~/.openvino ]]; then
127-
$STD apt-get install -t testing -y patchelf
128-
fi
129-
msg_ok "Packages from Testing Repo Installed"
130-
131114
NODE_VERSION="22" setup_nodejs
132115
PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql
133116

@@ -154,6 +137,26 @@ $STD sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;"
154137
} >>~/"$APPLICATION".creds
155138
msg_ok "Set up Postgresql Database"
156139

140+
msg_info "Installing Packages from Testing Repo"
141+
export APT_LISTCHANGES_FRONTEND=none
142+
export DEBIAN_FRONTEND=noninteractive
143+
$STD apt-get install -t testing --no-install-recommends -y \
144+
libio-compress-brotli-perl \
145+
libwebp7 \
146+
libwebpdemux2 \
147+
libwebpmux3 \
148+
libhwy1t64 \
149+
libdav1d-dev \
150+
libhwy-dev \
151+
libwebp-dev
152+
if [[ -f ~/.openvino ]]; then
153+
$STD apt-get install -t testing -y patchelf
154+
fi
155+
msg_ok "Packages from Testing Repo Installed"
156+
157+
$STD sudo -u postgres psql -c "ALTER DATABASE postgres REFRESH COLLATION VERSION;"
158+
$STD sudo -u postgres psql -c "ALTER DATABASE $DB_NAME REFRESH COLLATION VERSION;"
159+
157160
msg_info "Compiling Custom Photo-processing Library (extreme patience)"
158161
LD_LIBRARY_PATH=/usr/local/lib
159162
export LD_RUN_PATH=/usr/local/lib

0 commit comments

Comments
 (0)