Files
community-scripts-ProxmoxVE/misc
dualfroz 9276663146 tools.func: fix mongodb version check, leading "v" never stripped
is_tool_installed parsed `mongod --version` ("db version v8.0.15") into
"v8.0" because the leading v was left in place. It never equals the target
"8.0", so setup_mongodb always took the clean-upgrade path and purged
mongodb-org on every run. On Omada that also drags omadac out as a
reverse-dependency, wiping the controller.

Strip the v like the node and go branches already do, so an unchanged
version compares equal and setup_mongodb just updates in place.
2026-08-26 16:26:08 +02:00
..