Latest master (0.34-4) build not starting

Hey all,

I just cloned and built the latest master (0.34-4) and I am unable to start hass anymore. It seems to attempt to upgrade my configuration then falls over. Here is the output from the console:

Config directory: /home/hass/.homeassistant
16-12-11 01:44:28 INFO (Thread-2) [homeassistant.config] Upgrading config directory from 0.34.2 to 0.34.4
Traceback (most recent call last):
  File "/srv/hatdb/bin/hass", line 11, in <module>
load_entry_point('homeassistant', 'console_scripts', 'hass')()
  File "/srv/hatdb/home-assistant/homeassistant/__main__.py", line 380, in main
exit_code = setup_and_run_hass(config_dir, args)
  File "/srv/hatdb/home-assistant/homeassistant/__main__.py", line 293, in setup_and_run_hass
log_rotate_days=args.log_rotate_days)
  File "/srv/hatdb/home-assistant/homeassistant/bootstrap.py", line 462, in from_config_file
hass.loop.run_until_complete(future)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
  File "/srv/hatdb/home-assistant/homeassistant/bootstrap.py", line 453, in _async_init_from_config_file
config_path, hass, verbose, skip_pip, log_rotate_days)
  File "/srv/hatdb/home-assistant/homeassistant/bootstrap.py", line 495, in async_from_config_file
config_dict, hass, enable_log=False, skip_pip=skip_pip)
  File "/srv/hatdb/home-assistant/homeassistant/bootstrap.py", line 384, in async_from_config_dict
None, conf_util.process_ha_config_upgrade, hass)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
  File "/srv/hatdb/home-assistant/homeassistant/config.py", line 252, in process_ha_config_upgrade
shutil.rmtree(lib_path)
  File "/srv/hatdb/lib/python3.5/shutil.py", line 474, in rmtree
_rmtree_safe_fd(fd, path, onerror)
  File "/srv/hatdb/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
  File "/srv/hatdb/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'tellcore'

I don’t use tellcore so not sure where they came from, however I do have tellduslive in my config. I was using 0.34-2 recently which worked fine.

Let me know if you need any further info!

Had same issue with latest dev (0.35.0-dev)

I’m not sure what it was yet, but I renamed my config (.homeassistant) directory and then hass started fine!

So I decided to just copy in my .yaml files, and started again - worked fine once again! So not sure if it’s one of the dependancies, or something in the .db / history file? Would be nice to have the history but not the end of the world!