Open danielstojkovski opened 4 months ago
@danielstojkovski We are working on adding support for Ubuntu 24.04 for scalyr-agent
Meanwhile could you, please, try AIO package?
sudo apt-get update
sudo apt-get remove scalyr-agent-2
sudo apt-get install scalyr-agent-2-aio
This package contains all necessary libraries and packages as bundle.
Hello, I am using the install instructions from here: https://app.scalyr.com/help/install-agent-linux?teamToken=zKjoHZMakitVemhyJ1xvXQ-- inside a docker image. When I use ubuntu:24.04, I get the following:
Adding the scalyr agent repository. Update scalyr repository. Installing scalyr-agent-2 package Install failed while executing "apt-get -y install scalyr-agent-2". Execute "apt-get -y install scalyr-agent-2" to see error.
Displaying last 20 lines from scalyr_install.log
See scalyr_install.log for additional details. The command '/bin/sh -c bash ./install-agent.sh --set-api-key 0xJ6z1ov6Wtz8I7x9IxhYPJa88XerYd49JiSf1N4a18U-' returned a non-zero code: 1
I tried building the same docker image with ubuntu:22.04 base and it worked fine. However when I used the image on an ubuntu:24.04 based device I encountered a journal file incompatibility, and I couldn't see logs in scalyr- this is a second order issue, I am sure when I can install scalyr on an ubuntu:24.04 base image everything will be fine :)
FYI, running journalctl inside the container gives me:
root@up-000732a73172:/# SYSTEMD_LOG_LEVEL=debug journalctl --file=/run/log/journal/f5379ddd066b4793982a6b3bfe2de19f/system@3467afaf27734a80a2993ede8cba20e2-0000000000000001-000617bfd915e2b9.journal Journal effective settings seal=no keyed_hash=yes compress=no compress_threshold_bytes=8B Journal file /run/log/journal/f5379ddd066b4793982a6b3bfe2de19f/system@3467afaf27734a80a2993ede8cba20e2-0000000000000001-000617bfd915e2b9.journal has unknown incompatible flags 0x10 Failed to open journal file /run/log/journal/f5379ddd066b4793982a6b3bfe2de19f/system@3467afaf27734a80a2993ede8cba20e2-0000000000000001-000617bfd915e2b9.journal: Protocol not supported mmap cache statistics: 0 context cache hit, 0 window list hit, 1 miss Failed to open files: Protocol not supported