ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
WARNING:homeassistant.setup:Setup of recorder is taking over 10 seconds.
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
INFO:homeassistant.components.mqtt:Received message on hass/sensor/motion_sensor_1: OFF
INFO:homeassistant.components.mqtt:Received message on hass/sensor/door_sensor_1: OFF
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.components.recorder:Error during connection setup: (sqlite3.OperationalError) unable to open database file (retrying in 3 seconds)
ERROR:homeassistant.setup:Setup failed for recorder: Component failed to initialize.
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1979199024-10, service_data=title=Recorder, message=The recorder could not start, please check the log, domain=persistent_notification, service=create>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1979199024-11, service_data=notification_id=invalid_config, title=Invalid config, message=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config, domain=persistent_notification, service=create>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, entity_id=persistent_notification.notification, new_state=<state persistent_notification.notification=The recorder could not start, please check the log; title=Recorder @ 2017-04-12T13:10:23.273287+05:30>>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1979199024-10>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* [discovery](https://home-assistant.io/components/discovery/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:09:59.409801+05:30>, entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:10:23.287228+05:30>>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1979199024-11>
ERROR:homeassistant.setup:Unable to setup dependencies of logbook. Setup failed for dependencies: recorder
ERROR:homeassistant.setup:Setup failed for logbook: Could not setup all dependencies.
ERROR:homeassistant.setup:Unable to setup dependencies of history. Setup failed for dependencies: recorder
ERROR:homeassistant.setup:Setup failed for history: Could not setup all dependencies.
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1979199024-12, service_data=notification_id=invalid_config, title=Invalid config, message=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [logbook](https://home-assistant.io/components/logbook/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config, domain=persistent_notification, service=create>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1979199024-13, service_data=notification_id=invalid_config, title=Invalid config, message=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [logbook](https://home-assistant.io/components/logbook/)
* [discovery](https://home-assistant.io/components/discovery/)
* [history](https://home-assistant.io/components/history/)
* switch.broadlink
Please check your config, domain=persistent_notification, service=create>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:10:23.287228+05:30>, entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [logbook](https://home-assistant.io/components/logbook/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:10:23.314305+05:30>>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1979199024-12>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [logbook](https://home-assistant.io/components/logbook/)
* [discovery](https://home-assistant.io/components/discovery/)
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:10:23.314305+05:30>, entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* [zwave](https://home-assistant.io/components/zwave/)
* sensor.systemmonitor
* device_tracker.bluetooth_tracker
* [recorder](https://home-assistant.io/components/recorder/)
* [logbook](https://home-assistant.io/components/logbook/)
* [discovery](https://home-assistant.io/components/discovery/)
* [history](https://home-assistant.io/components/history/)
* switch.broadlink
Please check your config; title=Invalid config @ 2017-04-12T13:10:23.328846+05:30>>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1979199024-13>
Hi
Now when i run upgrade command getting below erroes
pip3 install --upgrade homeassistant
The directory '/home/homeassistant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/homeassistant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/srv/homeassistant/lib/python3.4/site-packages/pip/commands/install.py", line 289, in run
delete=build_delete) as build_dir:
File "/srv/homeassistant/lib/python3.4/site-packages/pip/utils/build.py", line 22, in __init__
name = os.path.realpath(tempfile.mkdtemp(prefix="pip-build-"))
File "/usr/lib/python3.4/tempfile.py", line 426, in mkdtemp
dir = gettempdir()
File "/usr/lib/python3.4/tempfile.py", line 370, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/lib/python3.4/tempfile.py", line 312, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pi']