[Bug] Esxi to Prox migration
Hey there! 👋 Thanks for taking the time to report this bug — we appreciate it!
Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic 🪄 — please be patient, we'll get to your issue as soon as we can.
Want to help keep PegaProx alive?
- ⭐ Star the project — it's free and helps a lot!
- 💖 Become a Sponsor — helps us dedicate more time to development
- 🤝 Contributing code or docs is always welcome too!
Describe the bug
Begin migration task, leaving everything as default, or tweaking options Migration job creates Fails
Steps to Reproduce
- This happens when attempting to migrate from esxi to proxmox
- Fails immediately
Expected behavior
Should migrate from esxi to proxmox
Environment
- **PegaProx Version:**Build 2026.02
- Installation Method: git clone
- OS: ubuntu 22.04
- Browser: Edge
- **Behind Reverse Proxy?**No
- UI? Modern
- Proxmox - PVe 9.1.9
Logs
[2026-08-06 14:29:28,332] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:33:24 PegaProx pegaprox[8095]: 2026-08-06T14:33:24Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '58476', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,336] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,336] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,336] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,336] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,336] [PegaProx_Graphics] INFO: Score difference: 20.33 (Min: vmpg02=80.37, Max: vmpg05=100.70) Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,337] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,337] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 20.33 <= 30 Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,337] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:34:28.337070 Aug 06 14:34:28 PegaProx pegaprox[8095]: [2026-08-06 14:34:28,337] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:38:27 PegaProx pegaprox[8095]: 2026-08-06T14:38:27Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '49860', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Score difference: 23.87 (Min: vmpg02=79.34, Max: vmpg05=103.21) Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 23.87 <= 30 Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:39:28.340772 Aug 06 14:39:28 PegaProx pegaprox[8095]: [2026-08-06 14:39:28,340] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:43:28 PegaProx pegaprox[8095]: 2026-08-06T14:43:28Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '64170', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Score difference: 20.49 (Min: vmpg01=79.42, Max: vmpg05=99.91) Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 20.49 <= 30 Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:44:28.344544 Aug 06 14:44:28 PegaProx pegaprox[8095]: [2026-08-06 14:44:28,344] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:46:27 PegaProx pegaprox[8095]: [SSE] client 6d8b5d76-f7d3-4bb4-92cd-89eb0faf3a62 queue full — dropped 1 frames (slow consumer) Aug 06 14:47:13 PegaProx pegaprox[8095]: [SSE] client 6d8b5d76-f7d3-4bb4-92cd-89eb0faf3a62 queue full — dropped 100 frames (slow consumer) Aug 06 14:48:03 PegaProx pegaprox[8095]: [SSE] client 6d8b5d76-f7d3-4bb4-92cd-89eb0faf3a62 queue full — dropped 200 frames (slow consumer) Aug 06 14:48:52 PegaProx pegaprox[8095]: [SSE] client 6d8b5d76-f7d3-4bb4-92cd-89eb0faf3a62 queue full — dropped 300 frames (slow consumer) Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Score difference: 23.05 (Min: vmpg02=79.04, Max: vmpg05=102.09) Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 23.05 <= 30 Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,348] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:49:28.348989 Aug 06 14:49:28 PegaProx pegaprox[8095]: [2026-08-06 14:49:28,349] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:49:41 PegaProx pegaprox[8095]: [SSE] client 6d8b5d76-f7d3-4bb4-92cd-89eb0faf3a62 queue full — dropped 400 frames (slow consumer) Aug 06 14:50:29 PegaProx pegaprox[8095]: 2026-08-06T14:50:29Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '62548', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Score difference: 25.23 (Min: vmpg01=79.14, Max: vmpg05=104.37) Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 25.23 <= 30 Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:54:28.353369 Aug 06 14:54:28 PegaProx pegaprox[8095]: [2026-08-06 14:54:28,353] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:55:28 PegaProx pegaprox[8095]: 2026-08-06T14:55:28Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '57881', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: ============================================================ Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Score difference: 6.78 (Min: vmpg01=78.76, Max: vmpg03=85.54) Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 6.78 <= 30 Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 14:59:28.357462 Aug 06 14:59:28 PegaProx pegaprox[8095]: [2026-08-06 14:59:28,357] [PegaProx_Graphics] INFO: ============================================================ Aug 06 15:00:30 PegaProx pegaprox[8095]: 2026-08-06T15:00:30Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '52174', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: ============================================================ Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Score difference: 24.18 (Min: vmpg02=80.12, Max: vmpg05=104.30) Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 24.18 <= 30 Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 15:04:28.361627 Aug 06 15:04:28 PegaProx pegaprox[8095]: [2026-08-06 15:04:28,361] [PegaProx_Graphics] INFO: ============================================================ Aug 06 15:05:30 PegaProx pegaprox[8095]: 2026-08-06T15:05:30Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '61545', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: ============================================================ Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2 Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Score difference: 18.82 (Min: vmpg01=79.51, Max: vmpg05=98.33) Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30 Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 18.82 <= 30 Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-06 15:09:28.365484 Aug 06 15:09:28 PegaProx pegaprox[8095]: [2026-08-06 15:09:28,365] [PegaProx_Graphics] INFO: ============================================================ Aug 06 15:10:32 PegaProx pegaprox[8095]: 2026-08-06T15:10:32Z {'REMOTE_ADDR': '::ffff:10.50.8.3', 'REMOTE_PORT': '49385', 'HTTP_HOST': '192.168.74.120:5000', (hidden keys: 33)} failed with SSLEOFError Aug 06 15:11:44 PegaProx pegaprox[8095]: Exception on /api/vmware/migrations [GET] Aug 06 15:11:44 PegaProx pegaprox[8095]: Traceback (most recent call last): Aug 06 15:11:44 PegaProx pegaprox[8095]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 1511, in wsgi_app Aug 06 15:11:44 PegaProx pegaprox[8095]: response = self.full_dispatch_request() Aug 06 15:11:44 PegaProx pegaprox[8095]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 919, in full_dispatch_request Aug 06 15:11:44 PegaProx pegaprox[8095]: rv = self.handle_user_exception(e) Aug 06 15:11:44 PegaProx pegaprox[8095]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 917, in full_dispatch_request Aug 06 15:11:44 PegaProx pegaprox[8095]: rv = self.dispatch_request() Aug 06 15:11:44 PegaProx pegaprox[8095]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 902, in dispatch_request Aug 06 15:11:44 PegaProx pegaprox[8095]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] Aug 06 15:11:44 PegaProx pegaprox[8095]: File "/opt/PegaProx/pegaprox/utils/auth.py", line 962, in decorated_function Aug 06 15:11:44 PegaProx pegaprox[8095]: return f(*args, **kwargs) Aug 06 15:11:44 PegaProx pegaprox[8095]: TypeError: _migration_reachable() missing 1 required positional argument: 't' Aug 06 15:11:46 PegaProx pegaprox[8095]: [2026-08-06 15:11:46,399] [PegaProx_Graphics] INFO: [NodeIP] vmpg01 -> 192.168.74.91 (cluster/status, reachable on :22)
Screenshots
Checklist
- [ Yes] I have searched existing issues to make sure this is not a duplicate
- [Yes ] I am using the latest version of PegaProx
Thanks — your log had the exact cause in it:
TypeError: _migration_reachable() missing 1 required positional argument: 't'
The GET /api/vmware/migrations route had its decorators sitting on an internal helper function instead of the actual list handler, so the endpoint threw a 500 the moment the migration view loaded — which is why it failed immediately no matter what options you picked. The cross-hypervisor list (/api/xhm/migrations) had the same slip.
Fixed on the Testing branch just now — both routes point at their real handlers again (confirmed the URL map resolves correctly). Pull that build and the ESXi → Proxmox migration screen should load and run instead of erroring out. Thanks for the clean log dump, that made it quick to pin down.
— Nico
Thank you for getting back so quick - i'm new to the whole linux environment \ pegaprox - how do i get updates from the test branch to get this update?
Thanks
No worries — on a source / git-clone install the easiest way is the update script, pointed at the Testing branch. It self-fetches, so you can run it from anywhere:
curl -O https://raw.githubusercontent.com/PegaProx/project-pegaprox/refs/heads/main/update.sh
chmod +x update.sh
PEGAPROX_BRANCH=Testing sudo ./update.sh
That pulls the Testing branch (fix included), sorts the Python deps and the prebuilt UI, and restarts the service for you — no manual build step. One heads-up: Testing is our dev branch, so it moves fast and carries other work-in-progress. Once this fix rolls into the next stable release you can go back to plain sudo ./update.sh, which tracks main.
If PegaProx ends up saving you some time once you're rolling, a coffee helps keep it going: https://opencollective.com/pegaprox
Cheers, Marcus
Thanks for that, i've ran the command and it rebooted, but still seem to be running into some errors as per below
Aug 07 08:21:01 PegaProx systemd[1]: Stopping PegaProx - Proxmox Cluster Management...
Aug 07 08:21:01 PegaProx pegaprox[2508]: Traceback (most recent call last):
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "/opt/PegaProx/pegaprox/app.py", line 1724, in signal_handler
Aug 07 08:21:01 PegaProx pegaprox[2508]: http_server.stop()
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/gevent/baseserver.py", line 393, in stop
Aug 07 08:21:01 PegaProx pegaprox[2508]: self.pool.join(timeout=timeout)
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/gevent/pool.py", line 430, in join
Aug 07 08:21:01 PegaProx pegaprox[2508]: result = self._empty_event.wait(timeout=timeout)
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/event.py", line 165, in gevent._gevent_cevent.Event.wait
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 529, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 495, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 498, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 450, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 459, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
Aug 07 08:21:01 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
Aug 07 08:21:01 PegaProx pegaprox[2508]: gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
Aug 07 08:21:01 PegaProx pegaprox[2508]: 2026-08-07T08:21:01Z
Aug 07 08:21:02 PegaProx pegaprox[2508]: SSL/WebSocket errors (bots, scanners, disconnects) are suppressed
Aug 07 08:21:02 PegaProx pegaprox[2508]: Pool cache warmed for cluster: d835875d
Aug 07 08:21:02 PegaProx pegaprox[2508]: Pool cache warmed for cluster: 45aa475e
Aug 07 08:21:02 PegaProx pegaprox[2508]: Shutting down gracefully...
Aug 07 08:21:02 PegaProx pegaprox[2508]: Traceback (most recent call last):
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/pegaprox_multi_cluster.py", line 253, in
Aug 07 08:21:02 PegaProx pegaprox[2508]: main(debug_mode=debug_mode)
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/pegaprox/app.py", line 1200, in main
Aug 07 08:21:02 PegaProx pegaprox[2508]: _start_gevent_server(app, bind_host, port, ssl_context, domain, workers, http_redirect_port)
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/pegaprox/app.py", line 1731, in _start_gevent_server
Aug 07 08:21:02 PegaProx pegaprox[2508]: http_server.serve_forever()
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/gevent/baseserver.py", line 403, in serve_forever
Aug 07 08:21:02 PegaProx pegaprox[2508]: self._stop_event.wait()
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/event.py", line 165, in gevent._gevent_cevent.Event.wait
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 529, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 495, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 498, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 450, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 459, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/pegaprox/app.py", line 1724, in signal_handler
Aug 07 08:21:02 PegaProx pegaprox[2508]: http_server.stop()
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/gevent/baseserver.py", line 393, in stop
Aug 07 08:21:02 PegaProx pegaprox[2508]: self.pool.join(timeout=timeout)
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/gevent/pool.py", line 430, in join
Aug 07 08:21:02 PegaProx pegaprox[2508]: result = self._empty_event.wait(timeout=timeout)
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/event.py", line 165, in gevent._gevent_cevent.Event.wait
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 529, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 495, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 498, in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 450, in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_abstract_linkable.py", line 459, in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 64, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 67, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
Aug 07 08:21:02 PegaProx pegaprox[2508]: File "src/gevent/_greenlet_primitives.py", line 68, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
Aug 07 08:21:02 PegaProx pegaprox[2508]: gevent.exceptions.BlockingSwitchOutError: Impossible to call blocking function in the event loop callback
Aug 07 08:21:02 PegaProx systemd[1]: pegaprox.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 08:21:02 PegaProx systemd[1]: pegaprox.service: Failed with result 'exit-code'.
Aug 07 08:21:02 PegaProx systemd[1]: Stopped PegaProx - Proxmox Cluster Management.
Aug 07 08:21:02 PegaProx systemd[1]: pegaprox.service: Consumed 1.568s CPU time.
Aug 07 08:21:02 PegaProx systemd[1]: Started PegaProx - Proxmox Cluster Management.
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,192] [PegaProx_Standard] INFO: PegaProx daemon started for cluster: Standard
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,193] [PegaProx_Standard] WARNING: [SECURITY] SSL verification disabled for cluster 'Standard' — vulnerable to MITM
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,196] [PegaProx_Standard] INFO: Started PegaProx manager for Standard
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,196] [PegaProx_Graphics] INFO: PegaProx daemon started for cluster: Graphics
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,196] [PegaProx_Graphics] WARNING: [SECURITY] SSL verification disabled for cluster 'Graphics' — vulnerable to MITM
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,197] [PegaProx_Graphics] INFO: Started PegaProx manager for Graphics
Aug 07 08:21:03 PegaProx pegaprox[2604]: [VMware:1fed609e] Connecting as '[email protected]' to vc.norse.local
Aug 07 08:21:03 PegaProx pegaprox[2604]: Gevent monkey-patching applied
Aug 07 08:21:03 PegaProx pegaprox[2604]: File-descriptor limit: 524288
Aug 07 08:21:03 PegaProx pegaprox[2604]: Gevent threadpool size: 50
Aug 07 08:21:03 PegaProx pegaprox[2604]: [ws-patch] simple-websocket PerMessageDeflate disabled
Aug 07 08:21:03 PegaProx pegaprox[2604]: Checking optional libraries...
Aug 07 08:21:03 PegaProx pegaprox[2604]: ✓ websockets (VNC/SSH console)
Aug 07 08:21:03 PegaProx pegaprox[2604]: ✓ paramiko (SSH features)
Aug 07 08:21:03 PegaProx pegaprox[2604]: ✓ gevent (high performance)
Aug 07 08:21:03 PegaProx pegaprox[2604]: ✓ argon2-cffi (secure password hashing)
Aug 07 08:21:03 PegaProx pegaprox[2604]: ✓ XenAPI (XCP-ng integration)
Aug 07 08:21:03 PegaProx pegaprox[2604]: Initializing user system...
Aug 07 08:21:03 PegaProx pegaprox[2604]: Loaded 1 users
Aug 07 08:21:03 PegaProx pegaprox[2604]: Initializing audit log...
Aug 07 08:21:03 PegaProx pegaprox[2604]: Loaded 0 audit entries (retention: 90 days)
Aug 07 08:21:03 PegaProx pegaprox[2604]: Loading sessions...
Aug 07 08:21:03 PegaProx pegaprox[2604]: Loaded 0 active sessions
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started PegaProx manager for cluster: Standard
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started PegaProx manager for cluster: Graphics
Aug 07 08:21:03 PegaProx pegaprox[2604]: ==================================================
Aug 07 08:21:03 PegaProx pegaprox[2604]: SSE BROADCAST LOOP STARTED
Aug 07 08:21:03 PegaProx pegaprox[2604]: ==================================================
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started WebSocket live updates broadcast thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started alert monitoring thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started task scheduler thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started scheduled actions thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started password expiry check thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started cross-cluster load balancer thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started cross-cluster replication scheduler thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started integrated syslog server
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started site recovery heartbeat monitor
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started pool cache warmup thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: Started ACME auto-renewal thread
Aug 07 08:21:03 PegaProx pegaprox[2604]: IPv6 available — binding dual-stack (::)
Aug 07 08:21:03 PegaProx pegaprox[2604]: SSL certificates found - starting with HTTPS
Aug 07 08:21:03 PegaProx pegaprox[2604]: System: 6 CPU cores detected
Aug 07 08:21:03 PegaProx pegaprox[2604]: Memory optimization: Garbage collection tuned for 96 workers
Aug 07 08:21:03 PegaProx pegaprox[2604]: Starting PegaProx with Gevent WSGIServer (96 greenlets)
Aug 07 08:21:03 PegaProx pegaprox[2604]: Mode: Production (async I/O optimized)
Aug 07 08:21:03 PegaProx pegaprox[2604]: WebSocket support: geventwebsocket enabled
Aug 07 08:21:03 PegaProx pegaprox[2604]: HTTPS on https://:::5000
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,231] [PegaProx_Graphics] INFO: Resolved proxmoxgraphics.norse.local → 192.168.74.95 (caching IP)
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,231] [PegaProx_Graphics] INFO: Connected to Proxmox at proxmoxgraphics.norse.local using API Token
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,232] [PegaProx_Standard] INFO: Resolved proxmoxstandard.norse.local → 192.168.74.113 (caching IP)
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,232] [PegaProx_Standard] INFO: Connected to Proxmox at proxmoxstandard.norse.local using API Token
Aug 07 08:21:03 PegaProx pegaprox[2604]: VNC WebSocket: starting thread, target port 5001
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,245] [PegaProx_Graphics] INFO: ============================================================
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,245] [PegaProx_Graphics] INFO: Starting balance check for cluster: Graphics
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,245] [PegaProx_Graphics] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False
Aug 07 08:21:03 PegaProx pegaprox[2604]: VNC WebSocket Server ready on wss://0.0.0.0:5001
Aug 07 08:21:03 PegaProx pegaprox[2604]: VNC WebSocket Server started successfully on port 5001
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,253] [PegaProx_Standard] INFO: ============================================================
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,253] [PegaProx_Standard] INFO: Starting balance check for cluster: Standard
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,253] [PegaProx_Standard] INFO: Settings: Migration Threshold=20%, Check Interval=300s, Dry Run=False
Aug 07 08:21:03 PegaProx pegaprox[2604]: SSH WebSocket server subprocess started (PID: 2609)
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,353] [PegaProx_Graphics] INFO: Active nodes: 5, Max migrations per cycle: 2
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,353] [PegaProx_Graphics] INFO: Score difference: 22.23 (Min: vmpg02=87.69, Max: vmpg05=109.92)
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,353] [PegaProx_Graphics] INFO: Migration threshold: 20 + tolerance 10 = 30
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,353] [PegaProx_Graphics] INFO: [OK] Cluster balanced. Score diff 22.23 <= 30
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,354] [PegaProx_Graphics] INFO: Balance check completed at 2026-08-07 08:21:03.354000
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,354] [PegaProx_Graphics] INFO: ============================================================
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: Active nodes: 13, Max migrations per cycle: 3
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: Score difference: 75.19 (Min: vmc05=97.82, Max: vmc13=173.01)
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: Migration threshold: 20 + tolerance 10 = 30
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: [WARN] Balance needed! Score difference 75.19 > 30
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: Balance check completed at 2026-08-07 08:21:03.862959
Aug 07 08:21:03 PegaProx pegaprox[2604]: [2026-08-07 08:21:03,862] [PegaProx_Standard] INFO: ============================================================
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,031] [PegaProx_Standard] INFO: [NodeIP] vmc11 -> 192.168.74.111 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,062] [PegaProx_Standard] INFO: [NodeIP] vmc12 -> 192.168.74.112 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,067] [PegaProx_Standard] INFO: [NodeIP] vmc03 -> 192.168.74.103 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,082] [PegaProx_Standard] INFO: [NodeIP] vmc06 -> 192.168.74.106 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,103] [PegaProx_Standard] INFO: [NodeIP] vmc01 -> 192.168.74.101 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,110] [PegaProx_Standard] INFO: [NodeIP] vmc05 -> 192.168.74.105 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,113] [PegaProx_Standard] INFO: [NodeIP] vmc07 -> 192.168.74.107 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,119] [PegaProx_Standard] INFO: [NodeIP] vmc08 -> 192.168.74.108 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,162] [PegaProx_Standard] INFO: [NodeIP] vmc13 is the local node, using 192.168.74.113
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,189] [PegaProx_Standard] INFO: [NodeIP] vmc04 -> 192.168.74.104 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,203] [PegaProx_Standard] INFO: [NodeIP] vmc02 -> 192.168.74.102 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,216] [PegaProx_Standard] INFO: [NodeIP] vmc09 -> 192.168.74.109 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,255] [PegaProx_Standard] INFO: [NodeIP] vmc10 -> 192.168.74.110 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,443] [PegaProx_Graphics] INFO: [NodeIP] vmpg05 is the local node, using 192.168.74.95
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,487] [PegaProx_Graphics] INFO: [NodeIP] vmpg04 -> 192.168.74.94 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,492] [PegaProx_Graphics] INFO: [NodeIP] vmpg03 -> 192.168.74.93 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,501] [PegaProx_Graphics] INFO: [NodeIP] vmpg01 -> 192.168.74.91 (cluster/status, reachable on :22)
Aug 07 08:21:13 PegaProx pegaprox[2604]: [2026-08-07 08:21:13,507] [PegaProx_Graphics] INFO: [NodeIP] vmpg02 -> 192.168.74.92 (cluster/status, reachable on :22)
Aug 07 08:24:23 PegaProx pegaprox[2604]: Exception on /api/vmware/migrations [GET]
Aug 07 08:24:23 PegaProx pegaprox[2604]: Traceback (most recent call last):
Aug 07 08:24:23 PegaProx pegaprox[2604]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 1511, in wsgi_app
Aug 07 08:24:23 PegaProx pegaprox[2604]: response = self.full_dispatch_request()
Aug 07 08:24:23 PegaProx pegaprox[2604]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 919, in full_dispatch_request
Aug 07 08:24:23 PegaProx pegaprox[2604]: rv = self.handle_user_exception(e)
Aug 07 08:24:23 PegaProx pegaprox[2604]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 917, in full_dispatch_request
Aug 07 08:24:23 PegaProx pegaprox[2604]: rv = self.dispatch_request()
Aug 07 08:24:23 PegaProx pegaprox[2604]: File "/opt/PegaProx/venv/lib/python3.10/site-packages/flask/app.py", line 902, in dispatch_request
Aug 07 08:24:23 PegaProx pegaprox[2604]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
Aug 07 08:24:23 PegaProx pegaprox[2604]: File "/opt/PegaProx/pegaprox/utils/auth.py", line 962, in decorated_function
Aug 07 08:24:23 PegaProx pegaprox[2604]: return f(*args, **kwargs)
Aug 07 08:24:23 PegaProx pegaprox[2604]: TypeError: _migration_reachable() missing 1 required positional argument: 't'
Aug 07 08:24:24 PegaProx pegaprox[2604]: [2026-08-07 08:24:24,621] [PegaProx_Graphics] INFO: [NodeIP] vmpg01 -> 192.168.74.91 (cluster/status, reachable on :22)
I think it's because i'm still pulling from main not testing so it's not updating from the test branch. I've even tried redploying from the testing branch but it falls back to main
curl -sSL https://raw.githubusercontent.com/PegaProx/project-pegaprox/refs/heads/Testing/deploy.sh | sudo bash
Ah, that's the missing piece — fetching the script from the Testing branch doesn't change which branch it installs. deploy.sh defaults to main internally unless you set PEGAPROX_BRANCH, and that env var has to be on the privileged side of the pipe (setting it before sudo gets dropped when sudo elevates). So:
curl -sSL https://raw.githubusercontent.com/PegaProx/project-pegaprox/refs/heads/Testing/deploy.sh | sudo env PEGAPROX_BRANCH=Testing bash
The sudo env PEGAPROX_BRANCH=Testing bash part is what actually makes it clone Testing — you should see Repository cloned (branch: Testing) in the output. Same trick works for update.sh if you go that route later.
Cheers, Marcus
Thank you - that's done the trick, but again when i kick off a migration it fails immediately - this time however i can't see anything in the logs to show that it's even started the migration process.
Ah — that lines up with a follow-up fix that landed on Testing right after your last pull. On instances that have been up a while the ESXi API session was going stale, so the migration planner was 404'ing the VM before the job even kicked off — which is exactly why nothing showed up in the logs. Grab Testing once more (same sudo env PEGAPROX_BRANCH=Testing … line as before) and give it another go; I ran a full ESXi → Proxmox migration through the patched build here and it went end-to-end fine.
If it still bails on you, open the browser dev tools → Network tab, start the migration, and grab the response body of the /migrate request — that'll carry the real error instead of the silent fail.
And if it ends up saving you a headache, a coffee on OpenCollective is always appreciated 🙂 https://opencollective.com/pegaprox
— MK
Fixed in v1.0.1 — the ESXi / cross-hypervisor migration lists route to their own handlers now, and a stale ESXi session is refreshed before the plan/start. Thanks!