mirror of
https://github.com/SignTools/SignTools.git
synced 2026-04-27 19:05:49 +03:00
[GH-ISSUE #469] get config error="load existing: read signer-cfg.yml: is a directory" #107
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SignTools#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@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"
