tail command after Graylog is installed returns 'No such file or directory' #1912

Closed
opened 2025-11-20 05:19:42 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @cardinal-tom on GitHub (Sep 19, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Graylog

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/graylog.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

pve-manager/9.0.9/117b893e0e6a4fee (running kernel: 6.14.11-1-pve)

📝 Provide a clear and concise description of the issue.

When I run tail /var/log/graylog-server/server.log after the installation finishes, I get the error 'tail: cannot open '/var/log/graylog-server/server.log' for reading: No such file or directory'. Running 'find / -name "graylog"' results in '/usr/local/community-scripts/headers/ct/graylog
/sys/fs/cgroup/lxc/103/ns/system.slice/graylog-datanode.service
/sys/fs/cgroup/lxc/103/ns/system.slice/graylog-server.service'

🔄 Steps to reproduce the issue.

Step 1: run 'bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/graylog.sh)"'
Step 2: run `tail /var/log/graylog-server/server.log'

Paste the full error output (if available).

'tail: cannot open '/var/log/graylog-server/server.log' for reading: No such file or directory'

🖼️ Additional context (optional).

Image
Originally created by @cardinal-tom on GitHub (Sep 19, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Graylog ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/graylog.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? pve-manager/9.0.9/117b893e0e6a4fee (running kernel: 6.14.11-1-pve) ### 📝 Provide a clear and concise description of the issue. When I run `tail /var/log/graylog-server/server.log` after the installation finishes, I get the error 'tail: cannot open '/var/log/graylog-server/server.log' for reading: No such file or directory'. Running 'find / -name "*graylog*"' results in '/usr/local/community-scripts/headers/ct/graylog /sys/fs/cgroup/lxc/103/ns/system.slice/graylog-datanode.service /sys/fs/cgroup/lxc/103/ns/system.slice/graylog-server.service' ### 🔄 Steps to reproduce the issue. Step 1: run 'bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/graylog.sh)"' Step 2: run `tail /var/log/graylog-server/server.log' ### ❌ Paste the full error output (if available). 'tail: cannot open '/var/log/graylog-server/server.log' for reading: No such file or directory' ### 🖼️ Additional context (optional). <img width="1076" height="906" alt="Image" src="https://github.com/user-attachments/assets/894a6aca-d659-4b61-8a81-b88a18f8067b" />
saavagebueno added the not a script issue label 2025-11-20 05:19:42 -05:00
Author
Owner

@MickLesk commented on GitHub (Sep 19, 2025):

You Execute this in the Host???

@MickLesk commented on GitHub (Sep 19, 2025): You Execute this in the Host???
Author
Owner

@cardinal-tom commented on GitHub (Sep 19, 2025):

Sorry, yes, ridiculous, I leave this here as a tombstone. May those who follow me benefit from my example.

@cardinal-tom commented on GitHub (Sep 19, 2025): Sorry, yes, ridiculous, I leave this here as a tombstone. May those who follow me benefit from my example.
Author
Owner

@tremor021 commented on GitHub (Sep 19, 2025):

@cardinal-tom you only ever run the install script on the host. Every other command we put on the script webpage is to be executed on the LXC, because everything after the bash install command is taking place inside the container.

@tremor021 commented on GitHub (Sep 19, 2025): @cardinal-tom you only ever run the install script on the host. Every other command we put on the script webpage is to be executed on the LXC, because everything after the bash install command is taking place inside the container.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1912