Since a couple of days ago the container fails to start when running in a GPU instance in Paperspace Gradient, for some reason it works fine on a CPU only instance but Paperspace has refused to explain why or explore the issue.
{"what":"agent","message":"Loading settings configuration...","level":"info","timestamp":"2023-11-29T09:26:39.278Z"}
{"port":8889,"level":"info","message":"Started on","timestamp":"2023-11-29T09:26:39.279Z"}
{"message":"Finished initializing","level":"info","timestamp":"2023-11-29T09:26:39.280Z"}
/opt/ai-dock/bin/init.sh: line 335: =: command not found
Environment unsuitable for rclone mount...
rclone remains available via CLI
Looking for config.sh...
Not found
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/caddy.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/cloudflared.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/logtail.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/quicktunnel.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/rclone_mount.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/serverless.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/serviceportal.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/sshd.conf" during parsing
2023-11-29 09:26:40,704 INFO Set uid to user 0 succeeded
2023-11-29 09:26:40,711 INFO RPC interface 'supervisor' initialized
2023-11-29 09:26:40,711 CRIT Server 'inet_http_server' running without any HTTP authentication checking
2023-11-29 09:26:40,712 INFO RPC interface 'supervisor' initialized
2023-11-29 09:26:40,712 INFO supervisord started with pid 92
2023-11-29 09:26:41,715 INFO spawned: 'logtail' with pid 98
2023-11-29 09:26:41,718 INFO spawned: 'serverless' with pid 99
2023-11-29 09:26:41,720 INFO spawned: 'serviceportal' with pid 100
2023-11-29 09:26:41,722 INFO spawned: 'sshd' with pid 102
2023-11-29 09:26:41,723 INFO spawned: 'caddy' with pid 103
Starting logtail service...
2023-11-29 09:26:43,723 INFO success: serverless entered RUNNING state, process has stayed up for \u003e than 2 seconds (startsecs)
Gathering logs...==\u003e /var/log/config.log \u003c==
==\u003e /var/log/sync.log \u003c==
Skipping workspace sync: Mamba environments remain in /opt
==\u003e /var/log/preflight.log \u003c==
Looking for preflight.sh...
Empty preflight.sh...
==\u003e /var/log/debug.log \u003c==
==\u003e /var/log/provisioning.log \u003c==
Looking for provisioning.sh...
Not found
==\u003e /var/log/supervisor/caddy.log \u003c==
{"level":"info","ts":1701250003.848939,"msg":"using provided configuration","config_file":"/opt/caddy/etc/Caddyfile","config_adapter":""}
{"level":"warn","ts":1701250003.8504975,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv0"}
{"level":"warn","ts":1701250003.8505342,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv1"}
Error: loading initial config: loading new config: http app module: start: listening on :11111: listen tcp :11111: bind: address already in use
==\u003e /var/log/supervisor/serverless.log \u003c==
Refusing to start serverless worker without $SERVERLESS=true
==\u003e /var/log/supervisor/serviceportal.log \u003c==
Starting Service Portal...
INFO: Started server process [100]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:11111 (Press CTRL+C to quit)
==\u003e /var/log/supervisor/sshd.log \u003c==
/root/.ssh/authorized_keys is not a public key file.\r
Skipping SSH server: No public key
==\u003e /var/log/supervisor/supervisor.log \u003c==
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/caddy.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/cloudflared.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/logtail.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/quicktunnel.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/rclone_mount.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/serverless.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/serviceportal.conf" during parsing
2023-11-29 09:26:40,703 INFO Included extra file "/etc/supervisor/supervisord/conf.d/sshd.conf" during parsing
2023-11-29 09:26:40,704 INFO Set uid to user 0 succeeded
2023-11-29 09:26:40,711 INFO RPC interface 'supervisor' initialized
2023-11-29 09:26:40,711 CRIT Server 'inet_http_server' running without any HTTP authentication checking
2023-11-29 09:26:40,712 INFO RPC interface 'supervisor' initialized
2023-11-29 09:26:40,712 INFO supervisord started with pid 92
2023-11-29 09:26:41,715 INFO spawned: 'logtail' with pid 98
2023-11-29 09:26:41,718 INFO spawned: 'serverless' with pid 99
2023-11-29 09:26:41,720 INFO spawned: 'serviceportal' with pid 100
2023-11-29 09:26:41,722 INFO spawned: 'sshd' with pid 102
2023-11-29 09:26:41,723 INFO spawned: 'caddy' with pid 103
2023-11-29 09:26:43,723 INFO success: serverless entered RUNNING state, process has stayed up for \u003e than 2 seconds (startsecs)
2023-11-29 09:26:44,727 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:26:44,727 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:26:45,728 INFO spawned: 'caddy' with pid 141
2023-11-29 09:26:45,728 INFO spawned: 'caddy' with pid 141
2023-11-29 09:26:46,728 INFO success: logtail entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:46,728 INFO success: serviceportal entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:46,728 INFO success: sshd entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:46,728 INFO success: logtail entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:46,728 INFO success: serviceportal entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:46,728 INFO success: sshd entered RUNNING state, process has stayed up for \u003e than 5 seconds (startsecs)
2023-11-29 09:26:47,861 INFO exited: caddy (exit status 1; not expected)
==\u003e /var/log/supervisor/caddy.log \u003c==
{"level":"info","ts":1701250007.8570542,"msg":"using provided configuration","config_file":"/opt/caddy/etc/Caddyfile","config_adapter":""}
{"level":"warn","ts":1701250007.8587267,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv0"}
{"level":"warn","ts":1701250007.8587873,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv1"}
Error: loading initial config: loading new config: http app module: start: listening on :11111: listen tcp :11111: bind: address already in use
==\u003e /var/log/supervisor/supervisor.log \u003c==
2023-11-29 09:26:47,861 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:26:50,732 INFO spawned: 'caddy' with pid 174
2023-11-29 09:26:51,723 INFO exited: serverless (exit status 0; expected)
2023-11-29 09:26:50,732 INFO spawned: 'caddy' with pid 174
2023-11-29 09:26:51,723 INFO exited: serverless (exit status 0; expected)
2023-11-29 09:26:52,732 INFO exited: sshd (exit status 0; expected)
==\u003e /var/log/supervisor/caddy.log \u003c==
{"level":"info","ts":1701250012.8670478,"msg":"using provided configuration","config_file":"/opt/caddy/etc/Caddyfile","config_adapter":""}
{"level":"warn","ts":1701250012.8683994,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv0"}
{"level":"warn","ts":1701250012.8684745,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv1"}
Error: loading initial config: loading new config: http app module: start: listening on :11111: listen tcp :11111: bind: address already in use
==\u003e /var/log/supervisor/supervisor.log \u003c==
2023-11-29 09:26:52,732 INFO exited: sshd (exit status 0; expected)
2023-11-29 09:26:53,729 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:26:53,729 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:26:56,732 INFO spawned: 'caddy' with pid 204
2023-11-29 09:26:56,732 INFO spawned: 'caddy' with pid 204
==\u003e /var/log/supervisor/caddy.log \u003c==
{"level":"info","ts":1701250018.8984635,"msg":"using provided configuration","config_file":"/opt/caddy/etc/Caddyfile","config_adapter":""}
{"level":"warn","ts":1701250018.8995972,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv0"}
{"level":"warn","ts":1701250018.8996172,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv1"}
Error: loading initial config: loading new config: http app module: start: listening on :11111: listen tcp :11111: bind: address already in use
2023-11-29 09:26:59,730 INFO exited: caddy (exit status 1; not expected)
==\u003e /var/log/supervisor/supervisor.log \u003c==
2023-11-29 09:26:59,730 INFO exited: caddy (exit status 1; not expected)
2023-11-29 09:27:00,730 INFO gave up: caddy entered FATAL state, too many start retries too quickly
2023-11-29 09:27:00,730 INFO gave up: caddy entered FATAL state, too many start retries too quickly
{"message":"Received stop signal SIGTERM, shutting down...","level":"info","timestamp":"2023-11-29T09:28:09.025Z"}
{"message":"All mounts released. Exiting...","level":"info","timestamp":"2023-11-29T09:28:09.030Z"}
[INFO tini (1)] Spawned child process './integrations-sidecar' with pid '7'
[INFO tini (1)] Main child exited normally (with status '0')
I'm not familiar with the workings of the container but would it be possible to disable the service portal using an environment variable or using the provisioning script?