[GH-ISSUE #469] get config error="load existing: read signer-cfg.yml: is a directory" #107

Closed
opened 2026-03-04 00:23:57 +03:00 by kerem · 2 comments
Owner

Originally created by @JohnnyPh on GitHub (Aug 23, 2024).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/469

I tried basic troubleshooting first

Updated both SignTools and the builder (SignTools-CI or SignTools-Builder) to the latest version
Read through the FAQ page
Describe the bug

When starting the container for the first time after installation, the application fails to load and outputs an error indicating that signer-cfg.yml is a directory instead of a file. Manually creating the file results in an "invalid parameter" error.

To reproduce

Steps to reproduce the behavior:

Install and configure SignTools on UnraidOS using Docker.
Start the container for the first time.
Observe the error in the logs.
Expected behavior

The application should successfully start and recognize signer-cfg.yml as a file, not a directory.

Logs

4:22AM FTL get config error="load existing: read signer-cfg.yml: is a directory"

No screenshots available, as the error is in the log.

System configuration

SignTools version: 3.0.4
Installation type: Docker on UnraidOS
Operating System: UnraidOS
Additional context

The issue occurs upon the initial start of the container after installation. Manually creating the signer-cfg.yml file leads to a different error indicating an invalid parameter.

Originally created by @JohnnyPh on GitHub (Aug 23, 2024). Original GitHub issue: https://github.com/SignTools/SignTools/issues/469 I tried basic troubleshooting first Updated both [SignTools](https://github.com/SignTools/SignTools) and the builder ([SignTools-CI](https://github.com/SignTools/SignTools-CI) or [SignTools-Builder](https://github.com/SignTools/SignTools-Builder)) to the latest version Read through the [FAQ page](https://github.com/SignTools/SignTools/blob/master/FAQ.md) Describe the bug When starting the container for the first time after installation, the application fails to load and outputs an error indicating that signer-cfg.yml is a directory instead of a file. Manually creating the file results in an "invalid parameter" error. To reproduce Steps to reproduce the behavior: Install and configure SignTools on UnraidOS using Docker. Start the container for the first time. Observe the error in the logs. Expected behavior The application should successfully start and recognize signer-cfg.yml as a file, not a directory. Logs 4:22AM FTL get config error="load existing: read signer-cfg.yml: is a directory" No screenshots available, as the error is in the log. System configuration SignTools version: 3.0.4 Installation type: Docker on UnraidOS Operating System: UnraidOS Additional context The issue occurs upon the initial start of the container after installation. Manually creating the signer-cfg.yml file leads to a different error indicating an invalid parameter.
kerem 2026-03-04 00:23:57 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ViRb3 commented on GitHub (Aug 24, 2024):

When you set up a bind-mount, if the path to your source file doesn't exist, Docker creates a directory for you. Make sure the file exists. Also, you will need to manually delete the directory once created, otherwise future mounts will go inside that directory instead of replacing it.

<!-- gh-comment-id:2308537701 --> @ViRb3 commented on GitHub (Aug 24, 2024): When you set up a bind-mount, if the path to your source file doesn't exist, Docker creates a directory for you. Make sure the file exists. Also, you will need to manually delete the directory once created, otherwise future mounts will go inside that directory instead of replacing it.
Author
Owner

@JohnnyPh commented on GitHub (Aug 25, 2024):

That exactly what I did (removing the folder and create a file with the same name) and I got "Execution error Bad parameter" if I replace the folder with the exact file name (I did removed the folder "signer-cfg.yml"
image

<!-- gh-comment-id:2308649009 --> @JohnnyPh commented on GitHub (Aug 25, 2024): That exactly what I did (removing the folder and create a file with the same name) and I got "Execution error Bad parameter" if I replace the folder with the exact file name (I did removed the folder "signer-cfg.yml" ![image](https://github.com/user-attachments/assets/4219b29b-cd6c-47c5-97ef-3c42ae6b4668)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SignTools#107
No description provided.