Deploy Package, changed permission

Started by gerhard_m, September 18, 2025, 12:36:45 PM

Previous topic - Next topic

gerhard_m

Hello,

I tried to install the new agent version using the deploy package. I followed the instructions in the documentation (https://netxms.org/documentation/adminguide/package-manager.html#introduction). After confirming with "OK," the status "wait for agent" appeared, and after a while, the status "Failed" changed.

Screenshot 2025-09-18 111328.png

Whatever didn't work, the permission on the affected server /usr/ was changed.

Screenshot 2025-09-18 111545.png

How can this happen?

Filipp Sudanov

Hi,

Can you add
DebugLevel = 6
to agent's log and collect the log for the period of time while package upgrade is happening?
You can share the log file via private message if needed.


Filipp Sudanov

.apkg installer is actually a shell script joined with archive that contains agent file. If you do
head nxagent-5.2.6-linux-x86_64.apkg -n 118
you'll see the contents of the script.

I've tried to install it Ubuntu 24 Server, did not get the result that you are observing.

.apkg installer writes log file to /tmp/nxagentupdate.log. If you can repeat the installation, can you share that file?