hassio-addons
hassio-addons copied to clipboard
❓ WHATSAPPER : Cannot Start in Home Assistant
https://github.com/alexbelgium/hassio-addons/issues/1358#issuecomment-2080480998
Hi, just change the portainer password in the addon options and it will reset its database
Data for addons can be stored in different places : /data (within addons) gets deleted when addon is un-installed, but /config is remanent and can only be deleted by using a tool such as my filebrowser addon. Ha had indeed some quirks to know to understand why things behave how they do ;)
Hi, just change the portainer password in the addon options and it will reset its database
I truly am an idiot.........
With respect to Whatsapper I'm getting the following message on start up :
TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (/app/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34:69) at /app/node_modules/whatsapp-web.js/src/Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.18.2
I've found reference to changing the launch arguements here : https://github.com/pedroslopez/whatsapp-web.js/issues/2885
But can't figure out where to do this.
Should I create a new question ?
Ah ah, no problem.
For whatsapper dear @baldarn would you have an idea? thanks !
Hi! will try to have a look today ;)
@baldarn Thank you, I can't find an idiots guide to setting this up, if I've missed one let me know and I'll have a go.
I have HASSOS hosted on a standard VMWare instance running on Windows 11 Pro.
the issue seems to be well known. I'll try to solve that and push another version of the addon :/
thanks very much!
@alexbelgium we can try to update with this. we could solve the issue :/
Wow, you guys are agile and efficient ! Let me know when it's up on HACS and I'll test straight away 👍
@siw1973 not yet, I did an error in the pr for the update :(
still some errors... damn upgrades of libraries and docker images :/
will fix today. I hope :/
still some errors... damn upgrades of libraries and docker images :/
will fix today. I hope :/
No worries, thanks for the help.
@baldarn The Whatsapper update popped up on HA and I tried to install, got the following message in the Log 👍
homeassistant.exceptions.HomeAssistantError: Error updating Whatsapper: Can't install ghcr.io/alexbelgium/whatsapper-amd64:2024.4.29: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.4.29&fromImage=ghcr.io%2Falexbelgium%2Fwhatsapper-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")
@siw1973 yes... something is broken due some updates of dependencies in these months... will try to give a look today :'(
@alexbelgium the error seems related to this change
whatsapper/Dockerfile:37
https://github.com/alexbelgium/hassio-addons/commit/a29a371cbc37b3bc89f439eaeaea369e7f430966
error link: https://github.com/alexbelgium/hassio-addons/actions/runs/8876921382/job/24369467874
what is this needed for? is this necessary?
pr to remove the line
https://github.com/alexbelgium/hassio-addons/issues/1365
the issue should be solved in version 2024.4.29-1
@siw1973 could you give a try? :)
Hi there unfortunatley a same error on Update :
Can't install ghcr.io/alexbelgium/whatsapper-amd64:2024.4.29: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.4.29&fromImage=ghcr.io%2Falexbelgium%2Fwhatsapper-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")
I even removed the Intergation and then couldn't get it to Install either, has the same error.
mmm strange. that was solved to me. it seems you are updating the old version.
try to update the addons.
I deleted the old Add On and now can't get it to Install. Anything that may not have been removed ? Disabled the Firewall on the VM host just to make sure.
All OK 👍
Restarted the whole VM stack and go to the QR code screen.
Thanks for all your help !
@baldarn Quick one, do I need to do any Port Forwarding as I have 443 in use elsewhere exposed to the Internet ?
After linking I'm not getting anything on https://IP:4000 or HTTP://IP:4000.
The log is repeating QR codes even though the original one is Linked in WhatsApp.
Manifest unknown just means it can't find the build online :-) either due to build not yet completed or failed ; or due to the HA cache being not refreshed
I'm trying the system locally, but is not working. it seems whatsapp changed his web app and the library that I'm using is still not working for saving the state
see
https://github.com/pedroslopez/whatsapp-web.js/pull/2816
@baldarn Quick one, do I need to do any Port Forwarding as I have 443 in use elsewhere exposed to the Internet ?
After linking I'm not getting anything on https://IP:4000 or HTTP://IP:4000.
The log is repeating QR codes even though the original one is Linked in WhatsApp.
this is related to the error of the underneith library. I'm in contact with the WWeb.js folks to see how they are proceding
LOL !
I'm the kiss of Doom..... Always late to the party and it's invariably closing down when I arrive !
Thanks again 👍
@siw1973 lol!
I think something will came out in the next days or weeks.
if not, I will consider moving to another library ;)
I modded the title and intial query to not make me look like a total idiot :-)
this could fix things :)
https://github.com/alexbelgium/hassio-addons/pull/1367