Closed donwildman closed 4 years ago
Hello, I am not really sure what to answer here, I tried running the image with the same command, and it works fine (I have the latest image).
For whatever reason ERROR:systemctl:Unit airtime_analyzer.service could not be found
popped up, but airtime_analyzer should be included in.
Did you build the image or pull it from the hub?
I can confirm that libretime work perfectly... and that there is too errrs and warnings in the log :-)
Since there hasn't been any feedback on this end, and that the image has been updated I'll close this for now. Feel free to open a new issue if you ever stumble open something.
I downloaded the image and ran it using the command recommended in the installation instrauctions, I get this:
don@lockdown2020:~$ sudo docker run -p 80:80 -p 8000:8000 -p 8001:8001 --name=libretime odclive/libretime-docker:latest Restarting postgres DB Removed stale pid file. Setting up liquidsoap dir Restarting libretime services ERROR:systemctl:Unit airtime_analyzer.service could not be found. Starting libretime container... airtime-celery.service: Traceback (most recent call last): airtime-celery.service: File "/usr/local/bin/celery", line 11, in
airtime-celery.service: load_entry_point('celery==3.1.26.post2', 'console_scripts', 'celery')()
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/main.py", line 30, in main
airtime-celery.service: main()
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/celery.py", line 81, in main
airtime-celery.service: cmd.execute_from_commandline(argv)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/celery.py", line 793, in execute_from_commandline
airtime-celery.service: super(CeleryCommand, self).execute_from_commandline(argv)))
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/base.py", line 311, in execute_from_commandline
airtime-celery.service: return self.handle_argv(self.prog_name, argv[1:])
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/celery.py", line 785, in handle_argv
airtime-celery.service: return self.execute(command, argv)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/celery.py", line 717, in execute
airtime-celery.service: ).run_from_argv(self.prog_name, argv[1:], command=argv[0])
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/worker.py", line 177, in run_from_argv
airtime-celery.service: *self.parse_options(prog_name, argv, command))
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/base.py", line 411, in parse_options
airtime-celery.service: self.parser = self.create_parser(prog_name, command)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/base.py", line 417, in create_parser
airtime-celery.service: self.get_options() +
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/bin/worker.py", line 221, in get_options
airtime-celery.service: conf = self.app.conf
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/kombu-3.0.37-py2.7.egg/kombu/utils/init.py", line 325, in get
airtime-celery.service: value = obj.dict[self.name] = self.get(obj)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/app/base.py", line 638, in conf
airtime-celery.service: return self._get_config()
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/app/base.py", line 456, in _get_config
airtime-celery.service: s = Settings({}, [self.prepare_config(self.loader.conf),
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/loaders/base.py", line 258, in conf
airtime-celery.service: self._conf = self.read_configuration()
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/loaders/base.py", line 245, in read_configuration
airtime-celery.service: usercfg = self._import_config_module(custom_config)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/loaders/base.py", line 173, in _import_config_module
airtime-celery.service: return self.import_from_cwd(name)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/loaders/base.py", line 112, in import_from_cwd
airtime-celery.service: package=package,
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/utils/imports.py", line 101, in import_from_cwd
airtime-celery.service: return imp(module, package=package)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/celery-3.1.26.post2-py2.7.egg/celery/loaders/base.py", line 106, in import_module
airtime-celery.service: return importlib.import_module(module, package=package)
airtime-celery.service: File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
airtime-celery.service: import(name)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/airtime_celery-0.1-py2.7.egg/airtime-celery/celeryconfig.py", line 25, in
airtime-celery.service: BROKER_URL = get_rmq_broker()
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/airtime_celery-0.1-py2.7.egg/airtime-celery/celeryconfig.py", line 11, in get_rmq_broker
airtime-celery.service: rmq_settings = parse_rmq_config(rmq_config)
airtime-celery.service: File "/usr/local/lib/python2.7/dist-packages/airtime_celery-0.1-py2.7.egg/airtime-celery/celeryconfig.py", line 17, in parse_rmq_config
airtime-celery.service: 'host' : rmq_config[RMQ_CONFIG_SECTION]['host'],
airtime-celery.service: File "build/bdist.linux-x86_64/egg/configobj.py", line 554, in getitem
airtime-celery.service: KeyError: 'rabbitmq'
airtime-celery.service:
airtime-liquidsoap.service: Error loading config file: /etc/airtime/airtime.conf
airtime-liquidsoap.service: traceback: Traceback (most recent call last):
airtime-liquidsoap.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 219, in init
airtime-liquidsoap.service: self.services = RequestProvider(self.config)
airtime-liquidsoap.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 188, in init
airtime-liquidsoap.service: if self.config["general"]["base_dir"].startswith("/"):
airtime-liquidsoap.service: File "build/bdist.linux-x86_64/egg/configobj.py", line 554, in getitem
airtime-liquidsoap.service: val = dict.getitem(self, key)
airtime-liquidsoap.service: KeyError: 'general'
airtime-liquidsoap.service:
airtime-liquidsoap.service: Airtime Liquidsoap
airtime-liquidsoap.service: Error loading config file: /etc/airtime/airtime.conf
airtime-liquidsoap.service: traceback: Traceback (most recent call last):
airtime-liquidsoap.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 219, in init
airtime-liquidsoap.service: self.services = RequestProvider(self.config)
airtime-liquidsoap.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 188, in init
airtime-liquidsoap.service: if self.config["general"]["base_dir"].startswith("/"):
airtime-liquidsoap.service: File "build/bdist.linux-x86_64/egg/configobj.py", line 554, in getitem
airtime-liquidsoap.service: val = dict.getitem(self, key)
airtime-liquidsoap.service: KeyError: 'general'
airtime-liquidsoap.service:
airtime-liquidsoap.service: Airtime Liquidsoap
airtime-liquidsoap.service:
airtime-playout.service: 2020-03-27 11:21:04,916 [main] [INFO ] New locale set to: en_US.UTF-8
airtime-playout.service: 2020-03-27 11:21:04,917 [main] [INFO ] ###########################################
airtime-playout.service: 2020-03-27 11:21:04,917 [main] [INFO ] # pypo #
airtime-playout.service: 2020-03-27 11:21:04,917 [main] [INFO ] # Liquidsoap Scheduled Playout System #
airtime-playout.service: 2020-03-27 11:21:04,918 [main] [INFO ] ###########################################
airtime-playout.service: 2020-03-27 11:21:04,918 [main] [INFO ] Timezone: ('UTC', 'UTC')
airtime-playout.service: 2020-03-27 11:21:04,918 [main] [INFO ] UTC time: 2020-03-27 11:21:04.918371
airtime-playout.service: 2020-03-27 11:21:04,918 [api_client] [ERROR] Error loading config file: /etc/airtime/airtime.conf
airtime-playout.service: 2020-03-27 11:21:04,921 [api_client] [ERROR] traceback: Traceback (most recent call last):
airtime-playout.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 219, in init
airtime-playout.service: self.services = RequestProvider(self.config)
airtime-playout.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 188, in init
airtime-playout.service: if self.config["general"]["base_dir"].startswith("/"):
airtime-playout.service: File "build/bdist.linux-x86_64/egg/configobj.py", line 554, in getitem
airtime-playout.service: val = dict.getitem(self, key)
airtime-playout.service: KeyError: 'general'
airtime-playout.service:
airtime-playout.service: 2020-03-27 11:21:07,768 [main] [INFO ] New locale set to: en_US.UTF-8
airtime-playout.service: 2020-03-27 11:21:07,769 [main] [INFO ] ###########################################
airtime-playout.service: 2020-03-27 11:21:07,769 [main] [INFO ] # pypo #
airtime-playout.service: 2020-03-27 11:21:07,769 [main] [INFO ] # Liquidsoap Scheduled Playout System #
airtime-playout.service: 2020-03-27 11:21:07,769 [main] [INFO ] ###########################################
airtime-playout.service: 2020-03-27 11:21:07,770 [main] [INFO ] Timezone: ('UTC', 'UTC')
airtime-playout.service: 2020-03-27 11:21:07,770 [main] [INFO ] UTC time: 2020-03-27 11:21:07.770133
airtime-playout.service: 2020-03-27 11:21:07,770 [api_client] [ERROR] Error loading config file: /etc/airtime/airtime.conf
airtime-playout.service: 2020-03-27 11:21:07,772 [api_client] [ERROR] traceback: Traceback (most recent call last):
airtime-playout.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 219, in init
airtime-playout.service: self.services = RequestProvider(self.config)
airtime-playout.service: File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_clients/api_client.py", line 188, in init
airtime-playout.service: if self.config["general"]["base_dir"].startswith("/"):
airtime-playout.service: File "build/bdist.linux-x86_64/egg/configobj.py", line 554, in getitem
airtime-playout.service: val = dict.getitem__(self, key)
airtime-playout.service: KeyError: 'general'
airtime-playout.service:
airtime-playout.service:
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
apache2.service: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
apache2.service: httpd (pid 65) already running
apache2.service:
rabbitmq-server.service: Waiting for rabbitmq@localhost
rabbitmq-server.service: pid is 77
rabbitmq-server.service:
icecast2.service: Starting streaming media server icecast2
icecast2.service: ...done.
icecast2.service: [2020-03-10 22:17:56] WARN CONFIG/_parse_root Warning, not configured, using default value "localhost". This will cause problems, e.g. with YP directory listings.
icecast2.service: [2020-03-10 22:17:56] WARN CONFIG/_parse_root Warning, not configured, using default value "Earth".
icecast2.service: [2020-03-10 22:17:56] WARN CONFIG/_parse_root Warning, contact not configured, using default value "icemaster@localhost".
icecast2.service: Starting streaming media server icecast2
icecast2.service: ...done.
icecast2.service: [2020-03-27 11:21:23] WARN CONFIG/_parse_root Warning, not configured, using default value "localhost". This will cause problems, e.g. with YP directory listings.
icecast2.service: [2020-03-27 11:21:23] WARN CONFIG/_parse_root Warning, not configured, using default value "Earth".
icecast2.service: [2020-03-27 11:21:23] WARN CONFIG/_parse_root Warning, contact not configured, using default value "icemaster@localhost".
icecast2.service:
liquidsoap.service: Starting liquidsoap channels: no script found in /etc/liquidsoap
liquidsoap.service: