Check Home Assistant configuration*ERROR*

As far as I know this is not possible with HassIO as it doesn’t a fully fledged accessible Linux below the Supervisor. This is why I can’t imagine that millions (?) of users now need to run a command after every update… :slight_smile: But I might be wrong…

The new update 0.117.3 is out. Did the check again and this popup:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
aiohttp 3.6.2 requires multidict<5.0,>=4.5, but you'll have multidict 5.0.0 which is incompatible.

Very strange because i started this topic with same error… did the command:

pip3 install --upgrade --force-reinstall multidict==4.7.6

And the whole problem was solved…

Now back with the whole problem…

Did the command again:

pip3 install --upgrade --force-reinstall multidict==4.7.6

Did the check again… and now the error is gone again…

If this is the case, and it’s reporting this error on a SUPPORTED installation method - has anyone opened a ticket on GitHub to report? Definitely seems like it should be ‘fixed’ if it’s causing errors on a Hassio / HassOS.

There is now:

3 Likes

Just a thought: Does the update break anything if you don’t do the downgrade with the pip3 command before?

Quick push: The issue on GitHub does not seem to get any feedback. Anyone here who can point me in the right direction or shall I just do the update, see what happens and then roll-back if it breaks?

I did the update to 117.2 a while back and it starts in safe-mode. I had to restore from a snapshot. I’m in a holding pattern until this gains traction. I’m thinking about installing the virtual appliance fresh and restoring that from a snapshot.

That command to force a downgrade, where would I enter that? Not sure if I have access to the OS using the official virtual appliance. Can I use the SSH and Web Terminal add-on?

Same error message here. Running HassOS directly on an Intel NUC.

Using above downgrade command gives me the following error in the terminal:

Collecting multidict==4.7.6
  Using cached multidict-4.7.6.tar.gz (50 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: multidict
  Building wheel for multidict (PEP 517): started
  Building wheel for multidict (PEP 517): finished with status 'error'
Failed to build multidict

I now did the update on the fully supported / supervised RasPi setup, went through without error and is running for 24hrs now. So it seems there is no direct implication for these installs.

Solved it as well: first update the host os to 4.15 and then run the config check again. Problem solved :+1:

Interesting, I was on HassOS 4.15 and seeing the error with Config Checker. Did the update from 0.117.0 to 0.117.5 and it went fine.

Something definitely changed, mine’s currently showing error-free as well!

System:

Config Checker results:

1 Like

Follow-Up. Just upgraded to .117.5 on my setup and all went smoothly.

This morning i upgraded to HASSOS 4.16, did the config check and the error about multidict is gone.

Edit: Did the config check again and error is back.

1 Like

I have exactly the same behavior. 7/10 times errors with the config check, 3/10 times positive results.

Can confirm that I see the issue on HassOS 4.16 as well:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
starting version 3.2.9
[20:38:49] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:38:50] INFO: Setup udev devices
[20:38:52] INFO: Don't worry, this temporary installation is not overwriting your current one.
[20:38:52] INFO: Installing Home Assistant: latest...
[20:38:52] INFO: Please be patient, this might take a few minutes...
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
aiohttp 3.6.2 requires multidict<5.0,>=4.5, but you'll have multidict 5.0.0 which is incompatible.
[20:40:59] INFO: Installed Home Assistant 0.117.6
[20:40:59] INFO: Making a copy of your configuration for checking...
[20:41:02] INFO: Checking your configuration against this version...
[20:46:57] INFO: Configuration check finished - no error found! :)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

@pvizeli I found your name on a number of commits for the update check so I (more or less randomly) tagged you: Can you point us in the right direction?

I have checked several times against 0.118.1 /.2 and found no issues, so this seems to be resolved.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
starting version 3.2.9
[11:02:10] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[11:02:10] INFO: Setup udev devices
[11:02:13] INFO: Don't worry, this temporary installation is not overwriting your current one.
[11:02:13] INFO: Installing Home Assistant: latest...
[11:02:13] INFO: Please be patient, this might take a few minutes...
[11:04:27] INFO: Installed Home Assistant 0.118.2
[11:04:27] INFO: Making a copy of your configuration for checking...
[11:04:30] INFO: Checking your configuration against this version...
[11:10:25] INFO: Configuration check finished - no error found! :)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

I’m getting an error using check config on 118.1 and 118.2 I haven’t updated to either.

I’m not sure what to do about it.

Here is the error I get:

[14:20:00] INFO: Setup udev devices
[14:20:02] INFO: Don't worry, this temporary installation is not overwriting your current one.
[14:20:02] INFO: Installing Home Assistant: latest...
[14:20:02] INFO: Please be patient, this might take a few minutes...
[14:22:23] INFO: Installed Home Assistant 0.118.2
[14:22:23] INFO: Making a copy of your configuration for checking...
[14:22:31] INFO: Checking your configuration against this version...
[14:23:39] ERROR: The configuration check did not pass!
[14:23:39] ERROR: See the output below for more details.
Testing configuration at /tmp/config
Fatal error while loading config: 'int' object is not iterable
Failed config
  General Errors: 
    - 'int' object is not iterable

Successful config (partial)
[14:23:39] INFO: The full output has been written to /share/check_config.txt
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

This shows an error in your config and is not related to this topic. You can the .txt file to see where the error is and follow-up…

Thanks Daniel.

Can you tell me how to get to that txt file?

Using HA I can’t see where to get there.