Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Messages not received. #29

Open
SNosko5 opened this issue Jan 3, 2024 · 9 comments
Open

[Bug]: Messages not received. #29

SNosko5 opened this issue Jan 3, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@SNosko5
Copy link

SNosko5 commented Jan 3, 2024

Contact Details

steven.nosko@gmail.com

Version

v2.9

System Type

AREDN node

What happened?

A bug happened! I have three Mikrotik hAP AC Lite routers (firmware 3.23.4.0) running Meshchat 2.8. I can see each user in the Mesh Chat Users box update correctly so I'm assuming sync is working properly. Messages are reported being sent but no messages are ever received. I also tried logging all users onto the same instance of Meshchat on the same router but no message is ever received. I uninstalled all instances of Meshchat 2.8 and installed Meshchat 2.9. Same results.

What browsers are you seeing the problem on?

Firefox, Chrome

@SNosko5 SNosko5 added bug Something isn't working needs triage labels Jan 3, 2024
@hickey
Copy link
Owner

hickey commented Jan 3, 2024

I think I was asking for one of the config files so I have some idea how you have the MeshChat instances configured.

@SNosko5
Copy link
Author

SNosko5 commented Jan 3, 2024

Where do I get the config files? I only see the AREDN support file download.

@hickey
Copy link
Owner

hickey commented Jan 3, 2024

On a standard node install you would be looking for the /www/cgi-bin/meshchatconfig.lua file.

@SNosko5
Copy link
Author

SNosko5 commented Jan 3, 2024 via email

@hickey
Copy link
Owner

hickey commented Jan 4, 2024

OK. Good. The poll intervals look adequate.

Next thing to look at is what is in /tmp/meshchat. At the moment I am interested in the file sizes, so post the output of ls -l /tmp/meshchat. If the messages.<ZONENAME> is more than 0 bytes, then the issue is on the front end code. If you check all three nodes running MeshChat, they all should have a messages.<ZONENAME> of about the same size (or identical size).

Troubleshooting the v2.9 front end will be interesting. I don't think that there were any debug statements to send to the Javascript console. That brings up another though. You do have Javascript turned on in your browser right? You generally would have had to specifically turn off Javascript.

@SNosko5
Copy link
Author

SNosko5 commented Jan 4, 2024 via email

@hickey
Copy link
Owner

hickey commented Jan 4, 2024

OK. So with all the message databases being 0 bytes, they have no messages at all. It is starting to sound like to me that the meshchat cgi-bin script is trying to write to the DB files but the writes are failing because of a full filesystem. The easiest way to check this is to execute df -h /tmp. Here is what you would expect to see:

root@WT0F-1:~/meshchat# df -h /tmp
Filesystem                Size      Used Available Use% Mounted on
tmpfs                    29.0M    196.0K     28.9M   1% /tmp

@SNosko5
Copy link
Author

SNosko5 commented Jan 4, 2024 via email

@SNosko5
Copy link
Author

SNosko5 commented Jan 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants