Webhook not emitted on allocation assignment during server creation #369

Closed
opened 2026-02-04 17:45:36 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @moodejb123 on GitHub (Jun 28, 2025).

Current Behavior

When a server is created via the Panel or API, and an allocation is assigned during this process, no webhook is emitted for the 'updated: Allocation'.
This causes apps that rely on webhook events to miss that the allocation has been assigned.

Expected Behavior

When a server is created and an allocation is assigned to it, the Panel should emit a webhook for the 'updated: Allocation' event to reflect the allocation assignment change.

Steps to Reproduce

  1. Set up a webhook listener in the Panel under Admin > Advanced > Webhooks, enabling the updated: Allocation event.
  2. Create a new server via the Panel or API and assign an allocation.
  3. Observe that no webhook related to the 'updated: Allocation' event is triggered, even though an allocation was assigned to the newly created server.

Panel Version

1.0.0-beta21

Wings Version

1.0.0-beta13

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs


Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @moodejb123 on GitHub (Jun 28, 2025). ### Current Behavior When a server is created via the Panel or API, and an allocation is assigned during this process, no webhook is emitted for the '`updated: Allocation`'. This causes apps that rely on webhook events to miss that the allocation has been assigned. ### Expected Behavior When a server is created and an allocation is assigned to it, the Panel should emit a webhook for the '`updated: Allocation`' event to reflect the allocation assignment change. ### Steps to Reproduce 1. Set up a webhook listener in the Panel under Admin > Advanced > Webhooks, enabling the updated: Allocation event. 2. Create a new server via the Panel or API and assign an allocation. 3. Observe that no webhook related to the '`updated: Allocation`' event is triggered, even though an allocation was assigned to the newly created server. ### Panel Version 1.0.0-beta21 ### Wings Version 1.0.0-beta13 ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@JoanFo1456 commented on GitHub (Jun 28, 2025):

This i think it's solved on #1355 as i see that log on my discord.

@JoanFo1456 commented on GitHub (Jun 28, 2025): This i think it's solved on #1355 as i see that log on my discord.
Author
Owner

@JoanFo1456 commented on GitHub (Jun 28, 2025):

Image I do see it on the beta21, suppose something on your side, as both beta21 and 1355 gets it.

@JoanFo1456 commented on GitHub (Jun 28, 2025): ![Image](https://github.com/user-attachments/assets/5b81c79d-6ac0-4d68-af15-3f27ed16281c) I do see it on the beta21, suppose something on your side, as both beta21 and 1355 gets it.
Author
Owner

@moodejb123 commented on GitHub (Jun 28, 2025):

It does work when adding additional allocation or editing the allocation from the nodes tab, But when the server is created with the allocation it does not emit the updated allocation event

@moodejb123 commented on GitHub (Jun 28, 2025): It does work when adding additional allocation or editing the allocation from the nodes tab, But when the server is created with the allocation it does not emit the updated allocation event
Author
Owner

@JoanFo1456 commented on GitHub (Jun 28, 2025):

Okay, seems that when creating a server it never detects the change for it, I'll take a look once I got free time or a pelican, thanks for the clarification.

@JoanFo1456 commented on GitHub (Jun 28, 2025): Okay, seems that when creating a server it never detects the change for it, I'll take a look once I got free time or a pelican, thanks for the clarification.
Author
Owner

@JoanFo1456 commented on GitHub (Aug 12, 2025):

Hi @moodejb123 with beta24 has this been solved?

@JoanFo1456 commented on GitHub (Aug 12, 2025): Hi @moodejb123 with beta24 has this been solved?
Author
Owner

@moodejb123 commented on GitHub (Aug 13, 2025):

Nope still same issue, also btw event: Server\Installed is not working now after updating to the latest beta.

@moodejb123 commented on GitHub (Aug 13, 2025): Nope still same issue, also btw `event: Server\Installed` is not working now after updating to the latest beta.
Author
Owner

@JoanFo1456 commented on GitHub (Aug 13, 2025):

... Alright, I'll take a look..

@JoanFo1456 commented on GitHub (Aug 13, 2025): ... Alright, I'll take a look..
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#369