Skip to content
AtGlance
Troubleshooting

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

  1. 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}}'
  1. 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"'
  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.

  2. 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

Link to this problem
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:8000 and 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.

Link to this problem
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.

  1. 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
  1. If ghcr.io stays blocked (proxy, firewall), use the same images from Docker Hub. Set the registry in .env and 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.

Link to this problem
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).

  1. Read the lines marked with a cross, and the app log: docker compose logs --tail 50 app.
  2. To go back, open the backup folder the updater printed (backups/update-* in the install folder). Its ROLLBACK.txt has the exact commands: restore the database dump and start the previous image version.
  3. To stay on one version, set ATGLANCE_VERSION=<version> in .env and run docker compose up -d.

More: Rollback.

Link to this problem
"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.

  1. Find the old passwords: an older .env, or the copy in backups/update-*/.
  2. Test one (1 means 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"'
  1. Put the working values in .env (leave REDIS_PASSWORD), then:
docker compose up -d --force-recreate
Link to this problem
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).

  1. Remove custom licence server settings from your override file or .env, then docker compose up -d.
  2. Download a new licence file from your dashboard.
  3. Activate it again in Settings › Licence.
Link to this problem
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.

  1. 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
  1. 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.

Link to this problem
The Remote Tunnel page shows "unavailable" after turning the plugin on Management Console Linux, Windows #remote tunnel #3.0

What you see: Opening /admin/tunnel shows a page saying Remote Tunnel is unavailable, or keeps loading, while the rest of the console works.

The console sends the Remote Tunnel pages to the ce-atglance-remote-tunnel container. That container is stopped or still starting.

cd /opt/atglance
docker compose ps remote-tunnel tunnel
docker compose logs --tail 50 remote-tunnel
docker exec ce-atglance-controller php artisan tunnel:plugin status
  • Not listed: start the console with docker-compose.tunnel.yml (see the problem above).
  • Listed but stopped: run docker exec ce-atglance-controller php artisan tunnel:plugin on.
  • Starting: wait until it is healthy (about a minute after an update), then reload.
Link to this problem
"<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.

  1. Open the connection profile › Settings.
  2. Add the host's network (for example 10.20.1.0/24, the VNet or VPC subnet) with port 22. Use the host's private address, not the bastion's public IP.
  3. Save and try again.

The bastion itself is a hop, not a target: it does not need to be in the allow-list.

Link to this problem
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).

Link to this problem
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.

Link to this problem
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).

Link to this problem
Problem not listed? Tell us what you see and we will help.
Contact support Docs