diff --git a/docker-compose.yml b/docker-compose.yml index 3371daa1..b9512446 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,10 +11,10 @@ services: network_mode: host # restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config - # - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config - - ${APP_DATA_LOCATION}/pialert_dev/db:/home/pi/pialert/db - # - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db + # - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config + - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config + # - ${APP_DATA_LOCATION}/pialert_dev/db:/home/pi/pialert/db + - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db # (optional) useful for debugging if you have issues setting up the container - ${LOGS_LOCATION}:/home/pi/pialert/front/log # --------------------------------------------------------------------------- diff --git a/pialert/plugin.py b/pialert/plugin.py index 6eeba48e..b8c00a0e 100755 --- a/pialert/plugin.py +++ b/pialert/plugin.py @@ -215,7 +215,7 @@ def execute_plugin(db, plugin, pluginsState = plugins_state() ): mylog('none', [e.output]) mylog('none', ['[Plugins] ⚠ ERROR - enable LOG_LEVEL=debug and check logs']) except subprocess.TimeoutExpired as timeErr: - mylog('none', ['[Plugins] TIMEOUT - the process forcefully terminated as timeout reached']) + mylog('none', [f'[Plugins] ⚠ ERROR - TIMEOUT - the plugin {plugin["unique_prefix"]} forcefully terminated as timeout reached. Increase TIMEOUT setting and scan interval.']) # check the last run output