Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Common problems

Fixes for start errors, empty scans and missing Discord messages.

On this page

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.url opens 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.yml are excluded by default.
  • Files larger than Max file size are skipped.
  • Run with logging.level set to debug to 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.webhookUrl is filled in and discord.enabled is true.
  • 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.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.