diyhue / hassio-addon

34 stars 11 forks source link

The command '/bin/bash -o pipefail -c mkdir diyhue config ${WORKING_DIR}' returned a non-zero code: 127 #43

Open Nicko33127 opened 3 hours ago

Nicko33127 commented 3 hours ago

Hi, I had diyhue on my home assistant a year ago as I wanted to connect few light bulbs to my ambilight TV.

This worked perfectly on the diyhue side of things, but the light bulbs were cheap zigbee from aliexpress and did not change in time. Ikea bulbs and hue bulbs from other rooms worked fine but by media room had the cheap bulbs so removed it at the time.

Got some new led lights so wanted to try it again, I managed to instal it initially up to getting the mac address but something crashed. I removed diyhue, and restore my home assistant to the backup done just before trying the install. when I do I keep getting the error in title: The command '/bin/bash -o pipefail -c mkdir diyhue config ${WORKING_DIR}' returned a non-zero code: 127

My log shows:Error relocating /bin/bash: rl_funmap_names: symbol not found Error relocating /bin/bash: rl_set_keymap: symbol not found Error relocating /bin/bash: rl_variable_dumper: symbol not found Error relocating /bin/bash: rl_bind_keyseq_in_map: symbol not found Error relocating /bin/bash: write_history: symbol not found Error relocating /bin/bash: rl_on_new_line: symbol not found Error relocating /bin/bash: rl_clear_visible_line: symbol not found Error relocating /bin/bash: rl_completion_matches: symbol not found Error relocating /bin/bash: rl_completion_mode: symbol not found Error relocating /bin/bash: rl_add_undo: symbol not found Error relocating /bin/bash: rl_cleanup_after_signal: symbol not found Error relocating /bin/bash: rl_list_funmap_names: symbol not found Error relocating /bin/bash: using_history: symbol not found Error relocating /bin/bash: history_get_time: symbol not found Error relocating /bin/bash: remove_history_range: symbol not found Error relocating /bin/bash: rl_crlf: symbol not found Error relocating /bin/bash: rl_filename_completion_function: symbol not found Error relocating /bin/bash: rl_tilde_expand: symbol not found Error relocating /bin/bash: rl_newline: symbol not found Error relocating /bin/bash: rl_vi_editing_mode: symbol not found Error relocating /bin/bash: rl_username_completion_function: symbol not found Error relocating /bin/bash: rl_insert: symbol not found Error relocating /bin/bash: rl_tab_insert: symbol not found Error relocating /bin/bash: rl_menu_complete: symbol not found Error relocating /bin/bash: rl_yank_last_arg: symbol not found Error relocating /bin/bash: rl_complete: symbol not found Error relocating /bin/bash: history_length: symbol not found Error relocating /bin/bash: rl_completion_found_quote: symbol not found Error relocating /bin/bash: rl_completion_type: symbol not found Error relocating /bin/bash: rl_point: symbol not found Error relocating /bin/bash: history_lines_written_to_file: symbol not found Error relocating /bin/bash: history_max_entries: symbol not found Error relocating /bin/bash: history_write_timestamps: symbol not found Error relocating /bin/bash: rl_completion_suppress_quote: symbol not found Error relocating /bin/bash: rl_basic_word_break_characters: symbol not found Error relocating /bin/bash: rl_mark: symbol not found Error relocating /bin/bash: rl_directory_rewrite_hook: symbol not found Error relocating /bin/bash: rl_end: symbol not found Error relocating /bin/bash: rl_directory_completion_hook: symbol not found Error relocating /bin/bash: rl_completer_word_break_characters: symbol not found Error relocating /bin/bash: rl_dispatching: symbol not found Error relocating /bin/bash: rl_filename_quoting_desired: symbol not found Error relocating /bin/bash: history_search_delimiter_chars: symbol not found Error relocating /bin/bash: rl_executing_keyseq: symbol not found Error relocating /bin/bash: rl_key_sequence_length: symbol not found Error relocating /bin/bash: rl_filename_dequoting_function: symbol not found Error relocating /bin/bash: rl_filename_rewrite_hook: symbol not found Error relocating /bin/bash: rl_filename_stat_hook: symbol not found Error relocating /bin/bash: vi_insertion_keymap: symbol not found Error relocating /bin/bash: rl_prep_term_function: symbol not found Error relocating /bin/bash: rl_menu_completion_entry_function: symbol not found Error relocating /bin/bash: rl_attempted_completion_function: symbol not found Error relocating /bin/bash: history_comment_char: symbol not found Error relocating /bin/bash: rl_filename_completion_desired: symbol not found Error relocating /bin/bash: rl_done: symbol not found Error relocating /bin/bash: rl_completion_append_character: symbol not found Error relocating /bin/bash: rl_sort_completion_matches: symbol not found Error relocating /bin/bash: history_lines_read_from_file: symbol not found Error relocating /bin/bash: emacs_ctlx_keymap: symbol not found Error relocating /bin/bash: rl_deprep_term_function: symbol not found Error relocating /bin/bash: rl_editing_mode: symbol not found Error relocating /bin/bash: tilde_additional_prefixes: symbol not found Error relocating /bin/bash: history_subst_char: symbol not found Error relocating /bin/bash: rl_readline_state: symbol not found Error relocating /bin/bash: rl_attempted_completion_over: symbol not found Error relocating /bin/bash: vi_movement_keymap: symbol not found Error relocating /bin/bash: rl_filename_quote_characters: symbol not found Error relocating /bin/bash: rl_filename_quoting_function: symbol not found Error relocating /bin/bash: history_quotes_inhibit_expansion: symbol not found Error relocating /bin/bash: rl_readline_name: symbol not found Error relocating /bin/bash: rl_line_buffer: symbol not found Error relocating /bin/bash: emacs_meta_keymap: symbol not found Error relocating /bin/bash: rl_char_is_quoted_p: symbol not found Error relocating /bin/bash: rl_completion_entry_function: symbol not found Error relocating /bin/bash: rl_last_func: symbol not found Error relocating /bin/bash: rl_ignore_some_completions_function: symbol not found Error relocating /bin/bash: rl_completion_invoking_key: symbol not found Error relocating /bin/bash: rl_instream: symbol not found Error relocating /bin/bash: tilde_expansion_preexpansion_hook: symbol not found

Error relocating /bin/bash: tilde_additional_suffixes: symbol not found Error relocating /bin/bash: rl_completion_suppress_append: symbol not found Error relocating /bin/bash: history_inhibit_expansion_function: symbol not found Error relocating /bin/bash: rl_completer_quote_characters: symbol not found Error relocating /bin/bash: rl_completion_quote_character: symbol not found Error relocating /bin/bash: history_base: symbol not found Error relocating /bin/bash: rl_terminal_name: symbol not found Error relocating /bin/bash: history_expansion_char: symbol not found Error relocating /bin/bash: rl_outstream: symbol not found Error relocating /bin/bash: emacs_standard_keymap: symbol not found Error relocating /bin/bash: rl_startup_hook: symbol not found Error relocating /bin/bash: history_quoting_state: symbol not found Error relocating /bin/bash: rl_signal_event_hook: symbol not found Error relocating /bin/bash: rl_special_prefixes: symbol not found Error relocating /bin/bash: rl_explicit_arg: symbol not found Error relocating /bin/bash: rl_num_chars_to_read: symbol not found Error relocating /bin/bash: rl_completion_mark_symlink_dirs: symbol not found

---> Removed intermediate container 69f44a95e424

Is this due to a bad timing on my part with the update done today (basing this on the changelog)

Any ideas?

hendriksen-mark commented 3 hours ago

Hi, the error you are getting have something to do with the making of directory’s. i suggest to copy the previous config manually to a different folder and remove the original folder. then remove the addon and install again, if it works then copy the backup to the new folder after you shutdown the addon.

Nicko33127 commented 3 hours ago

Hi, the error you are getting have something to do with the making of directory’s. i suggest to copy the previous config manually to a different folder and remove the original folder. then remove the addon and install again, if it works then copy the backup to the new folder after you shutdown the addon.

Thank you for the very quick answer.

Sorry for asking but what previous config exactly? And what original folder? I cannot remove the add-on as the add-on is not installed (as refreshed to my home assistant backup I made before I tried to install double).

Sorry I remember having few issues last year, with the formatting of the mac address and having to not only restart home assistant, but needed to turn off the virtual machine and the pc it's on as well.

I understand I am doing something wrong. I guess I might not be clever enough and need to get a cheap real hue hub maybe

hendriksen-mark commented 2 hours ago

oke then i did not understand you good. then you need to make sure you have the latest os and HA and that you download from the wright repository witch is https://github.com/diyhue/hassio-addon for master. if this is not working on the HA backup you need to start with a new install of HA and check if diyhue is working there.

GitHub
GitHub - diyhue/hassio-addon
Contribute to diyhue/hassio-addon development by creating an account on GitHub.