[PR #473] [MERGED] fix: detect app slug from LXC /usr/bin/update for port lookup #471

Closed
opened 2026-02-26 12:41:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/473
Author: @michelroegl-brunner
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @michelroegl-brunner

Base: mainHead: fix/365


📝 Commits (1)

  • aea14cd fix: detect app slug from LXC /usr/bin/update for port lookup

📊 Changes

1 file changed (+54 additions, -14 deletions)

View changed files

📝 src/server/api/routers/installedScripts.ts (+54 -14)

📄 Description

Resolve interface_port from community-scripts /usr/bin/update when hostname differs from JSON slug (e.g. lxcpeanut vs peanut).

  • Primary: Slug parsed from pct exec CTID -- cat /usr/bin/update (contains ct/<slug>.sh).
  • Fallback: Hostname/suffix match (existing behavior).

Fixes #365


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE-Local/pull/473 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `fix/365` --- ### 📝 Commits (1) - [`aea14cd`](https://github.com/community-scripts/ProxmoxVE-Local/commit/aea14cda7e916222a0e194acb6ff561bdb6e2dcd) fix: detect app slug from LXC /usr/bin/update for port lookup ### 📊 Changes **1 file changed** (+54 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/server/api/routers/installedScripts.ts` (+54 -14) </details> ### 📄 Description Resolve `interface_port` from community-scripts `/usr/bin/update` when hostname differs from JSON slug (e.g. `lxcpeanut` vs `peanut`). - **Primary:** Slug parsed from `pct exec CTID -- cat /usr/bin/update` (contains `ct/<slug>.sh`). - **Fallback:** Hostname/suffix match (existing behavior). Fixes #365 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 12:41:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE-Local#471
No description provided.