config.yml not found#
The error is [ERROR] config.yml not found. The scanner looks for config.yml next to index.js. Put the file there.
Missing required configuration#
The error names the key, for example Missing required configuration: pterodactyl.apiKey. The keys pterodactyl.url, pterodactyl.apiKey and wings.basePath must have a value.
Failed to fetch servers#
The log shows Failed to fetch servers: ... and then Failed to fetch server list, and the scan stops. Check that:
pterodactyl.urlopens from the node.- The key is an Application API key that starts with
ptla_. - The key has Servers set to Read.
For example, Request failed with status code 401 means the key is wrong.
Server directory not found#
The log shows Server directory not found: <path>. The server is not on this machine, or wings.basePath is wrong. With several nodes, run a copy of the scanner on each node. The warning for servers that live on other nodes is expected. To remove it, set wings.scanMode to whitelist with the UUIDs of the servers on this node.
The scan finds nothing#
- Check that the files are matched by Include patterns and not by Exclude patterns. Files named
config.ymlare excluded by default. - Files larger than Max file size are skipped.
- Run with
logging.levelset todebugto see how many files each server has.
Too many false positives#
Add the path to Exclude patterns or the plugin to Plugin whitelist. You can also switch off a check with enabled: false or remove a pattern from the list. See What it detects.
No Discord message#
discord.webhookUrlis filled in anddiscord.enabledistrue.- severityThreshold is not higher than the findings of the scan. A clean scan only posts with notifyOnCleanScan.
- The log shows
Failed to send Discord notification: ...when Discord refused the message. Check the webhook.
Role mentions do not repeat#
With notifyOnFirstDetection on, a severity is announced once per server. Turn it off to use cooldownMinutes, or remove scanner-state.json to start again.
The scan count starts at 1 again#
The counter is kept in scanner-state.json in the folder you start the scanner from. Start it from the same folder each time.