Skip to content

Configuration file issue #18

@loicalleyne

Description

@loicalleyne

Version
What version of Denali are you using? Run denali -h to see.
Version: 3bf3064

Describe the bug
Getting errors parsing configuration file, cannot start service.
Only able to start service with ./denali start --port 8080 --temp

To Reproduce
Steps to reproduce the behavior:

[api]
port = "8080"  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = "sqlite"    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
Error Decoding Config: toml: cannot decode TOML string into struct field struct { Port uint64 "env:\"PORT\"" }.Port of type uint64
[api]
port = 8080  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = "sqlite"    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
` is not supported as the storage backend. Only `postgres` and `sqlite` is.
[api]
port = 8080  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = sqlite    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
Error Decoding Config: toml: incomplete number

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions