Acekorneya/Ark-Survival-Ascended-Server

Server dont start

Closed this issue · 15 comments

Would be nice if someone can show me what iam doing wrong.
The directory permissions should be ok, UID/GID fits.
But the update/download of ASA dont work (directorys stays clean after starts)

  Attaching to asa_Server
  asa_Server   | New server installation or update required...
  asa_Server   | Current build ID is 13278428, initiating installation/update...
  asa_Server   | 0024:err:environ:run_wineboot boot event wait timed out
  asa_Server   | wine: could not load kernel32.dll, status c0000135
  asa_Server   | 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
  asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
  asa_Server   | Installation or update completed successfully.
  asa_Server   | Server update detected...
  asa_Server   | Updating server to build ID 13278428 from ...
  asa_Server   | 004c:err:environ:run_wineboot boot event wait timed out
  asa_Server   | wine: could not load kernel32.dll, status c0000135
  asa_Server   | 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
  asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
  asa_Server   | Server update completed successfully.
  asa_Server   | Cluster directory already exists. Skipping folder creation.
  asa_Server   | 005c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
  asa_Server   | Server process started with PID: 86
  asa_Server   | PID 86 written to /usr/games/ark_server.pid
  asa_Server   | 0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 0054:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
  asa_Server   | 0054:err:systray:initialize_systray Could not create tray window
  asa_Server   | 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
  asa_Server   | 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
  asa_Server   | 0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
  asa_Server   | 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 005c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 005c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
  asa_Server   | 005c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
  asa_Server   | 005c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
  asa_Server   | 005c:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
  asa_Server   | 005c:err:ole:start_rpcss Failed to open RpcSs service
  asa_Server   | 0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 0044:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 00a4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 00a4:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 00ac:fixme:file:NtLockFile I/O completion on lock not implemented yet
  asa_Server   | 00ac:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
  asa_Server   | 00b4:fixme:file:NtLockFile I/O completion on lock not implemented yet
  asa_Server   | 00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
  asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
  asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
  asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
  asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
  asa_Server   | 011c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
  asa_Server   | 011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | wine: configuration in L"/usr/games/.wine" has been updated.
  asa_Server   | 2024/01/28 10:02:27 Failed to connect to RCON serverdial tcp 127.0.0.1:27020: connect: connection refused
  asa_Server   | Log file not found after waiting. Please check server status.

are you running this under a root user?? the reason im asking is because it seems like your having permissions issues that wont let wine start up

i run this in docker and docker daemon runs always as root, am i wrong ?
90% of the messages are from wine or not ?

ive tried the same now without mounted volumes, with same result so cant be volume permission issue

can you maybe post your docker-compose.yaml file and can you also try it again but make sure to get the latest docker image by doing docker pull acekorneya/asa_server:latest and then doing sudo docker compose up

another thing you can try is sudo chown -R 1001:1001 /home/factorioserver/ASA_Test/ just chang the 1001:1001 to your user PUID and GUID and change the folder to your path where you have the docker compose.yaml file maybe that would help

thats the compose:

version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1000                            # The UID to run server as
      - PGID=1000                            # The GID to run server as
      - BATTLEEYE=FALSE                      # Set to TRUE to use BattleEye, FALSE to not use BattleEye
      - RCON_ENABLED=TRUE                    # Needed for Graceful Shutdown / Updates / Server Notifications
      - DISPLAY_POK_MONITOR_MESSAGE=FALSE    # Or TRUE to Show the Server Monitor Messages / Update Monitor 
      - UPDATE_SERVER=TRUE                   # Enable or disable update checks
      - CHECK_FOR_UPDATE_INTERVAL=24         # Check for Updates interval in hours
      - UPDATE_WINDOW_MINIMUM_TIME=12:00 AM  # Defines the minimum time, relative to server time, when an update check should run
      - UPDATE_WINDOW_MAXIMUM_TIME=11:59 PM  # Defines the maximum time, relative to server time, when an update 
      - RESTART_NOTICE_MINUTES=30            # Duration in minutes for notifying players before a server restart due to updates
      - ENABLE_MOTD=FALSE                    # Enable or disable Message of the Day
      - MOTD=                                # Message of the Day
      - MOTD_DURATION=30                     # Duration for the Message of the Day
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - SERVER_PASSWORD=                     # Set a server password or leave it blank (ONLY NUMBERS AND CHARACTERS ARE ALLOWED BY DEVS)
      - ASA_PORT=7777
      - RCON_PORT=27020
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
      - MOD_IDS=                             # Add your mod IDs here, separated by commas, e.g., 123456789,987654321
      - PASSIVE_MODS=                        # Replace with your passive mods IDs
      - CUSTOM_SERVER_ARGS=                  # If You need to add more Custom Args -ForceRespawnDinos -ForceAllowCaveFlyers
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
    #volumes:
    #  - "./ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
    #  - "./ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
    #  - "./Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    mem_limit: 16G 

uid and gid fits the user

thats ls -l:

drwxr-xr-x 3 chris chris  4096 Jan 28 10:59 'ARK Survival Ascended Dedicated Server'
drwxr-xr-x 4 chris chris  4096 Jan 28 11:00  ASA
drwxr-xr-x 2 chris chris  4096 Jan 28 10:59  Cluster
drwxr-xr-x 2 chris chris  4096 Jan 28 10:58  defaults
-rw-r--r-- 1 chris chris  2499 Jan 28 23:33  docker-compose.yaml
-rw-r--r-- 1 chris chris  2212 Jan 28 10:58  dockerfile
-rw-r--r-- 1 chris chris 11174 Jan 28 10:58  README.md
drwxr-xr-x 2 chris chris  4096 Jan 28 10:58  scripts
-rw-r--r-- 1 chris chris   415 Jan 28 10:58  start_rcon_manager.sh
c

chris is uid,gid: 1000

after pulling (ive build the image to test if it helps), exact the same happens:

Recreating asa_Server ... done
Attaching to asa_Server
asa_Server   | Setting timezone to UTC
asa_Server   | Timezone set to UTC
asa_Server   | Setting games user ID and group ID
asa_Server   | Creating directories and setting permissions
asa_Server   | Copying default configuration files if they don't exist
asa_Server   | Starting ARK server monitoring script
asa_Server   | Starting main application
asa_Server   | New server installation or update required...
asa_Server   | Current build ID is 13278428, initiating installation/update...
asa_Server   | 0024:err:environ:run_wineboot boot event wait timed out
asa_Server   | 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
asa_Server   | wine: could not load kernel32.dll, status c0000135
asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
asa_Server   | Installation or update completed successfully.
asa_Server   | Server update detected...
asa_Server   | Updating server to build ID 13278428 from ...
asa_Server   | 004c:err:environ:run_wineboot boot event wait timed out
asa_Server   | wine: could not load kernel32.dll, status c0000135
asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
asa_Server   | Server update completed successfully.
asa_Server   | Creating Cluster Folder...
asa_Server   | 005c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
asa_Server   | 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
asa_Server   | Server process started with PID: 89
asa_Server   | PID 89 written to /usr/games/ark_server.pid
asa_Server   | 005c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 005c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
asa_Server   | 005c:err:systray:initialize_systray Could not create tray window
asa_Server   | 005c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
asa_Server   | 005c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
asa_Server   | 005c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
asa_Server   | 0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 0044:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 0054:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
asa_Server   | 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
asa_Server   | 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
asa_Server   | 0054:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
asa_Server   | 0054:err:ole:start_rpcss Failed to open RpcSs service
asa_Server   | 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 00a4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 00a4:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 00ac:fixme:file:NtLockFile I/O completion on lock not implemented yet
asa_Server   | 00ac:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
asa_Server   | 00b4:fixme:file:NtLockFile I/O completion on lock not implemented yet
asa_Server   | 00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
asa_Server   | 011c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
asa_Server   | 011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | wine: configuration in L"/usr/games/.wine" has been updated.
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 2024/01/31 21:55:01 Failed to connect to RCON serverdial tcp 127.0.0.1:27020: connect: connection refused
asa_Server   | Log file not found after waiting. Please check server status.

What is your system specs/distro for the host machine?? im still trying to figure out why your getting that error

vServer 4x~2ghz 16gb ram

but it dont download the game ti think if ram is an limitation the gameserver should at least try to start

asa_Server | wine: could not load kernel32.dll, status c0000135
asa_Server | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory

can you post an working log ?
do you see also the kernel32 message ?
i dont understand it, wine64 on an 64bit system shouldnt output it or not ?

sorry for the super late replay but a nomral starup look like this

Timezone set to America/Los_Angeles
Setting games user ID and group ID
usermod: no changes
Creating directories and setting permissions
Copying default configuration files if they don't exist
Starting ARK server monitoring script
Starting main application
No update required. Server build ID 13449248 is up to date.
Server is already running the latest build ID 13449248. Proceeding to start the server.
Cluster directory already exists. Skipping folder creation.
Server process started with PID: 61
PID 61 written to /usr/games/ark_server.pid
Waiting for server to start...
[2024.02.16-11.16.52:123][  0]Log file open, 02/16/24 03:16:52
[2024.02.16-11.16.52:123][  0]LogMemory: Platform Memory Stats for WindowsServer
[2024.02.16-11.16.52:123][  0]LogMemory: Process Physical Memory: 343.52 MB used, 343.52 MB peak
[2024.02.16-11.16.52:123][  0]LogMemory: Process Virtual Memory: 322.76 MB used, 322.76 MB peak
[2024.02.16-11.16.52:123][  0]LogMemory: Physical Memory: 9306.40 MB used,  55002.18 MB free, 64308.57 MB total
[2024.02.16-11.16.52:123][  0]LogMemory: Virtual Memory: 13319.15 MB used,  117686.42 MB free, 131005.58 MB total
[2024.02.16-11.16.52:572][  0]ARK Version: 34.72
[2024.02.16-11.16.52:717][  0]LogCFCore: SetSettings called:
{
        "defaultLanguage": "en",
        "gameId": 83374,
        "apiKey": "*****1aZe",
        "maxConcurrentInstallations": 3,
        "modsDirectory": "ShooterGame/Mods",
        "modsDirectoryMode": "CFCore",
        "userDataDirectory": "ShooterGame/ModsUserData",
        "isServer": true,
        "isServerPcOnly": false,
        "throttling":
        {
                "diskWriteBytesPerSec": 0
        },
        "premiumMods":
        {
                "publicKeyPem": "*****"
        },
        "logger":
        {
                "enabled": true,
                "history": 8,
                "maxSizeInMB": 2
        }
}
[2024.02.16-11.16.52:753][  0]LogCFCore: User context not loaded from disk
[2024.02.16-11.16.53:219][ 14]LogCFCore: Query server result: 1 mods
[2024.02.16-11.16.53:252][ 15]LogCFCore: No need to update existing mod: Love Ascended (927084)
[2024.02.16-11.16.53:252][ 15]LogCFCore: Mod valid: Love Ascended (927084)
[2024.02.16-11.16.53:272][ 16]UShooterEngine::LoadGameMods with 1 mods
[2024.02.16-11.16.53:272][ 16]UShooterEngine::LoadGameMods Loading Mod ShooterGame/Mods/83374/927084_5105878/LoveEvolved/Content/PrimalGameData_BP_LoveEvolved.uasset : 927084
[2024.02.16-11.16.53:580][ 16]UShooterEngine::LoadGameMods Using mod asset Package /LoveEvolved/PrimalGameData_BP_LoveEvolved as PrimalGameDataOverride.
[2024.02.16-11.16.53:580][ 16]Initialize Primal Game Data Override.
[2024.02.16-11.16.53:582][ 16]Primal Game Data Took 0.00 seconds
[2024.02.16-11.16.53:838][ 16]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
[2024.02.16-11.16.53:841][ 16]BattlEye successfully started.
[2024.02.16-11.17.37:238][ 16]Server: "POK-PVE-Community-ARK-Server-NO-WIPE-CROSSPLAY" has successfully started!
[2024.02.16-11.17.38:993][ 16]Commandline:  TheIsland_WP?listen?SessionName="POK-PVE-Community-ARK-Server-NO-WIPE-CROSSPLAY"?Port=8780?RCONEnabled=True?RCONPort=27020?ServerAdminPassword=xxxxx -WinLiveMaxPlayers=70 -clusterid=kny -ClusterDirOverride=/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame/Cluster -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -NotifyAdminCommandsInChat -nosteamclient -UseDynamicConfig -mods=927084 -UseBattlEye
[2024.02.16-11.17.38:993][ 16]Full Startup: 47.36 seconds
[2024.02.16-11.17.38:993][ 16]Number of cores 16

are you running this in like VM proxmox or something similart btw The default CPU type (kvm64) in proxmox for linux VMs does not seem to implement all features needed to run the server. in that case just change your CPU type to host in the hardware settings of your VM.

Its an vServer on an Hoster so i have no chance to set an hardware Type. But ive tried directly on my Gaming Computer in Docker for Windows too, and there it was same.

And what makes me thinking is that i have used Evolve Server on the same mashine before without an issue, technically that should be identically or not ?

I see well I working a another version that hopefully will fix the permissions issues

having same issue

ive dont notice, that i was on docker 18.xx after updating the whole system and docker to 20.xx it works

Here is my new version of the script still testing it but should work and it has way more commands and can handle cluster set up for you etc.. and improver the documentation within the script to help users here are the steps if you want to use it

1. Create or Modify User for Container

  • For a new user named pokuser:
sudo useradd -u 1000 -g 1000 -m -s /bin/bash pokuser
  • To modify an existing user:
sudo usermod -u 1000 <existing_username>
sudo groupmod -g 1000 <existing_username>

2. Configure System Settings

  • Set vm.max_map_count temporarily:
sudo sysctl -w vm.max_map_count=262144
  • For permanent setup, add vm.max_map_count=262144 to /etc/sysctl.conf, save, and apply changes:
sudo sysctl -p

3. Adjust Permissions (Optional)

  • Adjust folder permissions if not using a separate user:
sudo chown -R 1000:1000 /path/to/your/instance/folder

4. Download & Setup

  • Simplified download and setup command:
git clone -b beta --single-branch https://github.com/Acekorneya/Ark-Survival-Ascended-Server.git && sudo chown -R 1000:1000 Ark-Survival-Ascended-Server && sudo mv Ark-Survival-Ascended-Server/POK-manager.sh . && sudo chmod +x POK-manager.sh && sudo mv Ark-Survival-Ascended-Server/defaults . && sudo rm -rf Ark-Survival-Ascended-Server

This command accomplishes several tasks efficiently:

  • Clones the beta version of the ARK Survival Ascended Server.
  • Changes the ownership of the downloaded files to pokuser.
  • Moves the POK-manager.sh script to the current directory and makes it executable.
  • Moves the defaults directory to the current directory.
  • Cleans up by removing the cloned repository folder.

5. Run the POK-manager.sh Script

  • To set up and start your ARK server instance:
./POK-manager.sh -setup
./POK-manager.sh -create <instance_name>

6. View Server Status

  • To view the server status:
./POK-manager.sh -status -all

or for a specific instance:

./POK-manager.sh -status <instance_name>

All Available Commands

  • To explore all the script's capabilities:
./POK-manager.sh

Note: Use sudo with POK-manager.sh commands if you've set up folder permissions using it.

This guide is designed to streamline your setup process. Please report any feedback or issues you encounter to help us refine the beta script.

Important Notice: As this is a beta version, please proceed with caution. Though we've addressed many bugs, there may still be unforeseen issues.

Additional Note: The requirement for setting the PUID and PGID can be bypassed by prefixing commands with sudo. For example, you can use sudo ./POK-manager.sh for operations without needing to adjust the user's UID and GID. This is especially useful for quick tests or when you prefer not to modify user settings.

All Available Commands

-list                                     List all instances"
-edit                                     Edit an instance's configuration"
-setup                                    Perform initial setup tasks"
-create <instance_name>                   Create a new instance"
-start <instance_name|-all>               Start an instance or all instances"
-stop <instance_name|-all>                Stop an instance or all instances"
-shutdown [minutes] <instance_name|-all>  Shutdown an instance or all instances with an optional countdown"
-update                                   Update POK-manager.sh and all instances"
-status <instance_name|-all>              Show the status of an instance or all instances"
-restart [minutes] <instance_name|-all>   Restart an instance or all instances"
-saveworld <instance_name|-all>           Save the world of an instance or all instances"
-chat \"<message>\" <instance_name|-all>  Send a chat message to an instance or all instances"
-custom <command> <instance_name|-all>    Execute a custom command on an instance or all instances"
-backup [instance_name|-all]              Backup an instance or all instances (defaults to all if not specified)"
-restore [instance_name]                  Restore an instance from a backup"
-logs [-live] <instance_name>             Display logs for an instance (optionally live)"