Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs and service names need documentation #17

Open
frecuencialibre opened this issue Oct 30, 2018 · 2 comments
Open

logs and service names need documentation #17

frecuencialibre opened this issue Oct 30, 2018 · 2 comments

Comments

@frecuencialibre
Copy link
Collaborator

frecuencialibre commented Oct 30, 2018

the libretime troubleshooting docs don't apply to this docker install. two parts:

  1. LOGS:
    i see some in /var/log/supervisor and some in /var/log/airtime. and then there are docker logs. is that it?

  2. SERVICES:
    we should document their names ( libretime-airtime_analyzer? etc.) and how check their status/restart them, ie. what's the best replacement for invoke-rc.d?

@ned-kelly if you can give me some guidance here i'd take a crack at drafting this.

@frecuencialibre
Copy link
Collaborator Author

basically one uses the CLI provided by Supervisor. For example, to see the status of all processes, try:

supervisorctl

tutorial

@ned-kelly correct? if so let's close this one.

@ned-kelly
Copy link
Owner

Hi @frecuencialibre - yep, the docker build is using supervisor - It's probably worth quickly skimming over the supervisor docs here.

You can also access the interactive supervisor shell by running docker exec -it libretime-core bash -c "supervisorctl".

On the subject of accessing logs, it's probably also worth adding in that all services log to the stderr/stdout of the docker container, so it's best to easily access logs using the docker daemon i.e. docker logs -f libretime-postgres (I realise, however you may need to access the supervisor logs and/or supervisor daemon to restart one of the libretime services running within the core libretime daemon, access it's logs etc (i.e. docker exec -it libretime-core bash -c "supervisorctl tail apache2").

Hope this helps shed some light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants