Muhammad Ibrahim
bbb97dbfda
fix: Remove EXIT from error trap to prevent false failures on successful completion
2025-10-02 14:37:38 +01:00
Muhammad Ibrahim
e0eb544205
fix: Make all counter increments safe with || true to prevent set -e exit
2025-10-02 13:42:09 +01:00
Muhammad Ibrahim
51982010db
fix: Pass API credentials directly to curl instead of via env vars
2025-10-02 13:41:12 +01:00
Muhammad Ibrahim
dc68afcb87
fix: Prevent set -e exit on agent install failure and show output
2025-10-02 13:39:28 +01:00
Muhammad Ibrahim
bec09b9457
fix: Download agent installer to file before executing to prevent stdin pipe hang
2025-10-02 13:37:55 +01:00
Muhammad Ibrahim
55c8f74b73
chore: Bump debug version to 1.0.0-debug.6
2025-10-02 13:16:09 +01:00
Muhammad Ibrahim
16ea1dc743
fix: Make logging functions always return 0 to prevent set -e exit
2025-10-02 13:15:57 +01:00
Muhammad Ibrahim
8c326c8fe2
debug: Add version echo at script start for verification
2025-10-02 13:14:38 +01:00
Muhammad Ibrahim
2abc9b1f8a
debug: Add strict error handling and exit trap to diagnose silent exit
2025-10-02 13:12:29 +01:00
Muhammad Ibrahim
e5f3b0ed26
debug: Add detailed logging to diagnose where script hangs
2025-10-02 13:10:51 +01:00
Muhammad Ibrahim
bfc5db11da
fix: Close stdin before while loop to prevent hang when piped from curl
2025-10-02 13:09:13 +01:00
Muhammad Ibrahim
a0bea9b6e5
fix: Remove global exec stdin redirect that breaks curl pipe
2025-10-02 13:03:50 +01:00
Muhammad Ibrahim
ebda7331a9
fix: Detach stdin globally to prevent curl pipe hangs in Proxmox script
2025-10-02 12:55:52 +01:00
Muhammad Ibrahim
9963cfa417
fix: Add timeouts and stdin redirection to prevent pct exec hanging
2025-10-02 08:28:07 +01:00
Muhammad Ibrahim
b99f4aad4e
feat: Add Proxmox LXC auto-enrollment integration
...
- Add auto_enrollment_tokens table with rate limiting and IP whitelisting
- Create backend API routes for token management and enrollment
- Build frontend UI for token creation and management
- Add one-liner curl command for easy Proxmox deployment
- Include Proxmox LXC discovery and enrollment script
- Support future integrations with /proxmox-lxc endpoint pattern
- Add comprehensive documentation
Security features:
- Hashed token secrets
- Per-day rate limits
- IP whitelist support
- Token expiration
- Separate enrollment vs host API credentials
2025-10-02 07:50:10 +01:00
Muhammad Ibrahim
fe448d0111
Removed crontab insertion as the initial update by the agent configures crontab anyway
2025-10-01 20:43:37 +01:00
Muhammad Ibrahim
28124f5fba
Fixed selinux detection issue
2025-10-01 13:13:39 +01:00
Muhammad Ibrahim
d13469ce33
Fixed dnf and issues for almalinux / rhel dervied systems, added bc as a prerequisite
2025-10-01 12:50:55 +01:00
Muhammad Ibrahim
42f882c1c6
Made installation script output the install for jq and curl if theres any issues with repos rathet than just exiting
2025-10-01 10:52:08 +01:00
Muhammad Ibrahim
8eb75fba7d
Fixed agent outputs and improved crontab chancing logics, added timedatectl functionality
2025-09-30 22:46:00 +01:00
Muhammad Ibrahim
b3d7e49961
Fixed <1GB Ram issue with it throwing integer error
2025-09-30 21:53:30 +01:00
Muhammad Ibrahim
8be25283dc
Relaid out settings page and configured agent and other communication to use curl flags which can be configured to ignore ssl cert if self-hosted.
2025-09-30 21:38:13 +01:00
Muhammad Ibrahim
8ca22dc7ab
Fixed crontab syntax issue with timing
2025-09-30 09:31:12 +01:00
Muhammad Ibrahim
b49ea6b197
Update PatchMon version to 1.2.7
...
- Updated agent script version to 1.2.7
- Updated all package.json files to version 1.2.7
- Updated backend version references
- Updated setup script version references
- Fixed agent file path issues in API endpoints
- Fixed linting issues (Node.js imports, unused variables, accessibility)
- Created comprehensive version update guide in patchmon-admin/READMEs/
2025-09-29 20:42:14 +01:00
Muhammad Ibrahim
b49d225e32
Modified curl so that it ignores SSL errors, more for those who self host.
...
Modified installer to not replace exisitng crontab entries
2025-09-29 17:08:44 +01:00
Muhammad Ibrahim
3b72794307
made the crontab installation safe as opposed to nuking it - spotted by thespad
2025-09-29 12:06:13 +01:00
tigattack
c886b812d6
chore: clarify auto-update feature
2025-09-27 00:52:04 +01:00
Muhammad Ibrahim
13fe8a0bc5
agents: use apt-get simulation for Ubuntu 18 compatibility; fix installer log path
2025-09-24 15:21:22 +01:00
Muhammad Ibrahim
f23f075e41
Added more dashboard cards
...
Fixed permissions roles creation bug
On initial deployment, made it so the agent being populated will be set as default and current
Fixed host detail to include package numbers
Added ability to add full name
- fixed loads of other bugs caused by camelcase to snake_Case migration
2025-09-22 21:31:14 +01:00
Muhammad Ibrahim
9a01d27d8b
Removed populate-agent-version.js as now agent is being imported if newer than existing upon service start
2025-09-22 02:30:12 +01:00
Muhammad Ibrahim
d72f96b598
Improved Agent version import upon service start
2025-09-22 02:22:25 +01:00
Muhammad Ibrahim
797be20c45
Created toggle for enable / disable user signup flow with user role
...
Fixed numbers mismatching in host cards
Fixed issues with the settings file
Fixed layouts on hosts/packages/repos
Added ability to delete multiple hosts at once
Fixed Dark mode styling in areas
Removed console debugging messages
Done some other stuff ...
2025-09-22 01:06:18 +01:00
Muhammad Ibrahim
f3351d577d
fixed rate limits into env
2025-09-21 03:58:22 +01:00
Muhammad Ibrahim
adb207fef9
improved table views and added more host information
2025-09-20 10:56:59 +01:00
Muhammad Ibrahim
5bdd0b5830
upgraded version
2025-09-18 02:09:42 +01:00
Muhammad Ibrahim
9714be788b
Modified areas for fqdn usage and use of .env for cors
2025-09-17 12:10:49 +01:00
Muhammad Ibrahim
c5332ce6b0
first commit
2025-09-16 15:36:42 +01:00