Sorry this is not Posible.
The webinterface of the AI Server in unreachable.
This is the Container Config from the Portainer:
{
"AppArmorProfile": "docker-default",
"Args": [],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": null,
"Domainname": "",
"Entrypoint": [
"./CodeProject.AI.Server"
],
"Env": [
"VERSION=2.0.8",
"TZ=Europe/Berlin",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"ASPNETCORE_URLS=http://+:32168;http://+:5000",
"LOGGING__CONSOLE__FORMATTERNAME=simple",
"DOTNET_RUNNING_IN_CONTAINER=true",
"DEBIAN_FRONTEND=noninteractive",
"CPAI_VERSION=2.5.5",
"UBUNTU_VERSION=22.04",
"DOTNET_VERSION=7.0",
"LANGUAGE=C",
"LC_ALL=C",
"LANG=C",
"LC_CTYPE=C"
],
"ExposedPorts": {
"32168/tcp": {},
"32168/udp": {},
"5000/tcp": {}
},
"Hostname": "a25919b25e5d",
"Image": "codeproject/ai-server:latest",
"Labels": {
"Application": "CodeProject.AI Server",
"Description": "CodeProject.AI Server with CPU-only processing.",
"Publisher": "CodeProject Solutions Inc",
"Target": "x64 Ubuntu 22.04 CPU",
"Version": "2.0.8",
"com.centurylinklabs.watchtower.enable": "true",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"
},
"OnBuild": null,
"OpenStdin": false,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": null,
"WorkingDir": "/app/server"
},
"Created": "2024-02-28T13:33:30.066103204Z",
"Driver": "overlay2",
"ExecIDs": null,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/8ddf12efb142bdbb3e643b7f7cd1407efe71c17bcfd1ee917efbb182cd2e8328-init/diff:/var/lib/docker/overlay2/0b1d0e667fc55766cc55e6d9bcdb3a2f1f932f560dc7697b0bb554356ab56f42/diff:/var/lib/docker/overlay2/184552b9dbb348dd523332b1c72821fd5ea618458d32a375a12b7fef046c31a8/diff:/var/lib/docker/overlay2/c0d04d9fcd33623b59848933b48c9b334903efc684ba2cefc7d8202e254969f3/diff:/var/lib/docker/overlay2/ef5087c0326d5d0155e96505b578237d5d79e7369ab69bf7b8d5c55e0788357b/diff:/var/lib/docker/overlay2/0ff051f7e0f7c2efb8d19482ff6fe73b4c2619661b0d63a6e8bbad5d589daf5d/diff:/var/lib/docker/overlay2/c74c68c84a6e0cfaf5626be87d5874127e5ea5bc0a78766a55495ac5a53c2bf4/diff:/var/lib/docker/overlay2/08c783f7617413a0cfa47983ad539f8dc250d3ce756867ee3af511d6536d3c59/diff:/var/lib/docker/overlay2/9edfd99c31d549f68721c81094f4c35f7df315a98eb1b4132d791310ee246402/diff:/var/lib/docker/overlay2/1746cc54ff37522ef443e52f69231adbca07244040f7f66a54c50f8ceb9ad7bc/diff:/var/lib/docker/overlay2/44e983146701b9489177fc06bd8d26fdd2b480c1013ba506ac1900f1cdc45079/diff:/var/lib/docker/overlay2/e7f4c3012da5f851ac7e195be4203c4dc0ddf481baaca3255c372e5273b5308a/diff:/var/lib/docker/overlay2/bb65ac77dd210550f0669e5f8b4b16576f75f449a715c1c9381ae62e992509b4/diff:/var/lib/docker/overlay2/f7ff5eb92940d94912b7aade31188ede0083cd262c19ee965ab2bff8b77bc017/diff:/var/lib/docker/overlay2/523cf8ed63d4c1a16291016112f694575dbd78a73f288cfcbdb8a0743afd202f/diff:/var/lib/docker/overlay2/221a4fa0f03b00971e79f999975064ca09618788f6b98cbe4b57ec0e277e5c8b/diff",
"MergedDir": "/var/lib/docker/overlay2/8ddf12efb142bdbb3e643b7f7cd1407efe71c17bcfd1ee917efbb182cd2e8328/merged",
"UpperDir": "/var/lib/docker/overlay2/8ddf12efb142bdbb3e643b7f7cd1407efe71c17bcfd1ee917efbb182cd2e8328/diff",
"WorkDir": "/var/lib/docker/overlay2/8ddf12efb142bdbb3e643b7f7cd1407efe71c17bcfd1ee917efbb182cd2e8328/work"
},
"Name": "overlay2"
},
"HostConfig": {
"AutoRemove": false,
"Binds": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceWriteIOps": null,
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"CapAdd": [
"AUDIT_WRITE",
"CHOWN",
"DAC_OVERRIDE",
"FOWNER",
"FSETID",
"KILL",
"MKNOD",
"NET_BIND_SERVICE",
"NET_RAW",
"SETFCAP",
"SETGID",
"SETPCAP",
"SETUID",
"SYS_CHROOT"
],
"CapDrop": [
"AUDIT_CONTROL",
"BLOCK_SUSPEND",
"DAC_READ_SEARCH",
"IPC_LOCK",
"IPC_OWNER",
"LEASE",
"LINUX_IMMUTABLE",
"MAC_ADMIN",
"MAC_OVERRIDE",
"NET_ADMIN",
"NET_BROADCAST",
"SYSLOG",
"SYS_ADMIN",
"SYS_BOOT",
"SYS_MODULE",
"SYS_NICE",
"SYS_PACCT",
"SYS_PTRACE",
"SYS_RAWIO",
"SYS_RESOURCE",
"SYS_TIME",
"SYS_TTY_CONFIG",
"WAKE_ALARM"
],
"Cgroup": "",
"CgroupParent": "",
"CgroupnsMode": "private",
"ConsoleSize": [
0,
0
],
"ContainerIDFile": "",
"CpuCount": 0,
"CpuPercent": 0,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpuShares": 0,
"CpusetCpus": "",
"CpusetMems": "",
"DeviceCgroupRules": null,
"DeviceRequests": [],
"Devices": [],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"Init": false,
"IpcMode": "private",
"Isolation": "",
"Links": null,
"LogConfig": {
"Config": {},
"Type": "json-file"
},
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"NanoCpus": 0,
"NetworkMode": "bridge",
"OomKillDisable": null,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": null,
"PortBindings": {
"32168/tcp": [
{
"HostIp": "",
"HostPort": "32168"
}
],
"5000/tcp": [
{
"HostIp": "",
"HostPort": "5000"
}
]
},
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"ReadonlyRootfs": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": "always"
},
"Runtime": "runc",
"SecurityOpt": null,
"ShmSize": 67108864,
"UTSMode": "",
"Ulimits": null,
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b/hostname",
"HostsPath": "/var/lib/docker/containers/6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b/hosts",
"Id": "6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b",
"Image": "sha256:717640770b7def7511ef1f8114d12de67a10e74244c4f5c123a8b0393661f383",
"LogPath": "/var/lib/docker/containers/6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b/6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b-json.log",
"MountLabel": "",
"Mounts": [],
"Name": "/CodeProjectAI",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "",
"Networks": {
"bridge": {
"Aliases": null,
"DNSNames": null,
"DriverOpts": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": {},
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "",
"NetworkID": "ddbb37277158defcb7eb5248f569072ecbe7b25badd6eb8c97b369da9eefcb3e"
}
},
"Ports": {},
"SandboxID": "90fe8acbf24e70e76b8f3f8c43b44581d30d5416ddf6a1e66d40de65ceff0d59",
"SandboxKey": "/var/run/docker/netns/90fe8acbf24e",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "./CodeProject.AI.Server",
"Platform": "linux",
"ProcessLabel": "",
"ResolvConfPath": "/var/lib/docker/containers/6e789e770de8ca194db6f46eecbc23f78bb52b5757798bfb12d139c7b2c1266b/resolv.conf",
"RestartCount": 104,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 139,
"FinishedAt": "2024-03-08T10:19:45.781137131Z",
"OOMKilled": false,
"Paused": false,
"Pid": 0,
"Restarting": true,
"Running": true,
"StartedAt": "2024-03-08T10:19:44.875028939Z",
"Status": "restarting"
}
}
and this is the logfile (thousands of the same Entry):
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'version' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CodeProject.AI.SDK.Common.SystemInfo.GetRuntimesAsync()
at CodeProject.AI.SDK.Common.SystemInfo.InitializeAsync()
at CodeProject.AI.Server.Program.Main(String[] args)
at CodeProject.AI.Server.Program.<Main>(String[] args)
/bin/bash: line 1: pstree: command not found
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'version' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CodeProject.AI.SDK.Common.SystemInfo.GetRuntimesAsync()
at CodeProject.AI.SDK.Common.SystemInfo.InitializeAsync()
at CodeProject.AI.Server.Program.Main(String[] args)
at CodeProject.AI.Server.Program.<Main>(String[] args)
/bin/bash: line 1: pstree: command not found
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'version' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CodeProject.AI.SDK.Common.SystemInfo.GetRuntimesAsync()
at CodeProject.AI.SDK.Common.SystemInfo.InitializeAsync()
at CodeProject.AI.Server.Program.Main(String[] args)
at CodeProject.AI.Server.Program.<Main>(String[] args)
/bin/bash: line 1: pstree: command not found
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'version' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CodeProject.AI.SDK.Common.SystemInfo.GetRuntimesAsync()
at CodeProject.AI.SDK.Common.SystemInfo.InitializeAsync()
at CodeProject.AI.Server.Program.Main(String[] args)
at CodeProject.AI.Server.Program.<Main>(String[] args)
|