Neo4j Docker Container Can't Write Logs

Hi All

I am running two Neo4j Docker containers on the same server and both of them have an error with the logs. After using the docker logs command I realized that the containers can't write any logs anymore with the following errors:

The first container error:

ERROR StatusLogger Unable to write to stream /logs/debug.log for appender log
org.neo4j.logging.shaded.log4j.core.appender.AppenderLoggingException: Error writing to stream /logs/debug.log
at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:252)
at org.neo4j.logging.shaded.log4j.core.appender.FileManager.writeToDestination(FileManager.java:277)
at org.neo4j.logging.shaded.log4j.core.appender.rolling.RollingFileManager.writeToDestination(RollingFileManager.java:247)
at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.flushBuffer(OutputStreamManager.java:282)
at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.flush(OutputStreamManager.java:291)
at org.neo4j.logging.shaded.log4j.core.appender.AbstractOutputStreamAppender.directEncodeEvent(AbstractOutputStreamAppender.java:199)
at org.neo4j.logging.shaded.log4j.core.appender.AbstractOutputStreamAppender.tryAppend(AbstractOutputStreamAppender.java:190)
at org.neo4j.logging.shaded.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:181)
at org.neo4j.logging.shaded.log4j.core.appender.RollingFileAppender.append(RollingFileAppender.java:312)
at org.neo4j.logging.shaded.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
at org.neo4j.logging.shaded.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
at org.neo4j.logging.shaded.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
at org.neo4j.logging.shaded.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
at org.neo4j.logging.shaded.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:543)
at org.neo4j.logging.shaded.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:502)
at org.neo4j.logging.shaded.log4j.core.config.LoggerConfig.log(LoggerConfig.java:485)
at org.neo4j.logging.shaded.log4j.core.config.LoggerConfig.log(LoggerConfig.java:460)
at org.neo4j.logging.shaded.log4j.core.config.DefaultReliabilityStrategy.log(DefaultReliabilityStrategy.java:63)

The second container error:

ERROR StatusLogger Unable to write to stream /logs/debug.log for appender log
org.neo4j.logging.shaded.log4j.core.appender.AppenderLoggingException: Error writing to stream /logs/debug.log
at org.neo4j.logging.shaded.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:252)

They are running now but I can't see any logs, the last log for the first container was on 22/8/2021, but the second one was on 19/6/2021 !!!

Before two weeks the server disk was full and we expanded it, can it be the cause?

Could you please advise? I need to see the logs again.