docspell icon indicating copy to clipboard operation
docspell copied to clipboard

error with docker logging enviroment variable

Open GenesisAdam opened this issue 4 months ago • 1 comments

Getting the following error message:

Using config from environment variables! pureconfig.error.ConfigReaderException: Cannot convert configuration to a docspell.restserver.Config. Failures are: at 'docspell.server.logging.levels.""org"': - (properties) Expected type STRING. Found OBJECT instead.

when I use the following docker environment variables:

DOCSPELL_SERVER_LOGGING_LEVELS_"ORG_FLYWAYDB": 'Info' DOCSPELL_SERVER_LOGGING_LEVELS_"ORG_HTTP4S": 'Info'

Please help. Thanks.

GenesisAdam avatar Sep 01 '25 14:09 GenesisAdam

Hi @GenesisAdam , I'm afraid this is not working with env vars at the moment. You'd need to use a config file. Unfortunately, the docs show this bad example, though :-|

eikek avatar Sep 17 '25 14:09 eikek