Hi,
Trying to install Mesh Chat on a hAP ac2 running the latest nightly build.
I am getting this error message when uploading the meshchat_2.15_all.ipk file from my PC.
Collected errors:
* pkg_init_from_file: Malformed package file /tmp/packagefile.ipk.
Any hints?
'

73 de LB1PJ Stefan
Trying to install Mesh Chat on a hAP ac2 running the latest nightly build.
I am getting this error message when uploading the meshchat_2.15_all.ipk file from my PC.
Collected errors:
* pkg_init_from_file: Malformed package file /tmp/packagefile.ipk.
Any hints?


73 de LB1PJ Stefan
UPDATE: All the nodes are quite distant. I was finally able to reach one by its IP address. My latest message showed up, so I guess it's working.
Everyone does not use zone 'MeshChat'.
'Zone=MeshChat' should not be default upon installation.
I recommend that you do not use zone 'MeshChat'.
Especially so on a node install of MeshChat.
73, Chuck
But that doesn't solve my problem with installing I guess ;-)
Any hints when it comes to the installation?
73, Stefan
Hi, Stefan:
I have no clue how to resolve your issue, but here is some information:
I have a hAP-ac2 running nightly-build 20250325.
It is already configured to be a 'supernode'.
I tried to install meshchat-api_2.15_all.ipk and got this pop-up:
Unknown package 'meshchat-api'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency luci-lib-base for meshchat-api
* pkg_hash_fetch_best_installation_candidate: Packages for meshchat-api found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package meshchat-api.
-----
I have Mesh Chat v1.02 on a Raspberry Pi.
It is on a Ubiquiti NanoStation Loco M2 XW running Nightly 20250307.
That Loco M2 indicates 0 installed packages. Thus no meshchat-api.ipk!
It has been several years since I installed this service.
I don't know why my Mesh Chat is working without the -api installed on a node.
73, Chuck
I have been through several tough episodes with Meshchat since October 2024. I have Meshchat-api in a hAP ac lite running with Meshchat_1.02 running in the node's R-Pi service computer. I also have full Meshchat 2.15 running in a hAP ac2. I installed 2.13 then 2.15 in both. No problems. I do not have your answer for sure, but a recommendation.
First, go into your AREDN node's Installed Packages pane, open the dialogue box, and remove whatever Meshchat file you have there. Open the Local Services dialogue box, and remove your current Meshchat service announcement.
Second, reboot your node.
Next, go to your PC, and delete the version of Meshchat_2.15_all.ipk from your Downloads folder or wherever it is stored.
Then go to https://github.com/kn6plv/meshchat and get a clean copy of Meshchat_2.15 in your PC.
Then go back to your AREDN node and use the Packages dialogue box's Upload Package tool to Choose File then Fetch and Install the Meshchat_2.15 file. It should install without issue. Meshchat 2.15 has three added packages - the 2.15 file, one Luci file, and one Lua file. The last two were formally part of the OpenWRT distribution, but were deprecated, and our Meshchat no longer worked. KN6PLV fixed it in February 2025.
Reboot your node.
Now decide on the Meshchat Zone name you want to use. As Chuck NC8Q so correctly points out above, it is not a good idea to use "Meshchat". Get something unique to your mesh island. We use NEW-NTXChat here in North Texas. You could use LB1-Chat, or something similar. You could also use whatever Meshchat-1234 style Zone name comes up with the new Meshchat install, but everyone in your chat group must use the same Zone name.
Then click in the Local Services pane and edit the Meshchat service announcement to have the Zone name that you want to use. Everything else in the Service setup should be good: your node name, the http://, the /meshchat directory name, and the 8080 port number
Done. Commit. Reboot.
That should do it.
Lukke til!
-Tim K5RA
Can you take me step by step how you do the sha256 Check Sum on the Meshchat_2.15_all.ipk file??
I use a Win 11 desktop.
Thanks.
--Tim K5RA