CT Linkwarden Postgresq: Debian 13 fixes

linkwarden: removed unnecessary build step, fixed deploy command
postgresql: locked major version, bumpt it from 17 to 18, updated config for compatibility, added sleep to config to make sure Postgres is up
aptcacherng: skips overwriting existing service symlink
This commit is contained in:
2025-10-28 00:16:48 +01:00
parent 4b886383c8
commit 0876675006
7 changed files with 22 additions and 8 deletions

View File

@@ -9,8 +9,6 @@ ln -s /opt/monolith-gnu-linux-x86_64 /usr/local/bin/monolith
mv /opt/Setup/Scripts/Update-monolith.sh /opt/Update-monolith.sh
#Install linkwarden
rm -rf /root/.cache
startpath=$(pwd)
#Install Linkwarden
@@ -23,10 +21,12 @@ rm -rf /root/.cache
yarn install
yarn next telemetry disable
sudo -u node yarn next telemetry disable
yarn prisma:generate
yarn web:build
yarn next build
yarn cache clean
npm cache clean --force
apt clean
cd $startpath
@@ -34,3 +34,5 @@ cp /opt/node/linkwarden/.env.sample /opt/node/linkwarden/.env
chown node: -R /opt/node/linkwarden
su -c "cd /opt/node/linkwarden; npx playwright install chromium" node
mv /opt/Setup/Scripts/Update-linkwarden.sh /opt/Update-linkwarden.sh
rm -rf /root/.cache