Skip to content

Troubleshooting

Robin Kooyman edited this page Oct 29, 2026 · 4 revisions

Troubleshooting

Find the error text in the tables below. Beacon shows install errors in the INSTALL result and in beacon.system.plugins.

Install errors

Error text Cause Fix
plugin SDK ABI 4, Beacon needs 5 The plugin uses an SDK of another Beacon version. Set the SDK to the Beacon version of the server. Run cargo update -p beacon-plugin-sdk. Build again.
plugin built for DataFusion FFI <a>, Beacon has <b> The plugin uses another DataFusion major version. The same fix.
no archive for df<major>-<target> or any The release has no archive for the DataFusion version or the target of the server. Build the archive for that target. Check the SDK version.
SHA256SUMS not found at <url> The release or the folder has no SHA256SUMS. Use the release workflow. Or run the pack script, which writes SHA256SUMS.
SHA256SUMS has no entry for <file> SHA256SUMS does not list the archive. Write SHA256SUMS again for all archives.
plugin '<name>' requires Beacon <range>, this is Beacon <version> plugin.beacon does not match the server. Install a release for this Beacon version. Or change plugin.beacon.
invalid plugin name '<name>' The name has other characters, or starts with a digit. Use lowercase letters, digits and _. Start with a letter.
plugin '<name>' needs [native] or [sql] The manifest has neither table. Add [native], [sql] or both.
native library <file> is missing: the plugin has <files> The archive is for another platform, or native.library names another file. Install the archive for the platform of the server. Check native.library against lib.name.
native library <file> is missing: the plugin has no library file The archive has no library. Pack with --library and --target.
the library has no beacon_plugin_abi symbol The library has no export macro. Add beacon_plugin_sdk::export_plugin!(...) to lib.rs.
plugin exports no functions and no file formats The export macro gives nothing. Add scalar = ..., formats = ... or both to the macro.
plugin init failed: <message> functions() failed or panicked. Read the message. A common cause is a builder without returns.
plugin file formats failed: <message> formats() failed or panicked. Read the message.
function '<f>' of plugin '<p>' collides with <owner> A function name or alias is in use. Start each name with the plugin name.
the file format key `<key>` is already in use A format name or extension is in use. A built-in format can hold it. Use another name or extension.
invalid file format name or extension `<text>` A format name or extension has other characters. Use lowercase a-z, 0-9 and _.
the function `read_<name>` is already in use Another format or table function has that name. Change the format name.
the manifest name '<a>' does not match the plugin name '<b>' The name after INSTALL is not plugin.name. Use plugin.name after INSTALL.
plugin SQL files may hold only CREATE FUNCTION A SQL file has another statement. Keep only CREATE FUNCTION statements.
the plugin folder <dir> already exists A folder with the plugin name is in the plugins directory. Run UNINSTALL <name>. Delete a broken folder by hand.

Query errors

Error text Cause Fix
file format `<name>` is not installed The plugin of the format is uninstalled. Install the plugin again.
read_<name> has no option `<key>`. Valid options: ... The options struct has an unknown field. Use a field of table_function_args.
read_<name> takes no options The format has no table_function_args. Remove the options struct.
cannot read the schema of <path> infer_schema failed for one file. Read the next part of the message. Check the file.
plugin function '<name>' panicked: <message> The function body panicked. Return an error with exec_err! instead.
'<f>' belongs to plugin '<p>'; use UNINSTALL <p> DROP FUNCTION on a plugin function. Use UNINSTALL.

Other problems

Problem Cause Fix
A filter on a plugin function prunes no files. The function has no planner hook. Add implies, or bounds and propagate. See Planner hooks.
Rows are missing with a planner hook. The implies or propagate rule is too narrow. Make the rule correct for each row. A wider rule is always correct.
The Beacon server stops at a query. A fault in native code, such as an out-of-bounds access in unsafe code. Remove unsafe code. Test with the unit tests and in a test server.
A query on a plugin format is slow, or other queries wait. A poll does much CPU work, or blocks. Keep each poll short. Do not block in async code.
cargo build fails with beacon plugins need panic = "unwind". The profile sets panic = "abort". Remove the setting.
The release workflow stops at "Read the manifest". The tag is not v<plugin.version>. Push a tag that matches the manifest.
A new tag in BEACON_PLUGINS does not update the plugin. Beacon installs only a plugin that is not installed. Run UNINSTALL, then INSTALL with the new tag.
The memory of the server grows after updates. Each install of a native plugin loads one more library. Restart the server.

Clone this wiki locally