Didstopia / rust-server

Provides a dedicated linux server for Rust (the game) running inside a Docker container.
MIT License
243 stars 105 forks source link

Unable to run server properly #110

Closed Zerka30 closed 1 year ago

Zerka30 commented 1 year ago

Describe the bug Server is exiting without any error logs

To Reproduce

Run command : docker run --name rust-server --restart -d -p 28015:28015 -p 28015:28015/udp -p 28016:28016 -p 8080:8080 -e RUST_SERVER_NAME=SCOUTHOSTING.NET -e RUST_SERVER_WORLDSIZE=3500 -e RUST_RCON_PASSWORD=change-me -e RUST_START_MODE=2 -e RUST_OXIDE_ENABLED=1 -v /root/rust:/steamcmd/rust didstopia/rust-server

Running on DigitalOcean instance : https://img.zerka.dev/chrome_IpehMxgrH0.png

Expected behavior

[  0%] Checking for available updates...
[  0%] Downloading update (0 of 86,663 KB)...
[  0%] Downloading update (4,292 of 86,663 KB)...
[  4%] Downloading update (10,064 of 86,663 KB)...
[ 11%] Downloading update (14,605 of 86,663 KB)...
[ 16%] Downloading update (18,721 of 86,663 KB)...
[ 21%] Downloading update (22,562 of 86,663 KB)...
[ 26%] Downloading update (26,172 of 86,663 KB)...
[ 30%] Downloading update (29,648 of 86,663 KB)...
[ 34%] Downloading update (33,181 of 86,663 KB)...
[ 38%] Downloading update (36,329 of 86,663 KB)...
[ 41%] Downloading update (39,502 of 86,663 KB)...
[ 45%] Downloading update (42,605 of 86,663 KB)...
[ 49%] Downloading update (46,021 of 86,663 KB)...
[ 53%] Downloading update (49,101 of 86,663 KB)...
[ 56%] Downloading update (52,163 of 86,663 KB)...
[ 60%] Downloading update (55,260 of 86,663 KB)...
[ 63%] Downloading update (57,280 of 86,663 KB)...
[ 66%] Downloading update (58,976 of 86,663 KB)...
[ 68%] Downloading update (60,645 of 86,663 KB)...
[ 69%] Downloading update (62,192 of 86,663 KB)...
[ 71%] Downloading update (63,731 of 86,663 KB)...
[ 73%] Downloading update (65,225 of 86,663 KB)...
[ 75%] Downloading update (66,953 of 86,663 KB)...
[ 77%] Downloading update (68,531 of 86,663 KB)...
[ 79%] Downloading update (70,131 of 86,663 KB)...
[ 80%] Downloading update (71,864 of 86,663 KB)...
[ 82%] Downloading update (73,449 of 86,663 KB)...
[ 84%] Downloading update (75,035 of 86,663 KB)...
[ 86%] Downloading update (76,576 of 86,663 KB)...
[ 88%] Downloading update (78,293 of 86,663 KB)...
[ 90%] Downloading update (79,805 of 86,663 KB)...
[ 92%] Downloading update (81,356 of 86,663 KB)...
[ 93%] Downloading update (82,902 of 86,663 KB)...
[ 95%] Downloading update (84,469 of 86,663 KB)...
[ 97%] Downloading update (86,199 of 86,663 KB)...
[ 99%] Downloading update (86,663 of 86,663 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching %appname%...
Redirecting stderr to '/app/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Downloading update (65 of 57,337 KB)...
[  0%] Downloading update (3,295 of 57,337 KB)...
[  5%] Downloading update (6,763 of 57,337 KB)...
[ 11%] Downloading update (9,487 of 57,337 KB)...
[ 16%] Downloading update (11,623 of 57,337 KB)...
[ 20%] Downloading update (14,054 of 57,337 KB)...
[ 24%] Downloading update (16,004 of 57,337 KB)...
[ 27%] Downloading update (17,906 of 57,337 KB)...
[ 31%] Downloading update (19,805 of 57,337 KB)...
[ 34%] Downloading update (21,685 of 57,337 KB)...
[ 37%] Downloading update (23,723 of 57,337 KB)...
[ 41%] Downloading update (25,594 of 57,337 KB)...
[ 44%] Downloading update (27,439 of 57,337 KB)...
[ 47%] Downloading update (29,269 of 57,337 KB)...
[ 51%] Downloading update (31,288 of 57,337 KB)...
[ 54%] Downloading update (33,098 of 57,337 KB)...
[ 57%] Downloading update (34,925 of 57,337 KB)...
[ 60%] Downloading update (36,743 of 57,337 KB)...
[ 64%] Downloading update (38,752 of 57,337 KB)...
[ 67%] Downloading update (39,760 of 57,337 KB)...
[ 69%] Downloading update (40,951 of 57,337 KB)...
[ 71%] Downloading update (41,864 of 57,337 KB)...
[ 73%] Downloading update (42,758 of 57,337 KB)...
[ 74%] Downloading update (43,772 of 57,337 KB)...
[ 76%] Downloading update (44,678 of 57,337 KB)...
[ 77%] Downloading update (45,603 of 57,337 KB)...
[ 79%] Downloading update (46,527 of 57,337 KB)...
[ 81%] Downloading update (47,540 of 57,337 KB)...
[ 82%] Downloading update (48,466 of 57,337 KB)...
[ 84%] Downloading update (49,371 of 57,337 KB)...
[ 86%] Downloading update (50,383 of 57,337 KB)...
[ 87%] Downloading update (51,286 of 57,337 KB)...
[ 89%] Downloading update (52,202 of 57,337 KB)...
[ 91%] Downloading update (53,200 of 57,337 KB)...
[ 92%] Downloading update (54,119 of 57,337 KB)...
[ 94%] Downloading update (55,035 of 57,337 KB)...
[ 95%] Downloading update (55,949 of 57,337 KB)...
[ 97%] Downloading update (56,944 of 57,337 KB)...
[ 99%] Downloading update (57,337 of 57,337 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/app/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...OK
@sSteamCmdForcePlatformType linux
"@sSteamCmdForcePlatformType" = "linux"

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /steamcmd/rust
Please use force_install_dir before logon!
app_info_update 1
app_update 258550 validate
 Update state (0x5) verifying install, progress: 0.00 (0 / 7241209361)
 Update state (0x5) verifying install, progress: 3.62 (261794351 / 7241209361)
 Update state (0x5) verifying install, progress: 9.38 (678883536 / 7241209361)
 Update state (0x5) verifying install, progress: 15.23 (1103002692 / 7241209361)
 Update state (0x5) verifying install, progress: 23.21 (1680825819 / 7241209361)
 Update state (0x5) verifying install, progress: 31.82 (2304321601 / 7241209361)
 Update state (0x5) verifying install, progress: 40.68 (2945964885 / 7241209361)
 Update state (0x5) verifying install, progress: 49.55 (3587951846 / 7241209361)
 Update state (0x5) verifying install, progress: 58.84 (4260692061 / 7241209361)
 Update state (0x5) verifying install, progress: 67.78 (4908003781 / 7241209361)
 Update state (0x5) verifying install, progress: 76.70 (5554006637 / 7241209361)
 Update state (0x5) verifying install, progress: 85.16 (6166597915 / 7241209361)
 Update state (0x5) verifying install, progress: 89.85 (6505924688 / 7241209361)
 Update state (0x5) verifying install, progress: 93.46 (6767554240 / 7241209361)
 Update state (0x5) verifying install, progress: 97.71 (7075224715 / 7241209361)
Success! App '258550' fully installed.
quit
Downloading and installing latest Oxide..
x RustDedicated_Data/
x RustDedicated_Data/Managed/
x RustDedicated_Data/Managed/Assembly-CSharp.dll
x RustDedicated_Data/Managed/Facepunch.Console.dll
x RustDedicated_Data/Managed/Facepunch.Network.dll
x RustDedicated_Data/Managed/Facepunch.Rcon.dll
x RustDedicated_Data/Managed/Facepunch.Sqlite.dll
x RustDedicated_Data/Managed/Facepunch.UnityEngine.dll
x RustDedicated_Data/Managed/Mono.Data.Tds.dll
x RustDedicated_Data/Managed/MySql.Data.dll
x RustDedicated_Data/Managed/Oxide.Core.dll
x RustDedicated_Data/Managed/Oxide.CSharp.dll
x RustDedicated_Data/Managed/Oxide.MySql.dll
x RustDedicated_Data/Managed/Oxide.References.dll
x RustDedicated_Data/Managed/Oxide.Rust.dll
x RustDedicated_Data/Managed/Oxide.SQLite.dll
x RustDedicated_Data/Managed/Oxide.Unity.dll
x RustDedicated_Data/Managed/System.Configuration.Install.dll
x RustDedicated_Data/Managed/System.Data.dll
x RustDedicated_Data/Managed/System.Data.SQLite.dll
x RustDedicated_Data/Managed/System.Drawing.dll
x RustDedicated_Data/Managed/System.Runtime.Serialization.dll
x RustDedicated_Data/Managed/System.Transactions.dll
x RustDedicated_Data/Managed/x64/
x RustDedicated_Data/Managed/x64/libmonoboehm-2.0.so.1
x RustDedicated_Data/Managed/x64/libMonoPosixHelper.so
x RustDedicated_Data/Managed/x64/libsqlite3
x RustDedicated_Data/Managed/x64/libsqlite3.so
x RustDedicated_Data/Managed/x64/sqlite3.dll
x RustDedicated_Data/Managed/x86/
x RustDedicated_Data/Managed/x86/libmonoboehm-2.0.so.1
x RustDedicated_Data/Managed/x86/libMonoPosixHelper.so
x RustDedicated_Data/Managed/x86/libsqlite3
x RustDedicated_Data/Managed/x86/libsqlite3.so
x RustDedicated_Data/Managed/x86/mono-2.0.dll
x RustDedicated_Data/Managed/x86/msvcp140.dll
x RustDedicated_Data/Managed/x86/msvcr120.dll
x RustDedicated_Data/Managed/x86/sqlite3.dll
Disabling secure websockets!
Starting web server..
Log rotation enabled!
Using startup arguments: -batchmode -load -nographics +server.secure 1
Cleaning up old logs..
Starting Rust..
Found path: /steamcmd/rust/RustDedicated
Mono path[0] = '/steamcmd/rust/RustDedicated_Data/Managed'
Mono config path = '/steamcmd/rust/RustDedicated_Data/MonoBleedingEdge/etc'
Shutdown handler: initalize.
Preloaded 'libEOSSDK-Linux-Shipping.so'
Preloaded 'libRakNet.so'
Preloaded 'libRustNative.so'
Preloaded 'lib_burst_generated.so'
Preloaded 'libsqlite3.so'
Preloaded 'libsqlite3.so.0'
Preloaded 'libsteam_api.so'
Preloaded 'libsteam_api.so'
Preloaded 'steamclient.so'
Unable to preload the following plugins:
        libRenderer.so
Initialize engine version: 2019.4.7f1 (e992b1a16e65)
[Subsystems] Discovering subsystems at path /steamcmd/rust/RustDedicated_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in  0.120 seconds
Shader 'TextMeshPro/Distance Field': fallback shader 'TextMeshPro/Mobile/Distance Field' not found
UnloadTime: 6.618540 ms
Set managed directory to '/steamcmd/rust/RustDedicated_Data/Managed'
Set harmony directory to '/steamcmd/rust/RustDedicated_Data/../HarmonyMods'
3D Noise requires higher shader capabilities (Shader Model 3.5 / OpenGL ES 3.0), which are not available on the current platfo
Bootstrap Startup
Loading maps/maps.bundle
Loading shared/content.bundle
Loading shared/content.private.bundle
Loading shared/items.preload.bundle
Loading shared/monuments.bundle
Loading shared/skinnables.preload.bundle
System
        Name: 6e628492f163
        OS:   Linux 5.10 Ubuntu 18.04 64bit
CPU
        Model:  DO-Premium-AMD
        Cores:  2
        Memory: 3931 MB
GPU
        Model:  Null Device
        API:    NULL 1.0 [1.0]
        Memory: 128 MB
        SM:     30
Process
        Memory:   0 MB
Mono
        Collects: 42
        Memory:   8 MB
Manifest Metadata Loaded
        23800 pooled strings
        10522 prefab properties
        410 effect categories
        1458 entity names
Command Line: "/steamcmd/rust/RustDedicated" "-batchmode" "-load" "-nographics" "+server.secure" "1" "+rcon.port" "28016" "+rc"" "+server.identity" "docker" "+server.seed" "12345" "+server.hostname" "SCOUTHOSTING.NET" "+server.url" "https://hub.docker..description" "This is a Rust server running inside a Docker container!" "+server.worldsize" "3500" "+server.maxplayers" "500"
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libkernel32
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libkernel32.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/kernel32
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libkernel32
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libkernel32.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libkernel32
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/data-0x55a6bc0994d0.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/data-0x55a6bc303ce0.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/data-0x55a6bbfd1c80.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/data-0x55a6bc308cf0.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/data-0x55a6bbf51350.so
[HarmonyLoader] Couldn't unload mod '1': not loaded
[HarmonyLoader com.facepunch.rust_dedicated.1] Loading from /steamcmd/rust/RustDedicated_Data/../HarmonyMods/1.dll
[HarmonyLoader com.facepunch.rust_dedicated.1] Failed to load harmony mod '1.dll' from '/steamcmd/rust/RustDedicated_Data/../H
[HarmonyLoader] Couldn't unload mod '1': not loaded
[HarmonyLoader com.facepunch.rust_dedicated.1] Loading from /steamcmd/rust/RustDedicated_Data/../HarmonyMods/1.dll
[HarmonyLoader com.facepunch.rust_dedicated.1] Failed to load harmony mod '1.dll' from '/steamcmd/rust/RustDedicated_Data/../H
Server Config Loaded
Loading Items Took: 1.7188386 seconds
Building Items Took: 1.7559929 seconds / Items: 788 / Blueprints: 462
Skinnable Warmup
Manifest Assets Loaded
        115 skinnable objects
Loading Scene
Unloading 6 Unused Serialized files (Serialized files now loaded: 55)
HDR Render Texture not supported, disabling HDR on reflection probe.
UnloadTime: 7.562910 ms
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libRenderer
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libRenderer.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/Renderer
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libRenderer
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libRenderer.so
Fallback handler could not load library /steamcmd/rust/RustDedicated_Data/Mono/libRenderer
Unloading 1087 unused Assets to reduce memory usage. Loaded Objects now: 39876.
Total: 111.978580 ms (FindLiveObjects: 3.498280 ms CreateObjectMapping: 4.567920 ms MarkObjects: 102.555400 ms  DeleteObjects:
Loading Oxide Core v2.0.4050...
Loading extensions...
Loaded extension CSharp v2.0.4058 by Oxide Team and Contributors
Loaded extension MySql v2.0.3772 by Oxide Team and Contributors
Loaded extension Rust v2.0.5740 by Oxide Team and Contributors
Loaded extension SQLite v2.0.3804 by Oxide Team and Contributors
Unity version: 2019.4.7f1
Loaded extension Unity v2.0.3777 by Oxide Team and Contributors
Latest compiler MD5: 8ce6d27e7718e3d164766bba8833537a
Local compiler MD5: 8ce6d27e7718e3d164766bba8833537a
Using Covalence provider for game 'Rust'
Loading plugins...
Loaded plugin Rust v2.0.5740 by Oxide Team and Contributors
Loaded plugin Unity v2.0.3777 by Oxide Team and Contributors
Asset Warmup (1/9884)
Asset Warmup (133/9884)
Asset Warmup (364/9884)
Asset Warmup (367/9884)
Asset Warmup (371/9884)
Asset Warmup (375/9884)
Asset Warmup (381/9884)
Asset Warmup (406/9884)
Asset Warmup (409/9884)
Asset Warmup (412/9884)
Asset Warmup (414/9884)
Asset Warmup (429/9884)
Asset Warmup (438/9884)
Asset Warmup (474/9884)
Asset Warmup (665/9884)
Asset Warmup (877/9884)
Asset Warmup (1106/9884)
Asset Warmup (1423/9884)
Asset Warmup (2130/9884)
Couldn't create a Convex Mesh from source mesh "patrol_helicopter_part02" within the maximum polygons limit (256). The partial
Asset Warmup (2542/9884)
Asset Warmup (2572/9884)
Asset Warmup (3284/9884)
Asset Warmup (3660/9884)
Asset Warmup (3933/9884)
Asset Warmup (4113/9884)
Asset Warmup (4176/9884)
Asset Warmup (4220/9884)
Asset Warmup (4236/9884)
Asset Warmup (4313/9884)
Asset Warmup (4325/9884)
Asset Warmup (4651/9884)
Asset Warmup (4705/9884)
Couldn't create a Convex Mesh from source mesh "Old_Boat_GM" within the maximum polygons limit (256). The partial hull will be
Asset Warmup (4808/9884)
Couldn't create a Convex Mesh from source mesh "ScrapHeliGibs_Part002" within the maximum polygons limit (256). The partial hu
Couldn't create a Convex Mesh from source mesh "ScrapHeliGibs_Part046" within the maximum polygons limit (256). The partial hu
Asset Warmup (4970/9884)
Asset Warmup (5159/9884)
Asset Warmup (5647/9884)
Asset Warmup (5821/9884)
Asset Warmup (5953/9884)
Asset Warmup (6096/9884)
Asset Warmup (6236/9884)
Asset Warmup (6448/9884)
HDR Render Texture not supported, disabling HDR on reflection probe.
Asset Warmup (6740/9884)
Asset Warmup (6889/9884)
Asset Warmup (6943/9884)
Asset Warmup (6961/9884)
Asset Warmup (7194/9884)
Asset Warmup (7416/9884)
Asset Warmup (7530/9884)
Asset Warmup (7651/9884)
Asset Warmup (7691/9884)
Asset Warmup (7695/9884)
Asset Warmup (7806/9884)
Asset Warmup (7826/9884)
Asset Warmup (7881/9884)
The referenced script on this Behaviour (Game Object 'effect - FXAA') is missing!
The referenced script on this Behaviour (Game Object '<null>') is missing!
The referenced script on this Behaviour (Game Object 'effect - FXAA') is missing!
The referenced script on this Behaviour (Game Object 'effect - FXAA') is missing!
Asset Warmup (7998/9884)
Asset Warmup (8209/9884)
Asset Warmup (8272/9884)
Asset Warmup (8410/9884)
Asset Warmup (8537/9884)
Asset Warmup (8621/9884)
Asset Warmup (8667/9884)
Asset Warmup (8732/9884)
Asset Warmup (8776/9884)
Asset Warmup (8855/9884)
Asset Warmup (8944/9884)
Asset Warmup (9069/9884)
Asset Warmup (9156/9884)
Asset Warmup (9212/9884)
Asset Warmup (9278/9884)
Asset Warmup (9356/9884)
Asset Warmup (9407/9884)
Asset Warmup (9445/9884)
Asset Warmup (9511/9884)
Asset Warmup (9592/9884)
Asset Warmup (9681/9884)
Asset Warmup (9746/9884)
Asset Warmup (9748/9884)
Asset Warmup (9759/9884)
Asset Warmup (9762/9884)
Asset Warmup (9766/9884)
Asset Warmup (9767/9884)
Asset Warmup (9769/9884)
Asset Warmup (9772/9884)
Asset Warmup (9773/9884)
Asset Warmup (9774/9884)
Asset Warmup (9776/9884)
Asset Warmup (9779/9884)
Asset Warmup (9781/9884)
Asset Warmup (9782/9884)
Exiting..

Environment (please complete the following information):

Morgyn commented 1 year ago

You are probably running out of memory

Memory: 3931 MB

This will not be enough.

Zerka30 commented 1 year ago

You are probably running out of memory

Memory: 3931 MB

This will not be enough.

That's right, I tried it with a bigger instance and it worked. I wasn't back on the outcome.