Hello
I am trying to install a docker version of Libretime on an Ubuntu 22.04. I am struggling to get a docker to work.
Below is a long list of errors when I try to start the libretime docker supplied by
Can someone advice if this is the most appropiate docker solution ? Is so many errors normal or should I be using a different solution. The docker is a stop gap solution until Libretime runs on Ubuntu 22.04
My goal is to migrate an existing libretime instance that works great to another machine and import the DB and config.
Many thanks
admin@ubservlow:~$ sudo docker-compose up
Creating network "admin_default" with the default driver
Creating admin_postgres_1 ... done
Creating admin_icecast_1 ... done
Creating admin_rabbitmq_1 ... done
Creating admin_playout_1 ... done
Creating admin_liquidsoap_1 ... done
Creating admin_worker_1 ... done
Creating admin_analyzer_1 ... done
Creating admin_api_1 ... done
Creating admin_legacy_1 ... done
Creating admin_nginx_1 ... done
Attaching to admin_rabbitmq_1, admin_icecast_1, admin_postgres_1, admin_playout_1, admin_analyzer_1, admin_worker_1, admin_api_1, admin_legacy_1, admin_liquidsoap_1, admin_nginx_1
analyzer_1 | 2023-04-27 20:48:15.070 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
analyzer_1 | 2023-04-27 20:48:15.133 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
analyzer_1 | general -> api_key
analyzer_1 | field required (type=value_error.missing)
icecast_1 | [2023-04-27 20:48:12] WARN CONFIG/_parse_root Warning, <hostname> not configured, using default value "localhost". This will cause problems, e.g. with YP directory listings.
icecast_1 | [2023-04-27 20:48:12] WARN CONFIG/_parse_root Warning, <location> not configured, using default value "Earth".
icecast_1 | [2023-04-27 20:48:12] WARN CONFIG/_parse_root Warning, <admin> contact not configured, using default value "icemaster@localhost".
icecast_1 | [2023-04-27 20:48:12] INFO main/main Icecast 2.4.4 server started
icecast_1 | [2023-04-27 20:48:12] INFO yp/yp_update_thread YP update thread started
icecast_1 | [2023-04-27 20:48:12] INFO connection/get_ssl_certificate No SSL capability on any configured ports
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: fpm is running, pid 1
legacy_1 | [27-Apr-2023 20:48:14] NOTICE: ready to handle connections
nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1 | 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
playout_1 | 2023-04-27 20:48:14.878 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
playout_1 | 2023-04-27 20:48:14.926 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
playout_1 | general -> api_key
playout_1 | field required (type=value_error.missing)
postgres_1 |
postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1 |
postgres_1 | 2023-04-27 20:48:13.076 UTC [1] LOG: starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
postgres_1 | 2023-04-27 20:48:13.077 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-04-27 20:48:13.077 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-04-27 20:48:13.086 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-04-27 20:48:13.100 UTC [29] LOG: database system was shut down at 2023-04-27 20:35:22 UTC
postgres_1 | 2023-04-27 20:48:13.114 UTC [1] LOG: database system is ready to accept connections
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: using the "epoll" event method
admin_playout_1 exited with code 1
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: nginx/1.23.4
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: OS: Linux 5.19.0-41-generic
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker processes
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 21
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 22
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 23
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 24
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 25
nginx_1 | 2023/04/27 20:48:15 [notice] 1#1: start worker process 26
api_1 | [2023-04-27 20:48:15 +0000] [1] [INFO] Starting gunicorn 20.1.0
api_1 | [2023-04-27 20:48:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:9001 (1)
api_1 | [2023-04-27 20:48:15 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
api_1 | [2023-04-27 20:48:15 +0000] [6] [INFO] Booting worker with pid: 6
api_1 | [2023-04-27 20:48:15 +0000] [7] [INFO] Booting worker with pid: 7
api_1 | [2023-04-27 20:48:15 +0000] [8] [INFO] Booting worker with pid: 8
api_1 | [2023-04-27 20:48:15 +0000] [9] [INFO] Booting worker with pid: 9
liquidsoap_1 | 2023-04-27 20:48:15.447 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
admin_analyzer_1 exited with code 1
liquidsoap_1 | 2023-04-27 20:48:15.513 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
liquidsoap_1 | general -> api_key
liquidsoap_1 | field required (type=value_error.missing)
worker_1 | 2023-04-27 20:48:15.641 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
worker_1 | 2023-04-27 20:48:15.692 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
worker_1 | general -> api_key
worker_1 | field required (type=value_error.missing)
api_1 | 2023-04-27 20:48:16.113 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:16.115 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:16.119 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | 2023-04-27 20:48:16.119 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:16 +0000] [7] [INFO] Worker exiting (pid: 7)
api_1 | [2023-04-27 20:48:16 +0000] [6] [INFO] Worker exiting (pid: 6)
admin_worker_1 exited with code 1
api_1 | 2023-04-27 20:48:16.182 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:16.182 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:16 +0000] [9] [INFO] Worker exiting (pid: 9)
admin_liquidsoap_1 exited with code 1
api_1 | 2023-04-27 20:48:16.267 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:16.268 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:16 +0000] [8] [INFO] Worker exiting (pid: 8)
api_1 | [2023-04-27 20:48:16 +0000] [10] [INFO] Booting worker with pid: 10
api_1 | [2023-04-27 20:48:16 +0000] [11] [INFO] Booting worker with pid: 11
api_1 | [2023-04-27 20:48:16 +0000] [12] [INFO] Booting worker with pid: 12
api_1 | [2023-04-27 20:48:16 +0000] [13] [INFO] Booting worker with pid: 13
api_1 | 2023-04-27 20:48:16.907 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:16.908 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:16 +0000] [10] [INFO] Worker exiting (pid: 10)
api_1 | 2023-04-27 20:48:17.006 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.007 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [11] [INFO] Worker exiting (pid: 11)
api_1 | [2023-04-27 20:48:17 +0000] [14] [INFO] Booting worker with pid: 14
api_1 | 2023-04-27 20:48:17.087 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.088 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [12] [INFO] Worker exiting (pid: 12)
api_1 | [2023-04-27 20:48:17 +0000] [15] [INFO] Booting worker with pid: 15
api_1 | 2023-04-27 20:48:17.195 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.196 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [13] [INFO] Worker exiting (pid: 13)
api_1 | [2023-04-27 20:48:17 +0000] [16] [INFO] Booting worker with pid: 16
api_1 | [2023-04-27 20:48:17 +0000] [17] [INFO] Booting worker with pid: 17
api_1 | 2023-04-27 20:48:17.666 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.667 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [14] [INFO] Worker exiting (pid: 14)
api_1 | [2023-04-27 20:48:17 +0000] [18] [INFO] Booting worker with pid: 18
api_1 | 2023-04-27 20:48:17.867 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.867 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [15] [INFO] Worker exiting (pid: 15)
api_1 | 2023-04-27 20:48:17.876 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:17.877 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:17 +0000] [16] [INFO] Worker exiting (pid: 16)
api_1 | [2023-04-27 20:48:18 +0000] [19] [INFO] Booting worker with pid: 19
api_1 | 2023-04-27 20:48:18.027 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:18.027 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:18 +0000] [17] [INFO] Worker exiting (pid: 17)
api_1 | [2023-04-27 20:48:18 +0000] [20] [INFO] Booting worker with pid: 20
api_1 | [2023-04-27 20:48:18 +0000] [21] [INFO] Booting worker with pid: 21
api_1 | 2023-04-27 20:48:18.509 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:18.510 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:18 +0000] [18] [INFO] Worker exiting (pid: 18)
api_1 | 2023-04-27 20:48:18.624 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:18.625 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:18 +0000] [19] [INFO] Worker exiting (pid: 19)
api_1 | [2023-04-27 20:48:18 +0000] [22] [INFO] Booting worker with pid: 22
api_1 | [2023-04-27 20:48:18 +0000] [23] [INFO] Booting worker with pid: 23
api_1 | 2023-04-27 20:48:18.771 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:18.771 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:18 +0000] [20] [INFO] Worker exiting (pid: 20)
api_1 | 2023-04-27 20:48:18.889 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:18.889 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:18 +0000] [21] [INFO] Worker exiting (pid: 21)
api_1 | [2023-04-27 20:48:18 +0000] [24] [INFO] Booting worker with pid: 24
api_1 | [2023-04-27 20:48:19 +0000] [25] [INFO] Booting worker with pid: 25
api_1 | 2023-04-27 20:48:19.317 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:19.317 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:19 +0000] [22] [INFO] Worker exiting (pid: 22)
api_1 | [2023-04-27 20:48:19 +0000] [26] [INFO] Booting worker with pid: 26
api_1 | 2023-04-27 20:48:19.438 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:19.439 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:19 +0000] [23] [INFO] Worker exiting (pid: 23)
api_1 | [2023-04-27 20:48:19 +0000] [27] [INFO] Booting worker with pid: 27
api_1 | 2023-04-27 20:48:19.623 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:19.624 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:19 +0000] [24] [INFO] Worker exiting (pid: 24)
api_1 | 2023-04-27 20:48:19.715 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:19.715 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:19 +0000] [25] [INFO] Worker exiting (pid: 25)
api_1 | [2023-04-27 20:48:19 +0000] [28] [INFO] Booting worker with pid: 28
api_1 | [2023-04-27 20:48:19 +0000] [29] [INFO] Booting worker with pid: 29
api_1 | 2023-04-27 20:48:20.104 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:20.104 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:20 +0000] [26] [INFO] Worker exiting (pid: 26)
api_1 | [2023-04-27 20:48:20 +0000] [30] [INFO] Booting worker with pid: 30
api_1 | 2023-04-27 20:48:20.295 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:20.295 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:20 +0000] [27] [INFO] Worker exiting (pid: 27)
api_1 | [2023-04-27 20:48:20 +0000] [31] [INFO] Booting worker with pid: 31
api_1 | 2023-04-27 20:48:20.455 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:20.455 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:20 +0000] [28] [INFO] Worker exiting (pid: 28)
api_1 | 2023-04-27 20:48:20.554 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:20.554 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:20 +0000] [29] [INFO] Worker exiting (pid: 29)
api_1 | [2023-04-27 20:48:20 +0000] [32] [INFO] Booting worker with pid: 32
api_1 | [2023-04-27 20:48:20 +0000] [33] [INFO] Booting worker with pid: 33
api_1 | 2023-04-27 20:48:20.946 | WARNING | libretime_shared.config._base:_load_file_values:62 - provided config filepath '/etc/libretime/config.yml' is not a file
api_1 | 2023-04-27 20:48:20.947 | CRITICAL | libretime_shared.config._base:__init__:50 - 1 validation error for Config
api_1 | general
api_1 | field required (type=value_error.missing)
api_1 | [2023-04-27 20:48:20 +0000] [30] [INFO] Worker exiting (pid: 30)
^CGracefully stopping... (press Ctrl+C again to force)
Stopping admin_nginx_1 ... done
Stopping admin_api_1 ... done
Stopping admin_legacy_1 ... done
Stopping admin_postgres_1 ... done
Stopping admin_icecast_1 ... done
Stopping admin_rabbitmq_1 ... done