Seeding fails on Rust egg on upgrade from Beta 19 to Beta 21 #356

Closed
opened 2026-02-04 17:43:11 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @vparres on GitHub (Jun 2, 2025).

Current Behavior

Doing php artisan migrate --seed --force fails while doing rust egg. Other eggs seems to work.

Expected Behavior

php artisan migrate --seed --force to succeed upgrade.

Steps to Reproduce

Start from panel Beta 19 with Rust egg installed, upgrade to Beta 21 then try to do php artisan migrate --seed --force

Panel Version

Beta21

Wings Version

Beta13

Games and/or Eggs Affected

Rust

Docker Image

No response

Error Logs

***********************************
*     Updating Eggs for: Rust     *
***********************************


In Connection.php line 817:

  SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: egg_variables.egg_id, egg_variables.name (Connection: sqlite, SQL: insert into "egg_variables" ("user_editable", "user_viewable", "
  rules", "env_variable", "name", "description", "default_value", "sort", "egg_id", "updated_at", "created_at") values (1, 1, ["required","string","max:60"], SERVER_HOSTNAME, Server Name, The name of your server
   in the public server list., A Rust Server, 1, 13, 2025-06-02 17:04:59, 2025-06-02 17:04:59))


In Connection.php line 568:

  SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: egg_variables.egg_id, egg_variables.name

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 @vparres on GitHub (Jun 2, 2025). ### Current Behavior Doing `php artisan migrate --seed --force` fails while doing rust egg. Other eggs seems to work. ### Expected Behavior `php artisan migrate --seed --force` to succeed upgrade. ### Steps to Reproduce Start from panel Beta 19 with Rust egg installed, upgrade to Beta 21 then try to do `php artisan migrate --seed --force` ### Panel Version Beta21 ### Wings Version Beta13 ### Games and/or Eggs Affected Rust ### Docker Image _No response_ ### Error Logs ```bash *********************************** * Updating Eggs for: Rust * *********************************** In Connection.php line 817: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: egg_variables.egg_id, egg_variables.name (Connection: sqlite, SQL: insert into "egg_variables" ("user_editable", "user_viewable", " rules", "env_variable", "name", "description", "default_value", "sort", "egg_id", "updated_at", "created_at") values (1, 1, ["required","string","max:60"], SERVER_HOSTNAME, Server Name, The name of your server in the public server list., A Rust Server, 1, 13, 2025-06-02 17:04:59, 2025-06-02 17:04:59)) In Connection.php line 568: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: egg_variables.egg_id, egg_variables.name ``` ### 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

@rmartinoscar commented on GitHub (Jun 2, 2025):

Hey you need to edit the duplicated egg variable name or remove the rust egg if no server is using it, then rerun migrations.

@rmartinoscar commented on GitHub (Jun 2, 2025): Hey you need to edit the duplicated egg variable name or remove the rust egg if no server is using it, then rerun migrations.
Author
Owner

@Boy132 commented on GitHub (Jun 3, 2025):

Please actually visit the Discord before posting and don't just mindlessly tick of boxes.

@Boy132 commented on GitHub (Jun 3, 2025): Please actually visit the Discord before posting and don't just mindlessly tick of boxes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#356