Debugging¶
Enable debug mode¶
First thing's first, enable the Open Voice OS's debug mode in ~/ovos/config/mycroft.conf
to get more verbosity from the logs.
Restart containers
All containers will have to be restarted to receive the configuration change.
Note
The commands below don't have to be executed in the same order as they are presented, free free to run them in the order you want!
All containers logs¶
Access all the container logs at the same time, run the following command (make sure it matches the docker compose
or podman-compose
command you run to deploy the stack).
Specific container logs¶
Access the logs of a specific container.
Run command in a container¶
Execute a command inside a container without going into it.
Connect inside a container¶
Go inside a container and run multiple commands (where sh
is the available shell in there).
Configuration syntax check¶
Make sure the mycroft.conf
configuration file is JSON valid by using the jq
command.
jq
command
In order to use the jq
command, the package should be installed on your operating system.
If the configuration file is not valid JSON, jq
will return something like this:
Docker/Podman consumption¶
Get the CPU, memory and I/O consumption per container.
Docker/Podman volume usage¶
Get the disk usage per volumes.