0.83: Fibaro Home Center Hubs, locks via voice, Traccar

Just upgraded to 83.1
It takes a looong time starting, and the log contains many,many of these errors:
2018-11-30 12:19:35 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: 6
2018-11-30 12:19:45 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2018-11-30 12:23:51 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (_mysql_exceptions.OperationalError) (1034, “Index for table ‘states’ is corrupt; try to repair it”) [SQL: ‘CREATE INDEX ix_states_entity_id ON states (entity_id)’] (Background on this error at: http://sqlalche.me/e/e3q8)

Finally hassio starts, but is unable to use recorder and it’s depentants.

For recorder, I’m using MariaDB on another server.
version 82.1 worked fine.
What can I do?

Yes. SSH works. Telnet doesn’t.

You just need to change the configuration to use the latest format.

OK thanks for the info.

So then all I need is:

asuswrt:
  host: YOUR_ROUTER_IP
  username: YOUR_ADMIN_USERNAME
  password: YOUR_ADMIN_PASSWORD

and the device tracker will be set up automatically just as before?

I am in 82.1 and have not received the .83 update yet, Is there a way to manually update?

Mine did not start up at all … I Had to revert back to 0.82.1 … Did not get any errors in the log even… :confused:
I am also using MariaDB.

same for me. i have open a new post for this here

Woody, did you get this to work? My node red connection broke too. I have updated to 0.83.1 and it still does not work. My log is flooded with the following every few seconds.

Login attempt or request with invalid authentication from XXX.XX.X.X

Also my user list is missing and when I try to recreate users it says I am not authorized.

If the GUI does not startup. Try to comment out the owntracks component in configuration.yaml.

https://github.com/home-assistant/home-assistant/issues/18809

I take it that the new tautulli sensor can’t work if it’s behind a reverse proxy on a remote server?

I keep getting errors as it’s trying to open

https://mydomain.com/My_Tautulli_Folder:PORT#/stats 

which obviously doesn’t work. The plex sensor is great, but it’s a little slow. Was hoping that this could speed things up a bit. (Have also tried using the mqtt notification within tautulli but that doesn’t support mqtt via ssl).

Yes, this upgrade caused me a lot of pain.
I had to recover from a backup (0.82.1) and then upgrade to 0.83.1

But I’m still struggling since a lot of things are not working, but I don’t have time now.

Now, UI is working as well users, but I’m getting issues with node red and some other stuff.

My fault, next time I’ll wait some days before upgrading.

I don’t have owntracks and my gui stops when requesting user and does not go on.

The events have a new prefix. The state stays the same.
I hope I didn’t confuse you even more :wink:

1 Like

I see there are some changes related to expose_by_default as it relates to expose domains. However the changes seems to have broken the expose_by_default function when used with individual entities. I have:

expose_by_default: false
entity_config:
switch.my_switch:
expose: true

This used to expose only switch.my_switch.
After upgrading from 0.82 to 0.83.1 and syncing devices, every entity in HASS now shows up in Google Home.

YES, that did it also for me!
After several resets and Pi resets the UI still didn’t come up. But after commenting out the " - platform: owntracks" in my device-tracker.yaml HA came back!! Thanks!

Using MariaDB, but running it on Docker normal version, not HassIO, and no problems updating from 0.82.1 to 0.83 to 0.83.1

Doesn’t really help out much, but maybe a HassIO problem ?

Hello everyone!

Anyone else having problems with HomeKit? Devices states does not update on Home App after a few minutes of HA boot. Was not having problems with this for months now but it is back. I love how fast lovelace loads now, I really don’t want to go back to version 82 :slight_smile:

Same problem here:

Thanks!

nodered broken for me too. Running 0.83.1, but nodered cannot log in

Depending on your firmware asuswrt stopped telnet.use ssh instead

Same here! HA was stuck after upgrade.
journalctl last log entry was “Database is about to upgrade. Schema version: 6”

Thanks for the comment and it really helped me out!

I upgraded from 0.82.1 to 0.83. Now homeassistant won’t start. I waited four hours.

My Log:

Summary
2018-11-30 20:23:08 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
    return await task  # type: ignore
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 110, in _async_setup_component
    components = loader.load_order_component(hass, domain)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 218, in load_order_component
    return _load_order_component(hass, comp_name, OrderedSet(), set())
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 248, in _load_order_component
    hass, dependency, load_order, loading)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 228, in _load_order_component
    component = get_component(hass, comp_name)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 781, in get_code
  File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes
2018-11-30 20:23:09 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2018-11-30 20:23:09 ERROR (MainThread) [homeassistant.config] Invalid config for [conversation]: expected a dictionary for dictionary value @ data['conversation']. Got ['light', 'switch']. (See /config/configuration.yaml, line 403). Please check the docs at https://home-assistant.io/components/conversation/
2018-11-30 20:23:09 ERROR (MainThread) [homeassistant.setup] Setup failed for conversation: Invalid config.
2018-11-30 20:23:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 38, in setup_panel
    hass, config, DOMAIN, panel_name)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 201, in async_prepare_setup_platform
    platform = loader.get_platform(hass, domain, platform_name)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 60, in get_platform
    return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/config/automation.py", line 7, in <module>
    from homeassistant.components.automation import DOMAIN, PLATFORM_SCHEMA
ValueError: source code string cannot contain null bytes
2018-11-30 20:23:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 56, in async_setup_component
    return await task  # type: ignore
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 103, in _async_setup_component
    component = loader.get_component(hass, domain)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 781, in get_code
  File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes
2018-11-30 20:24:28 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
    fingerprinted = _FINGERPRINT.match(request.match_info['filename'])
KeyError: 'filename'

Not sure what to do really. I already put a # infront of everything in my configuration file, based on the comments before mine.