ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
61 stars 37 forks source link

*.log0 file write error in docker containter #234

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

from tg:

Running oracle in Docker as a non-root user and now receiving this error:

log4rs: Permission denied (os error 13) err compressing: "/data/oracle-core.log", dst: "oracle-core.log0"

Volumes are mounted as: volumes:

Run command is: oracle-core --oracle-config-file /config/oracle_config.yaml --pool-config-file /config/pool_config.yaml -d /data run

The volumes above have owner/permissions per the defined non-root user. Perhaps the compressed file is being saved to a directory other than defined path: "-d /data"?