Skip to content

docker setup fails on github actions but not locally #3

@JsLth

Description

@JsLth

$up() on a docker setup produces some really funky errors when run on Github Actions that cannot easily be reproduced locally. This happens on all operating systems.

The service ran into the following errors:
    * StatusConsoleListener Unable to create file ./logs/ors.log
    * StatusConsoleListener Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@4f704591] unable to create manager for [./logs/ors.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@4b5189ac[pattern=${sys:LOG_PATH}/${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[SizeBasedTriggeringPolicy(size=10485760)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout=%d{yyyy-MM-dd HH:mm:ss} %p [%-40.40c{1.}] - %m%n, filePermissions=null, fileOwner=null]]
    * StatusConsoleListener Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender
    * StatusConsoleListener Null object returned for RollingFile in Appenders.
    * StatusConsoleListener Unable to locate appender "File" for logger config "root"
    * ORS-Init [ o.h.o.r.RoutingProfileManager ]
    * ORS-Init [ o.h.o.r.RoutingProfileManager ] Failed to either read or execute the ors configuration and its parameters: java.lang.RuntimeException: Directory /home/ors/./graphs/car does not exist and cannot be created to place lock file there: /home/ors/./graphs/car/gh.lock

https://github.com/JsLth/rors/actions/runs/10874963807/job/30172833438

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions