Script: Ollama
Reported by: @mggk4
Guidelines
- Read and understood guidelines: yes
- Verbose mode used: no
Issue occurs during: Initial Creation / Installation
Environment
- Linux distribution: Debian
- Proxmox version: 9.1
- Default settings: Yes
- Advanced settings: No
- Exact command:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/ollama.sh)"
Description
grep command in line 30 for the latest version returns full url, resulting in error-code hence the url is not pointing to a downloadable file
Steps to reproduce
command execution.
Error output
✖️ Download failed – https://github.com/ollama/ollama/releases/download/https://api.github.com/repos/ollama/ollama/releases/320784974/ollama-linux-amd64.tar.zst not reachable
✖️ Installation failed in container 103 (exit code: 250)
Additional context
fixed the issue by referencing another method of latest version extraction:
RELEASE=$(curl -fsSL
-H "Accept: application/vnd.github.v3+json"
-H "User-Agent: Mozilla/5.0"
https://api.github.com/repos/ollama/ollama/releases/latest 2>/dev/null |
grep -o '"tag_name"[^,]*' |
sed 's/"tag_name":"//g' |
sed 's/"//g')
Script: Ollama
Reported by: @mggk4
Guidelines
Issue occurs during: Initial Creation / Installation
Environment
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/ollama.sh)"Description
grep command in line 30 for the latest version returns full url, resulting in error-code hence the url is not pointing to a downloadable file
Steps to reproduce
command execution.
Error output
✖️ Download failed – https://github.com/ollama/ollama/releases/download/https://api.github.com/repos/ollama/ollama/releases/320784974/ollama-linux-amd64.tar.zst not reachable
✖️ Installation failed in container 103 (exit code: 250)
Additional context
fixed the issue by referencing another method of latest version extraction:
RELEASE=$(curl -fsSL
-H "Accept: application/vnd.github.v3+json"
-H "User-Agent: Mozilla/5.0"
https://api.github.com/repos/ollama/ollama/releases/latest 2>/dev/null |
grep -o '"tag_name"[^,]*' |
sed 's/"tag_name":"//g' |
sed 's/"//g')