[GH-ISSUE #23] BUG: Multiple Instance showing always the same instance #11

Open
opened 2026-03-03 13:50:20 +03:00 by kerem · 0 comments
Owner

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pm2-webui#11
No description provided.