icloud3 icon indicating copy to clipboard operation
icloud3 copied to clipboard

iCloud3 not starting anymore

Open DPStaude opened this issue 11 months ago • 6 comments

Hi, I tried so far what you said me in the other issue:

@DPStaude Delete the iCloud3 integration Delete the iCloud3 directory Restart HA Restart HA again. The 2nd restart will a cache. Rename the config/.storage/icloud3 directory to something else to save the iCloud3 config Reinstall iCloud3. Instead of using HACS, install the v3.0.1.1.zip in a post a few entries above this one. Readd the iCloud3 integration Hopefully it will load. If not, create an issue and we will look at some logs and try a few other things.

Setup failed for custom integration 'icloud3': Unable to import component: Exception importing custom_components.icloud3 13:02:15 – (FEHLER) setup.py Unexpected exception importing component custom_components.icloud3 13:02:15 – (FEHLER) loader.py

Same errors. Which logs would you like to see? Thanks in advance!

DPStaude avatar Mar 28 '24 12:03 DPStaude

Start with the _home-assistant.log_and _icloud3-0.log_which probably does not exist.

What version of HA are you using? Are you using some type of virtual environment? What would be different about your setup than others?

This is some type of HA issue where it does not like something in iCloud3 on your system. Also take screenshots of the icloud3 directory and its subdirectories to make sure iCloud3 components are all installed.

What it’s FEHLER?

gcobb321 avatar Mar 28 '24 12:03 gcobb321

Start with the _home-assistant.log_and _icloud3-0.log_which probably does not exist. Both files exist. Which lines do you need?

What version of HA are you using? Are you using some type of virtual environment? What would be different about your setup than others? Core: 2024.1.3, Frontend: 20240104.0, running in docker on a Synology Diskstation With the latest rc it worked properly fine until I updated to 3.0.1 over HACS.

This is some type of HA issue where it does not like something in iCloud3 on your system. Also take screenshots of the icloud3 directory and its subdirectories to make sure iCloud3 components are all installed.

What it’s FEHLER? This german word means error.

Unable to get in config, cause it is not loaded (Nicht geladen). Bildschirmfoto 2024-03-28 um 13 50 02 Bildschirmfoto 2024-03-28 um 13 51 14 Bildschirmfoto 2024-03-28 um 13 53 50

DPStaude avatar Mar 28 '24 16:03 DPStaude

  1. Regarding the Log files, I would like the complete files. Email them to [email protected].
  2. Can you reinstall rc10.4 or the version you were running.
  3. There were some major changes in the way iCloud3 was updating the sensors that was requested by balloob that fixed a potential problem doing I/o in the HA Event Loop that would lock up HA. I will look at reverting to that to see if that fixes everything. There was also a major change to the icloud3-0.log file handling for the same reason. It now runs as asublog of the HA log file handler.
  4. I wonder if running in a docker Container it’s also getting in the way.

gcobb321 avatar Mar 28 '24 23:03 gcobb321

There is a coding error in the home-assistant.log file that another user encountered that I fixed. What is really strange about this is the next few lines of code have the same statement and do not generate an error. And I am not having a problem on my system.

Unzip messaging.zip into the icloud3/helpers directory and restart HA. messaging.zip

gcobb321 avatar Mar 29 '24 07:03 gcobb321

THANK YOU!!!

Problem seems to be fixed, v3.0.1.1 is running again with the new messaging.py I will have an eye on it...

Great tool and perfect support!!!

DPStaude avatar Mar 29 '24 08:03 DPStaude

Excellent.

gcobb321 avatar Mar 29 '24 08:03 gcobb321