Skip to content

Alpine install method double-prepends "alpine-" to slug, causing 404 (alpine-alpine-it-tools.sh)Β #596

@anon79678

Description

@anon79678

βœ… Have you read and understood the above guidelines?

yes

πŸ“ Provide a clear and concise description of the issue.

When loading a script whose slug already begins with alpine-, the app constructs
the download filename by prepending alpine- to the slug for the "alpine" install
method. This results in a doubled prefix and a 404; example: alpine-alpine-it-tools.sh.

πŸ”„ Steps to reproduce the issue.

  1. Open PVE Scripts Local.
  2. Load/download the "Alpine-IT-Tools" (alpine-it-tools) script.
  3. Observe the 404 in the logs.

❌ Paste the full error output (if available).

May 29 17:56:02 pve-scripts-local npm[10759]: Loading script "Alpine-IT-Tools" (alpine-it-tools) from repository: https://github.com/community-scripts/ProxmoxVE
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Ensuring directory exists: /opt/ProxmoxVE-Local/scripts/ct
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Directory created/verified: /opt/ProxmoxVE-Local/scripts/ct
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Ensuring directory exists: /opt/ProxmoxVE-Local/scripts/install
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Directory created/verified: /opt/ProxmoxVE-Local/scripts/install
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Ensuring directory exists: /opt/ProxmoxVE-Local/scripts/tools
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Directory created/verified: /opt/ProxmoxVE-Local/scripts/tools
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Ensuring directory exists: /opt/ProxmoxVE-Local/scripts/vm
May 29 17:56:02 pve-scripts-local npm[10759]: [Directory Creation] Directory created/verified: /opt/ProxmoxVE-Local/scripts/vm
May 29 17:56:02 pve-scripts-local npm[10759]: Downloading script file: ct/alpine-alpine-it-tools.sh from https://github.com/community-scripts/ProxmoxVE
May 29 17:56:02 pve-scripts-local npm[10759]: Downloading from repository: https://github.com/community-scripts/ProxmoxVE (ct/alpine-alpine-it-tools.sh)
May 29 17:56:02 pve-scripts-local npm[10759]: Error loading script: Error: Failed to download ct/alpine-alpine-it-tools.sh: 404 Not Found
May 29 17:56:02 pve-scripts-local npm[10759]:     at g.downloadRawFile (.next/server/chunks/325.js:1:2093)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async m.loadScript (.next/server/chunks/325.js:1:8582)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async (.next/server/app/api/trpc/[trpc]/route.js:8:23817)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async bB.middlewares (.next/server/app/api/trpc/[trpc]/route.js:5:7818)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async bF (.next/server/app/api/trpc/[trpc]/route.js:8:69)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async bF (.next/server/app/api/trpc/[trpc]/route.js:8:69)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async b (.next/server/app/api/trpc/[trpc]/route.js:5:8054)
May 29 17:56:02 pve-scripts-local npm[10759]:     at async (.next/server/app/api/trpc/[trpc]/route.js:1:46190)

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions