# 1.3.4

### ✨Fixes and Enhancements
#### Alpine Support
Version 1.3.4 brings about better apk support for Alpine OS

#### Auto-enrollment API
In Integration settings you can now create a single command (like a master command) which does not require that you add the host first. This is useful for embedding inside ansible deployment scripts or other use-cases where you have quite a few hosts to add.

<img width="500" height="400" alt="image" src="https://github.com/user-attachments/assets/4fb95ca8-703c-481b-acd9-adcdf54c14e6" />

NOTE: Proxmox api endpoint has changed: 

It now goes like this: 

`curl -s "https://patchmon-url/api/v1/auto-enrollment/script?type=proxmox-lxc&token_key=KEY&token_secret=SECRET" | bash`

Notice that at the end of the auto-enrollment we have a new endpoint called `script` , which then specifies the script type such as proxmox-lxc

#### Uninstallation command updated and script to remove the instance totally (with the ability to optionally remove backups of agents etc)

#### Reboot Needed flag
The server now gives a tag and notification if a host needs rebooting due to the kernel version mismatching when installed kernel differs from the running kernel. There is also a new dashboard card that shows this qty in the hosts table.

#### Other improvements
- Now uses POSIX compatible installation scripts
- Does not use /bin/bash , now we use /bin/sh
- Added robots.txt to discourage search engines from discovering a public facing version of PatchMon


#### Upgrading note / instructions 

Some members are reporting a upgrade Loop on their systems, please stop the patchmon-agent and start it again

`systemctl stop patchmon-agent && systemctl start patchmon-agent` after the upgrade.
The issue is that the built-in restart function after downloading the binary isn't loading the new binary files so it's using what's loading in cache/memory.

In the newer versions we have introduced a helper-script

### Upgrading
#### Docker
Pull the latest image and bring it up, nothing new needs doing to env or container settings.

#### Bare metal
`curl -fsSL -o setup.sh https://raw.githubusercontent.com/PatchMon/PatchMon/refs/heads/main/setup.sh && chmod +x setup.sh && bash setup.sh --update`

#### ProxMox community Script
Go into the LXC and type in `update`
https://community-scripts.github.io/ProxmoxVE/scripts?id=patchmon 

#### Agents
Agents will auto-upgrade to 1.3.4 if the settings have been selected to allow this.
Pinned release for the agent repo : https://github.com/PatchMon/PatchMon-agent/releases/tag/1.3.4

Many thanks to the community for their hard work and support. <3

[https://buymeacoffee.com/iby___](https://buymeacoffee.com/iby___)