fboulay / ha-addons-repository

Proton mail bridge as a Home Assistant addon - Can be used to send notification using a protonmail account
MIT License
11 stars 6 forks source link

couldn't execute "/protonmail/proton-bridge": exec format error #6

Closed 0x77dev closed 3 years ago

0x77dev commented 3 years ago
[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] done.
[services.d] starting services
[services.d] done.
[2021-03-17 15:43:26.046] INFO: Staring ProtonMail Bridge addon
[2021-03-17 15:43:26.829] INFO: Password is NOT in the Have I Been Pwned database! Nice!
couldn't execute "/protonmail/proton-bridge": exec format error
    while executing
"spawn /protonmail/proton-bridge -c"
    (file "/src/info.expect" line 10)
[2021-03-17 15:43:26.858] INFO: Not connected - adding account to ProtonMail Bridge
couldn't execute "/protonmail/proton-bridge": exec format error
    while executing
"spawn /protonmail/proton-bridge -c"
    (file "/src/add-account.expect" line 13)
[2021-03-17 15:43:27.244] ERROR: 
couldn't execute "/protonmail/proton-bridge": exec format error
    while executing
"spawn /protonmail/proton-bridge -c"
    (file "/src/info.expect" line 10)
[2021-03-17 15:43:27.276] ERROR: Cannot connect - Please check errors above
[cmd] bashio exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
fboulay commented 3 years ago

Hi @0x77dev , thanks for reporting the issue !

I need more information to find the cause of the problem:

0x77dev commented 3 years ago
fboulay commented 3 years ago

@0x77dev did you used the 64 bits version of Home Assistant ?

0x77dev commented 3 years ago

32bit

0x77dev commented 3 years ago

image

image

fboulay commented 3 years ago

@0x77dev ok I have the same setup at home. I will try to reproduce the bug.

fboulay commented 3 years ago

I reproduced the bug. the problem is probably in the docker build. I am using a multi stage Dockerfile, and probably is not compatible with multi-arch HA addon build. I will fix the Dockerfile.

fboulay commented 3 years ago

@0x77dev I release a new version (1.3.1) and it should work now.

0x77dev commented 3 years ago

Ok, thanks