You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
Access to server specific variable during daemon server start-up request that can be addressed / used in Egg variables. The main idea here is ability to have a mount that is server specific.
i.e.:
mount /home/${P_SERVER_UUID} /home/container/save-data
Currently the server UUID is known during the start process:
INFO: [Jul 31 19:52:46.044] completed server preflight, starting boot process... server=82153660-7039-4adb-97bc-c086d73a7f8a
INFO: [Jul 31 19:52:46.310] releasing exclusive lock for power action action=start lock_id=7505ef09-4f76-11ef-9819-eafb6fe7fbb9 server=82153660-7039-4adb-97bc-c086d73a7f8a
ERROR: [Jul 31 19:52:46.311] failed to handle server crash error=failed to start server after crash detection: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID} server=82153660-7039-4adb-97bc-c086d73a7f8a
Stacktrace:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID}
environment/docker: failed to create container
github.com/pterodactyl/wings/environment/docker.(*Environment).Create
github.com/pterodactyl/wings/environment/docker/container.go:261
github.com/pterodactyl/wings/environment/docker.(*Environment).OnBeforeStart
github.com/pterodactyl/wings/environment/docker/power.go:43
github.com/pterodactyl/wings/environment/docker.(*Environment).Start
github.com/pterodactyl/wings/environment/docker/power.go:105
github.com/pterodactyl/wings/server.(*Server).HandlePowerAction
github.com/pterodactyl/wings/server/power.go:135
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
runtime/asm_amd64.s:1650
environment/docker: failed to run pre-boot process
failed to start server after crash detection
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
runtime/asm_amd64.s:1650
container@pterodactyl~ Error Event [aaf52a26-09b4-468c-9e8d-c467e16d2454]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID
Describe the solution you'd like.
A server specific variable that would be accessible during docker environment create that you could use in the egg definition / mounts attached to the egg.
Additional context to this request.
No response
The text was updated successfully, but these errors were encountered:
Is there an existing feature request for this?
Describe the feature you would like to see.
Access to server specific variable during daemon server start-up request that can be addressed / used in Egg variables. The main idea here is ability to have a mount that is server specific.
i.e.:
mount /home/${P_SERVER_UUID} /home/container/save-data
Currently the server UUID is known during the start process:
INFO: [Jul 31 19:52:46.044] completed server preflight, starting boot process... server=82153660-7039-4adb-97bc-c086d73a7f8a
INFO: [Jul 31 19:52:46.310] releasing exclusive lock for power action action=start lock_id=7505ef09-4f76-11ef-9819-eafb6fe7fbb9 server=82153660-7039-4adb-97bc-c086d73a7f8a
ERROR: [Jul 31 19:52:46.311] failed to handle server crash error=failed to start server after crash detection: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID} server=82153660-7039-4adb-97bc-c086d73a7f8a
Stacktrace:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID}
environment/docker: failed to create container
github.com/pterodactyl/wings/environment/docker.(*Environment).Create
github.com/pterodactyl/wings/environment/docker/container.go:261
github.com/pterodactyl/wings/environment/docker.(*Environment).OnBeforeStart
github.com/pterodactyl/wings/environment/docker/power.go:43
github.com/pterodactyl/wings/environment/docker.(*Environment).Start
github.com/pterodactyl/wings/environment/docker/power.go:105
github.com/pterodactyl/wings/server.(*Server).HandlePowerAction
github.com/pterodactyl/wings/server/power.go:135
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
runtime/asm_amd64.s:1650
environment/docker: failed to run pre-boot process
failed to start server after crash detection
github.com/pterodactyl/wings/server.(*Server).handleServerCrash
github.com/pterodactyl/wings/server/crash.go:90
github.com/pterodactyl/wings/server.(*Server).OnStateChange.func1
github.com/pterodactyl/wings/server/server.go:324
runtime.goexit
runtime/asm_amd64.s:1650
container@pterodactyl~ Error Event [aaf52a26-09b4-468c-9e8d-c467e16d2454]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/${P_SERVER_UUID
Describe the solution you'd like.
A server specific variable that would be accessible during docker environment create that you could use in the egg definition / mounts attached to the egg.
Additional context to this request.
No response
The text was updated successfully, but these errors were encountered: