-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
β Have you read and understood the above guidelines?
yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
scanopy
π What was the exact command used to execute the script?
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/scanopy.sh)"
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 13
π Which Proxmox version are you on?
9.1.4
π Provide a clear and concise description of the issue.
The included script /root/configure_daemon.sh pulls the API key from the database table api_keys and passes it as the value of --daemon-api-key in the created systemd file for scanopy-daemon
The problem is, the API key stored in the api_keys table is a hash of the key, not the key itself. this results in the daemon registration failing due to an invalid api key, and it getting stuck in a retry/restart loop.
it does not look like the api key is obtainable from the db table, so the script itself may have to be removed or altered to prompt for manual api key insertion
π Steps to reproduce the issue.
- create the lxc using the install script
- open the webui and create a new account, do nothing else.
- inside the lxc, run /root/configure_daemon.sh
journalctl -fu scanopy-daemonshows the registration failurecat /etc/systemd/system/scanopy-daemonshows the api key hash taken from the DB.- note its length (65 chars). api keys are 33 chars in length.
- in the web ui, create a new API key, note the key and its length (33 chars)
- select all rows from api_keys table, the api key is 65 chars and not the original key (its a hash)
β Paste the full error output (if available).
Dec 30 23:38:33 scanopy scanopy-daemon[18451]: 2025-12-30T23:38:33.177371Z WARN scanopy::daemon::runtime::service: API key not yet active. This daemon was likely installed before account registration was completed. Waiting for account creation... Retrying in 16 seconds. daemon_id=6c5b6833-9163-405f-aaf4-ad20b796a6af attempt=6
πΌοΈ Additional context (optional).
No response