You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is an error when installing Loki as mentioned in the official documentation using apt. After following the installation steps, the Loki service fails to start.
bash apt-get update apt-get install loki promtail
When checking the Loki service status, it reports a failure:
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2024-12-15 15:12:35 KST; 651ms ago
Process: 1090824 ExecStart=/usr/bin/loki -config.file /etc/loki/config.yml (code=exited, status=1/FAILURE)
Main PID: 1090824 (code=exited, status=1/FAILURE)
CPU: 97ms
To Reproduce
Steps to reproduce the behavior:
Run the following commands:
apt-get update apt-get install loki promtail
Check the status of the Loki service:
sudo systemctl status loki
Observe the error:
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since ...
Process: 1090824 ExecStart=/usr/bin/loki -config.file /etc/loki/config.yml (code=exited, status=1/FAILURE)
Main PID: 1090824 (code=exited, status=1/FAILURE)
Expected behavior
The Loki service should start successfully and its status should indicate that it is active and running.
For example:
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-12-15 15:27:59 KST; 23s ago
Main PID: 1094130 (loki)
Tasks: 10 (limit: 9252)
CPU: 230ms
CGroup: /system.slice/loki.service
└─1094130 /usr/bin/loki -config.file /etc/loki/config.yml
Environment
Infrastructure: Raspberry pi 5
Operating System: Debian GNU/Linux 12 (bookworm)
Screenshots or Logs
Additional Context
- The service fails even when attempting to run Loki manually:
/usr/bin/loki -config.file=/etc/loki/config.yml
- The error log reports:
failed parsing config: /etc/loki/config.yml: yaml: unmarshal errors:
line 41: field enabled not found in type aggregation.Config
Please let me know if I need to provide additional details or configurations!
The text was updated successfully, but these errors were encountered:
Describe the bug
There is an error when installing Loki as mentioned in the official documentation using
apt
. After following the installation steps, the Loki service fails to start.bash apt-get update apt-get install loki promtail
When checking the Loki service status, it reports a failure:
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2024-12-15 15:12:35 KST; 651ms ago
Process: 1090824 ExecStart=/usr/bin/loki -config.file /etc/loki/config.yml (code=exited, status=1/FAILURE)
Main PID: 1090824 (code=exited, status=1/FAILURE)
CPU: 97ms
To Reproduce
Steps to reproduce the behavior:
apt-get update apt-get install loki promtail
sudo systemctl status loki
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since ...
Process: 1090824 ExecStart=/usr/bin/loki -config.file /etc/loki/config.yml (code=exited, status=1/FAILURE)
Main PID: 1090824 (code=exited, status=1/FAILURE)
Expected behavior
The Loki service should start successfully and its status should indicate that it is active and running.
For example:
loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-12-15 15:27:59 KST; 23s ago
Main PID: 1094130 (loki)
Tasks: 10 (limit: 9252)
CPU: 230ms
CGroup: /system.slice/loki.service
└─1094130 /usr/bin/loki -config.file /etc/loki/config.yml
Environment
Screenshots or Logs
Additional Context
- The service fails even when attempting to run Loki manually:
/usr/bin/loki -config.file=/etc/loki/config.yml
- The error log reports:
failed parsing config: /etc/loki/config.yml: yaml: unmarshal errors:
line 41: field enabled not found in type aggregation.Config
Please let me know if I need to provide additional details or configurations!
The text was updated successfully, but these errors were encountered: