Skip to content

Commit

Permalink
Merge pull request #21 from zebrapurring/fix-upgrade
Browse files Browse the repository at this point in the history
Fix issues with release upgrade
  • Loading branch information
zebrapurring authored Dec 8, 2024
2 parents 8d9e938 + a59c98b commit 3ca34a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Scripts/configureimmich.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,3 @@ DB_VECTOR_EXTENSION="pgvector"
REDIS_HOSTNAME="localhost"
EOF
fi

# Adjust permissions
chown -R "$IMMICH_USER:$IMMICH_GROUP" "$IMMICH_INSTALL_DIR"
3 changes: 3 additions & 0 deletions Scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ echo "Running postinstall as $(whoami)"
# Build Immich application
"$(pwd)/configureimmich.sh"

# Adjust permissions
chown -R "$IMMICH_USER:$IMMICH_GROUP" "$IMMICH_INSTALL_DIR"

# Install Launchd daemons
"$(pwd)/installdaemons.sh"
3 changes: 3 additions & 0 deletions Scripts/preinstall
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ echo "PATH=\"$homebrew_bindir:\$PATH\"" >> "$(pwd)/config.env"

# Configure database
"$(pwd)/configurepostgres.sh" "$POSTGRES_PASSWORD"

# Remove existing installation
rm -rf "$IMMICH_APP_DIR"

0 comments on commit 3ca34a1

Please sign in to comment.