-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Labels
bugSomething isn't workingSomething isn't working
Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
alpine-tinyauth
π What was the exact command used to execute the script?
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-tinyauth.sh)"
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Alpine
π Provide a clear and concise description of the issue.
Tried using the helperscript for tinyauth on my machine.
Tested it with deafault and also advanced setting.
Always crashing when promted to enter the subdomain for the service. Entering https://my.domain.com or only my or nothing always crashes the script with the same error.
π Steps to reproduce the issue.
- open shell on proxmox
- paste
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-tinyauth.sh)"and hit enter - installing via default settings
- getting promted to enter subdomain for tinyauth
- entering
https://my.domain.comor onlymyor nothing - getting crash error of the script
β Paste the full error output (if available).
Enter your Tinyauth subdomain (e.g. https://tinyauth.example.com):
Creating Tinyauth Service0: line 52: line: unbound variable
[ERROR] in line 52: exit code 1: while executing command cat <<EOF > /etc/init.d/tinyauth
#!/sbin/openrc-run
description="Tinyauth Service"
command="/opt/tinyauth/tinyauth"
directory="/opt/tinyauth"
command_user="root"
command_background="true"
pidfile="/var/run/tinyauth.pid"
start_pre() {
if [ -f "/opt/tinyauth/.env" ]; then
while IFS= read -r line || [ -n "$line" ]; do
[ -z "$line" ] && continue
case "$line" in
'#'*)
continue
;;
esac
export "$line"
done < "/opt/tinyauth/.env"
fi
}
depend() {
use net
}
EOF
/dev/fd/63: line 74: SPINNER_PID: unbound variable
πΌοΈ Additional context (optional).
I found this PR which sounds like fixing this error but it haven't it seems: #4901
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working