core icon indicating copy to clipboard operation
core copied to clipboard

admin login

Open marioei opened this issue 9 months ago • 11 comments

hab mir gerade die 4.8 gezogen, und über docker wieder installiert, kann mich jetzt aber nicht mehr einloggen, miniserver ip stimm aber er schreib immer Cannot reach controller at 10.0.0.20. Check network and controller status. 10.0.0.20 ist die vom Miniserver

marioei avatar Mar 01 '26 16:03 marioei

hab es gefunden, hatte auf http den port nicht auf 80 sondern 824 am miniserver, wäre vielleicht gute den port auch anzugeben

marioei avatar Mar 01 '26 16:03 marioei

Hello,

While the new interface being protected by the Loxone Admin password is a great feature, it doesn't work if you've assigned a port other than the standard port 80 to the Miniserver. This should be fixed quickly. Thanks!

Holzmusik avatar Mar 01 '26 17:03 Holzmusik

I will ensure it works with any port in the next beta. These are still test versions, so there’s no need for a quick fix. Users who are not using port 80 can revert to beta 7 until the next beta is released. There will still be enough testers for beta 8 feedback.

rudyberends avatar Mar 01 '26 22:03 rudyberends

"There will still be enough testers for beta 8 feedback.". ...... Good to know

Holzmusik avatar Mar 02 '26 07:03 Holzmusik

hello,

After an update, I understood that the password was the same as for the miniserver, but that the port had to be changed. But where do you change this port? I can't see it.

ultra-spark avatar Mar 02 '26 08:03 ultra-spark

Does this also work with HTTPS and port 443?

mr-manuel avatar Mar 02 '26 09:03 mr-manuel

Does this also work with HTTPS and port 443?

yes (305fb3b)

rudyberends avatar Mar 02 '26 09:03 rudyberends

...tested, works, thank you very much! Even though I am no longer needed as a tester.

Holzmusik avatar Mar 02 '26 10:03 Holzmusik

@Holzmusik better to test with the dev branch, then you don't have to wait ;)

In case you are using Docker, I wrote a script for myself to easily update Lox AudioServer to the latest dev branch commit:

Update script for Docker with `dev` branch as source
#!/bin/bash

set -euo pipefail

REPO_URL="https://github.com/lox-audioserver/lox-audioserver.git"
REPO_PATH="/root/lox-audioserver"
BRANCH="dev"
SERVICE_NAME="loxoneaudioserver"
VOLUME_MAPPING="/opt/lox-audioserver/data:/app/data"
COMPOSE_FILE="docker-compose.yml"

echo "==> Ensuring repository exists at ${REPO_PATH}"

if [ ! -d "${REPO_PATH}/.git" ]; then
    echo "Repository not found. Cloning..."
    mkdir -p "$(dirname "${REPO_PATH}")"
    git clone "${REPO_URL}" "${REPO_PATH}"
fi

cd "${REPO_PATH}"

echo "==> Fetching latest changes"
git fetch origin

echo "==> Resetting repository"
git reset --hard
git clean -fd

echo "==> Checking out ${BRANCH}"
git checkout "${BRANCH}"
git reset --hard "origin/${BRANCH}"

echo "==> Ensuring data directory exists"
mkdir -p /opt/lox-audioserver/data

if [ ! -f "${COMPOSE_FILE}" ]; then
    echo "ERROR: docker-compose.yml not found!"
    exit 1
fi

echo "==> Ensuring volume mapping exists"

if grep -q "${VOLUME_MAPPING}" "${COMPOSE_FILE}"; then
    echo "Volume already configured."
else
    echo "Injecting volume into ${SERVICE_NAME} service..."

    awk -v service="${SERVICE_NAME}:" \
        -v volume="${VOLUME_MAPPING}" '
    BEGIN { in_service=0; volumes_exists=0 }

    # Detect service block
    $0 ~ "^[[:space:]]*" service {
        in_service=1
    }

    # Leave service block when new top-level service begins
    in_service && /^[[:space:]]{2}[a-zA-Z0-9_-]+:/ && $0 !~ service {
        if (!volumes_exists) {
            print "    volumes:"
            print "      - " volume
        }
        in_service=0
    }

    # Detect volumes section inside service
    in_service && /^[[:space:]]+volumes:/ {
        volumes_exists=1
        print
        print "      - " volume
        next
    }

    { print }

    END {
        if (in_service && !volumes_exists) {
            print "    volumes:"
            print "      - " volume
        }
    }
    ' "${COMPOSE_FILE}" > "${COMPOSE_FILE}.tmp"

    mv "${COMPOSE_FILE}.tmp" "${COMPOSE_FILE}"
fi

echo "==> Building containers"
docker compose build

echo "==> Starting containers"
docker compose up -d

echo "==> Done."

mr-manuel avatar Mar 02 '26 10:03 mr-manuel

No problem, I can wait. I'm still using the dev versions, though. I don't need the script; I built the entire installation as a Loxberry plugin and integrated my own update routines.

Regards

Holzmusik avatar Mar 02 '26 11:03 Holzmusik

...tested, works, thank you very much! Even though I am no longer needed as a tester.

That’s not what I meant. Your feedback is very welcome, and I didn’t realize you were experiencing this specific issue yourself.

My point was simply that I don’t want to push a new beta for a single change. Even though the patch is already on the dev branch, I’ll likely include it in a new beta release by the end of the week.

rudyberends avatar Mar 02 '26 18:03 rudyberends