OpenVoiceOS / ovos-listener

ovos-core metapackage for speech daemon
Apache License 2.0
1 stars 1 forks source link

Killed if previous voice.pid exists #5

Closed goldyfruit closed 1 year ago

goldyfruit commented 1 year ago

If an old voice.pid file exists in /tmp/mycroft then the bus can't start again, the old voice.pid has to be removed.

2023-03-25 20:32:28.223 - OVOS - ovos_utils.process_utils:PIDLock:301 - INFO - Create PIDLock in: None
2023-03-25 20:32:28.251 - OVOS - ovos_config.models:load_local:96 - DEBUG - Configuration /home/ovos/.venv/lib/python3.11/site-packages/ovos_config/mycroft.conf loaded
2023-03-25 20:32:28.266 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/etc/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:28.281 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.config/mycroft/web_cache.json' not defined, skipping
2023-03-25 20:32:28.297 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.config/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:28.312 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/etc/xdg/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:28.327 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:28.512 - OVOS - ovos_utils.configuration:<module>:52 - WARNING - configuration moved to the `ovos_config` package. This submodule will be removed in ovos_utils 0.1.0
Killed
2023-03-25 20:32:54.375 - OVOS - ovos_utils.process_utils:PIDLock:301 - INFO - Create PIDLock in: None
2023-03-25 20:32:54.409 - OVOS - ovos_config.models:load_local:96 - DEBUG - Configuration /home/ovos/.venv/lib/python3.11/site-packages/ovos_config/mycroft.conf loaded
2023-03-25 20:32:54.424 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/etc/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:54.440 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.config/mycroft/web_cache.json' not defined, skipping
2023-03-25 20:32:54.455 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.config/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:54.471 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/etc/xdg/mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:54.486 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.mycroft/mycroft.conf' not defined, skipping
2023-03-25 20:32:54.707 - OVOS - ovos_utils.configuration:<module>:52 - WARNING - configuration moved to the `ovos_config` package. This submodule will be removed in ovos_utils 0.1.0
Killed

Once I cleared the file, the service started without trouble.

ChanceNCounter commented 1 year ago

@JarbasAl @NeonDaniel @AIIX this is also happening with bus.pid. We should check them all. I'm not sure how many services write them at the moment, still getting my arms around the spun-off repos.

goldyfruit commented 1 year ago

Linking the issue as well here https://github.com/OpenVoiceOS/ovos-messagebus/issues/4