Skip to content

qlever start --run-in-foreground, error: "tail: cannot open 'xxx.server-log.txt' for reading" #191

@patrickwyler

Description

@patrickwyler

I just noticed that when starting up our QLever pod with this command qlever start --run-in-foreground it can fail to stream the server logs from the log file into the console. After restarting the pod it most of the times works again.

Command

containers:
  - name: test-database
    image: adfreiburg/qlever:commit-ad67625
    command: ["/bin/sh", "-c", "qlever start --run-in-foreground"]
    workingDir: /data

Error

Command: start
ServerMain -i xxx -j 8 -p 7001 -m 1G -c 1G -e 1G -k 200 -s 30s -a xxx_7643543846s > xxx.server-log.txt 2>&1
Follow xxx.server-log.txt as long as the server is running (Ctrl-C stops the server)
tail: cannot open 'xxx.server-log.txt' for reading: No such file or directory
tail: no files remaining

Related to: #106

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