mirror of
https://github.com/isuryatk/pm2-webui.git
synced 2026-04-26 00:35:53 +03:00
[GH-ISSUE #23] BUG: Multiple Instance showing always the same instance #11
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pm2-webui#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrejk-phsa on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/isuryatk/pm2-webui/issues/23
Issue: when PM2 runs multiple instances of the same process the dashboard shows each instance correctly but the details opens always the same one instance, including the details and logs. The issue is the details page uses the [appName] as a key to get the app details which is the same for all instances,
Fix: use pm_id instead of appName to fetch the details
<a href="/apps/<%= app.pm_id %>"I fixed this on my local branch, I can submit a PR.