Known problems and fixes
Common problems with the AtGlance CLI and the Management Console, and how to solve them.
After an update, the console app won't start (dependency app failed to start) and its log shows Access denied for user 'atglance', because the database was created with different passwords than the on Management Console Windows
What you see: Similar like ✘ Container ce-atglance-app Error dependency app failed to start
- Find the passwords the database was created with. Look in the .env that was in use when the volume was created, or in a copy under backups/update-*/ in the install folder. This command shows the date:
docker volume inspect atglance_db-data --format '{{.CreatedAt}}'
- Test a candidate password. 1 means it is correct, ERROR 1045 means it is not:
docker exec -e P='<password>' ce-atglance-db sh -c 'MYSQL_PWD="$P" mysql -uatglance -P23306 -h127.0.0.1 -e "select 1"'
-
Back up the install's .env. Then set DB_PASSWORD and DB_ROOT_PASSWORD to the working values. Leave REDIS_PASSWORD unchanged. On Windows, edit C:\ProgramData\AtGlance.env from an Administrator PowerShell.
-
Re-create the containers:
docker compose up -d --force-recreate
Prevention: If you run a development copy on the same machine, start it under its own project name so it does not share the install's database:
docker compose -p atglance-dev -f docker-compose.yml -f docker-compose.dev.yml up -d --build
The console works on IP:8000, but on my domain the page loads without styles or logo Management Console Linux, Windows #reverse proxy #custom domain #https
What you see: http://<server-ip>:8000 looks fine. https://<your-domain> shows plain text, no colours, no logo. A reverse proxy on the server (aaPanel, nginx, Apache) forwards the domain to port 8000.
Cause: the proxy does not pass the real host name and HTTPS to the console, so the page links its styles to http://localhost or http://127.0.0.1:8000, which the browser cannot load.
Check which address the page uses.
Linux:
curl -s https://<your-domain>/ | grep -o 'href="[^"]*atglance.css[^"]*"'
Windows (PowerShell):
(Invoke-WebRequest https://<your-domain>/ -UseBasicParsing).Content | Select-String 'href="[^"]*atglance.css[^"]*"' | ForEach-Object { $_.Matches.Value }
It should start with https://<your-domain>/. If it shows localhost, 127.0.0.1 or http://, follow these steps.
1. Pass the host name and HTTPS through the proxy
nginx: use this location block in the site config, then run nginx -t && nginx -s reload.
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
Cpanel/aaPanel/CloudPanel: open the site, Reverse proxy, then edit the proxy for /:
- Reverse proxy tab: keep the target
http://127.0.0.1:8000and set Send Host to$host. Save. - Config tab: paste the three lines below and save. Leave out X-Forwarded-For; aaPanel already sets it.
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
Apache: in the HTTPS virtual host, next to ProxyPass / http://127.0.0.1:8000/, add:
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"
2. Let the console trust the proxy
The proxy reaches the console from the Docker network, which it does not trust by default. Run on the server.
Linux:
docker exec ce-atglance-app sh -c 'echo "ATGLANCE_TRUSTED_PROXIES=127.0.0.1,::1,172.16.0.0/12" >> /app/storage/.env'
cd /opt/atglance && docker compose restart app worker scheduler
Windows (PowerShell):
docker exec ce-atglance-app sh -c 'echo "ATGLANCE_TRUSTED_PROXIES=127.0.0.1,::1,172.16.0.0/12" >> /app/storage/.env'
cd C:\ProgramData\AtGlance; docker compose restart app worker scheduler
3. Set the domain in the console
Log in on http://<server-ip>:8000 as the super admin:
- Site Settings → Plugins: turn on Custom Domain & HTTPS.
- Site → Access URL: enter your domain, without
http://and without a port. - HTTPS: choose Handled by my platform, because your proxy holds the certificate. Save.
4. Check again
Run the check command again. It should now show https://<your-domain>/css/atglance.css. Reload the page with Ctrl+F5.
Servers running the atglance CLI still connect on port 8002 of the same host. Keep that port open; the domain only fronts the web console.
docker compose pull says denied or unauthorized on ghcr.io Management Console Linux, Windows #install #upgrade #ghcr #registry
What you see: The installer, the updater or docker compose pull stops with "denied", "unauthorized" or "403" for an image on ghcr.io/atglance-system/atglance.
Cause: Docker sends old or wrong GitHub credentials, or the registry cannot be reached from the server.
- Remove stored credentials for the registry and try again (the images are public, no login is needed):
docker logout ghcr.io
cd /opt/atglance && sudo docker compose pull
- If ghcr.io stays blocked (proxy, firewall), use the same images from Docker Hub. Set the registry in
.envand pull again:
sudo sed -i 's|^ATGLANCE_REGISTRY=.*|ATGLANCE_REGISTRY=atglance|' /opt/atglance/.env
cd /opt/atglance && sudo docker compose pull && sudo docker compose up -d
A new install can do the same with the installer option --registry atglance.
The old installer link on app.atglance.live fails or installs an old console Management Console Linux, Windows #install #upgrade #installer
What you see: curl https://app.atglance.live/console/atglance-installer.sh (or the updater) gives an error, or installs an older version than the one on the downloads page.
The installer, the updater and the Docker Compose files moved to the public repository AtGlance-system/atGlance. Use the new links:
Install (Linux):
curl -fsSL https://raw.githubusercontent.com/AtGlance-system/atGlance/main/scripts/atglance-installer.sh | sudo bash
Install (Windows, PowerShell as Administrator):
irm https://raw.githubusercontent.com/AtGlance-system/atGlance/main/scripts/atglance-installer.ps1 | iex
Update (Linux):
curl -fsSL https://raw.githubusercontent.com/AtGlance-system/atGlance/main/scripts/atglance_update.sh | sudo bash -s -- --yes
An existing console keeps its data, passwords and settings when you update it with the new updater.
The updater ends with "a check failed" (exit code 2) Management Console Linux, Windows #upgrade #rollback
What you see: atglance_update.sh or atglance_update.ps1 finishes with exit code 2 and lines marked with a cross.
The update is applied, but a check after it failed (database, container health).
- Read the lines marked with a cross, and the app log:
docker compose logs --tail 50 app. - To go back, open the backup folder the updater printed (
backups/update-*in the install folder). ItsROLLBACK.txthas the exact commands: restore the database dump and start the previous image version. - To stay on one version, set
ATGLANCE_VERSION=<version>in.envand rundocker compose up -d.
More: Rollback.
"Access denied for user 'atglance'" after an update or a new .env Management Console Linux, Windows #upgrade #database #mysql
What you see: The app never becomes healthy and its log shows Access denied for user 'atglance'. The database container itself is healthy.
Cause: MySQL keeps the passwords from the day its volume was created. A .env with other DB_PASSWORD or DB_ROOT_PASSWORD values locks the app out.
- Find the old passwords: an older
.env, or the copy inbackups/update-*/. - Test one (
1means it is right):
docker exec -e P='<password>' ce-atglance-db sh -c 'MYSQL_PWD="$P" mysql -uatglance -P23306 -h127.0.0.1 -e "select 1"'
- Put the working values in
.env(leaveREDIS_PASSWORD), then:
docker compose up -d --force-recreate
The licence file is rejected with E_KEY_ID Management Console #licence #activation
What you see: Settings › Licence, or the setup wizard, says the licence cannot be verified (E_KEY_ID).
Cause: the licence file was signed with a key this console does not know. This happens with a licence file from a test or staging licence server, or when the console's licence server settings were changed (for example in a docker-compose.override.yml).
- Remove custom licence server settings from your override file or
.env, thendocker compose up -d. - Download a new licence file from your dashboard.
- Activate it again in Settings › Licence.
Remote Tunnel says "The tunnel service is not set up on this console" Management Console Linux, Windows #remote tunnel #3.0
What you see: Remote Tunnel is on in Site Settings › Plugins, but its pages show "The tunnel service is not set up on this console". Profiles can be saved; connectors and sessions do not start.
Remote Tunnel runs in two extra containers, ce-atglance-remote-tunnel and ce-atglance-tunnel, which come from the docker-compose.tunnel.yml overlay of Management Console 3.0. The overlay also creates their shared secret.
- Start the console with the overlay (add your other overlays too):
cd /opt/atglance
sudo docker compose -f docker-compose.yml -f docker-compose.tunnel.yml up -d
- Turn the plugin on through the service controller and check it:
docker exec ce-atglance-controller php artisan tunnel:plugin on
docker exec ce-atglance-controller php artisan tunnel:plugin status
Console 2.4.0 does not include Remote Tunnel.
"<host>:22 is not in this profile's allow-list" Management Console Azure, AWS, Google Cloud #remote tunnel #bastion #allow-list
What you see: A check, a terminal or a reverse tunnel for a host fails with "10.20.1.6:22 is not in this profile's allow-list" (or "is not in the allow-list of profile ...").
A connection profile only reaches the networks and ports in its allow-list. No match means deny.
- Open the connection profile › Settings.
- Add the host's network (for example
10.20.1.0/24, the VNet or VPC subnet) with port22. Use the host's private address, not the bastion's public IP. - Save and try again.
The bastion itself is a hop, not a target: it does not need to be in the allow-list.
Reverse tunnel shows Error: host key changed, port refused or login failed Management Console Linux, Azure, AWS, Google Cloud #remote tunnel #reverse tunnel #ssh
What you see: Site › Reverse tunnel shows a host as Error, or it switches between Connecting and Error.
The message names the step that failed:
| Message | Fix |
|---|---|
hop 1 (bastion …): host key SHA256:… not confirmed yet |
Confirm the bastion's key on the profile's Hops tab |
SSH login failed |
Check the host's Target login: user, key or password, or that sshd trusts the console CA (TrustedUserCAKeys) |
the target's SSH host key changed |
The VM was rebuilt. Reset its key under Target logins › Pinned SSH host keys |
the host refused port 8002 on 127.0.0.1 |
The port is in use on the host, or sshd has AllowTcpForwarding no. Choose another port, or set AllowTcpForwarding yes and restart sshd |
target not in the profile's allow-list |
Add the host's network and SSH port to the profile's allow-list |
After a drop the tunnel logs in again by itself (after 5 s, then up to every 60 s).
Agent Monitoring or Remote Tunnel is missing in the console Management Console #agent monitoring #remote tunnel #3.0 #plugins
What you see: The docs describe Agent Monitoring and Remote Tunnel, but Site Settings › Plugins does not list them, or the menus are missing.
Both features need Management Console 3.0 and a licence that includes them. The current public release (2.4.0) does not include them.
With 3.0, start the console with their overlays (docker-compose.agents.yml, docker-compose.tunnel.yml), then turn them on in Site Settings › Plugins. See Set up Agent Monitoring and Remote Tunnel.
The CLI on a private VM cannot reach the console AtGlance CLI Linux, Azure, AWS, Google Cloud #remote tunnel #reverse tunnel #bastion #register
What you see: On a VM without a public IP (behind a bastion), atglance login or system register times out or says Connection refused.
The VM has no route to the console's port 8002. Let the console open the connection instead, with a reverse tunnel (Management Console 3.0, Remote Tunnel):
- In the console, add the host under Site › Reverse tunnel and wait for Connected.
- On the VM, use the forwarded port on its own loopback, and record its real address with
--ip:
sudo atglance login --server http://127.0.0.1:8002
sudo atglance system register --ip 10.20.1.6
sudo atglance agent install && sudo atglance agent start
Nothing is installed in the private network and no inbound port is opened. See Add servers without a public IP.
apt or rpm refuses to install an older CLI version AtGlance CLI Linux, Raspberry Pi #downgrade #apt #rpm
What you see: Installing an older atglance package fails with "downgrade" or "package ... is already installed".
Package managers do not downgrade by default. Allow it explicitly:
Debian, Ubuntu, Raspberry Pi OS:
sudo apt install --allow-downgrades ./atglance_<version>_<arch>.deb
RHEL, Fedora, Rocky:
sudo rpm -Uvh --oldpackage atglance-<version>.<arch>.rpm
The configuration in /etc/atglance is kept. The exact commands for each release are in your dashboard under Install › CLI.
PowerShell says "running scripts is disabled on this system" Management Console Windows #install #upgrade #windows
What you see: Running atglance-installer.ps1 or atglance_update.ps1 fails with "cannot be loaded because running scripts is disabled on this system".
Run the script with a one-time policy, in PowerShell as Administrator:
powershell -ExecutionPolicy Bypass -File .\atglance-installer.ps1
Docker Desktop must run Linux containers (right-click the Docker icon, Switch to Linux containers).