FaserF / hassio-addons

My personal Homeassistant Add-Ons. For more details have a look at the sub-folders.
49 stars 17 forks source link

[Bug]: Apache2 Doesn't Install #275

Open TGRDMS opened 3 months ago

TGRDMS commented 3 months ago

The problem

Hi, i tried reinstall Apache2 (full) and the error below is returned:

The command '/bin/ash -o pipefail -c wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip && unzip musl-locales-master.zip && cd musl-locales-master && cmake -DLOCALE_PROFILE=OFF -D CMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install && cd .. && rm -r musl-locales-master' returned a non-zero code: 139

In first installation i don't have problem but now i have. Could you help me?

What version of Home Assistant Core has the issue?

core-2024.3.2

What version of the addon has the issue?

2.7.10

What type of installation are you running?

Home Assistant OS

Add-On causing the issue

Apache2

Log information

2024-03-25 12:29:32.598 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/605cee21_apache2/install - The command '/bin/ash -o pipefail -c wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip     && unzip musl-locales-master.zip     && cd musl-locales-master     && cmake -DLOCALE_PROFILE=OFF -D CMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install     && cd .. && rm -r musl-locales-master' returned a non-zero code: 139

Additional information

No response

TGRDMS commented 3 months ago

The menu option Apache2 appears but not work. Supervisor log shows this error:

Step 9/22 : RUN wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip && unzip musl-locales-master.zip && cd musl-locales-master && cmake -DLOCALE_PROFILE=OFF -D CMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install && cd .. && rm -r musl-locales-master

---> Running in 060dc171d11b

Connecting to gitlab.com (172.65.251.78:443)

saving to 'musl-locales-master.zip'

musl-locales-master. 100% |****| 63419 0:00:00 ETA 'musl-locales-master.zip' saved

Archive: musl-locales-master.zip

creating: musl-locales-master/ inflating: musl-locales-master/.gitignore inflating: musl-locales-master/.gitlab-ci.yml inflating: musl-locales-master/CMakeLists.txt inflating: musl-locales-master/LICENSE inflating: musl-locales-master/LICENSE.MIT inflating: musl-locales-master/README.md inflating: musl-locales-master/categories.c inflating: musl-locales-master/categories.h creating: musl-locales-master/cmake/ inflating: musl-locales-master/cmake/Translations.cmake inflating: musl-locales-master/cmake/TranslationsMusl.cmake inflating: musl-locales-master/config.h.in inflating: musl-locales-master/locale.c inflating: musl-locales-master/locale.in creating: musl-locales-master/musl-po/ inflating: musl-locales-master/musl-po/CMakeLists.txt inflating: musl-locales-master/musl-po/LOCALES inflating: musl-locales-master/musl-po/ch_DE.po inflating: musl-locales-master/musl-po/de_DE.po inflating: musl-locales-master/musl-po/en_GB.po inflating: musl-locales-master/musl-po/en_US.po

inflating: musl-locales-master/musl-po/es_ES.po inflating: musl-locales-master/musl-po/fr_FR.po inflating: musl-locales-master/musl-po/it_IT.po inflating: musl-locales-master/musl-po/musl.pot inflating: musl-locales-master/musl-po/nb_NO.po inflating: musl-locales-master/musl-po/nl_NL.po inflating: musl-locales-master/musl-po/pt_BR.po inflating: musl-locales-master/musl-po/ru_RU.po inflating: musl-locales-master/musl-po/sv_SE.po inflating: musl-locales-master/musl.pot creating: musl-locales-master/po/ inflating: musl-locales-master/po/CMakeLists.txt inflating: musl-locales-master/po/LINGUAS inflating: musl-locales-master/po/ch_DE.po inflating: musl-locales-master/po/de_DE.po inflating: musl-locales-master/po/en_US.po inflating: musl-locales-master/po/es_ES.po inflating: musl-locales-master/po/fr_FR.po inflating: musl-locales-master/po/it_IT.po inflating: musl-locales-master/po/musl-locales.pot inflating: musl-locales-master/po/nb_NO.po inflating: musl-locales-master/po/nl_NL.po

inflating: musl-locales-master/po/pt_BR.po inflating: musl-locales-master/po/ru_RU.po inflating: musl-locales-master/po/sv_SE.po

Segmentation fault (core dumped)

Removing intermediate container 060dc171d11b

24-03-25 16:43:50 WARNING (MainThread) [supervisor.resolution.fixup] Error during processing execute_repair: 24-03-25 16:43:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 24-03-25 16:44:59 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 24-03-25 16:45:01 WARNING (MainThread) [supervisor.addons.options] Unknown option 'http' for NGINX Home Assistant SSL proxy (core_nginx_proxy) 24-03-25 16:48:55 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 24-03-25 16:50:02 WARNING (MainThread) [supervisor.addons.options] Unknown option 'http' for NGINX Home Assistant SSL proxy (core_nginx_proxy) 24-03-25 16:51:07 ERROR (SyncWorker_0) [supervisor.docker.manager] Image 605cee21/aarch64-addon-apache2:2.7.10 does not exist for addon_605cee21_apache2

FaserF commented 3 months ago

I am not able to reproduce the issue on my end. From the Log output it sounds like a local issue to me. Please try removing the addon (if an older version currently is still installed), restart the whole OS and then give it another try.

TGRDMS commented 3 months ago

I tried remove the addon, restart the OS and install again but not works. i have sucess in install Apache2-minimal but i need PHP and databases.

When i try install again the error is showed by supervisor log:

2024-03-25 12:29:32.598 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/605cee21_apache2/install - The command '/bin/ash -o pipefail -c wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip && unzip musl-locales-master.zip && cd musl-locales-master && cmake -DLOCALE_PROFILE=OFF -D CMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install && cd .. && rm -r musl-locales-master' returned a non-zero code: 139

FaserF commented 2 months ago

Please give it another try with Verison 2.8.1