NetXMS Support Forum

English Support => General Support => Topic started by: gerhard_m on September 18, 2025, 12:36:45 PM

Title: Deploy Package, changed permission
Post by: gerhard_m on September 18, 2025, 12:36:45 PM
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?
Title: Re: Deploy Package, changed permission
Post by: Filipp Sudanov on September 18, 2025, 12:46:24 PM
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.
Title: Re: Deploy Package, changed permission
Post by: gerhard_m on September 19, 2025, 11:00:00 AM
Screenshot 2025-09-19 094916.png
Title: Re: Deploy Package, changed permission
Post by: Filipp Sudanov on October 08, 2025, 04:48:29 PM
.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?