You are here

meshchat channels (creation of new and deletion of old)

10 posts / 0 new
Last post
DO5MSH
meshchat channels (creation of new and deletion of old)
Hi,
I can't find out how I can create a new channel in an existing zone and how I can remove old messages in the database?
Can someone give me a hand where to look?
Many than ks & 73
Manuel DO5MSH Hamburg, Germany
 
AB7PA
creating/deleting items in meshchat

Manuel, to create a new channel in meshchat you click the dropdown list in the Channel field and click "Add New Channel" to type a new channel name.

Deleting anything from a meshchat zone is more challenging because it has a distributed database that was designed to recover all messages from other running nodes.  Every online node maintains a copy of the current meshchat database.  If a node goes offline and come back online later, it will immediately sync with other online nodes to update its copy of the meshchat database.  Even if you completely delete the meshchat database on your node, as soon as it goes online it will sync with others to restore the database.  Even if all nodes are down but a single node is still running, all of the others will sync with it when they come back up and integrate those messages.

The only way I know of to start the meshchat database from scratch is to coordinate with all of the other node owners, pick a time when they all stop their meshchatsync service, they all need to delete their meshchat zone database at the same time, and then bring their meshchatsync service back online.  But remember that if only one meshchat node still has a stale copy of the database, as soon as that node comes back online the other nodes will integrate those messages.  One other way to start a new meshchat zone database would be to have all of the meshchat node owners switch to a new zone name.  Stop using the old zone and start using the new one.  That will create a separate zone database file to begin fresh.

DO5MSH
creating new channel in meshchat
many thanks,
but in my case there is no possibility to select "Add new channel".
There is only one existing channel "Everything" to select without any alternative choice. :-(
73 Manu
K6CCC
K6CCC's picture
Yes there is.


Select the dropdown on the right (the red arrow).  The first thing below Everything will be the option to add a new channel.

There also appears to be a way that accidentally creates new channels from some specific text in a message.  The 4th entry there "IP Dial 10*..." was created when pasting a section of a Mesh Status listing into a message.  That happened twice on two different channels before I discovered that it was adding a new channel.  And no, there is no practical way to delete a channel.
 

AB7PA
tab-delimited text file database

Good point, Jim.  Meshchat was designed to have people type their text into the message window.  The meshchat "database" is actually a tab-delimited text file.  I've seen some very weird things happen when people try cutting & pasting things from a web browser into the meshchat message window.  If there are embedded tab characters then meshchat interprets them as field separators and bumps the following text over to the next field.  

K6CCC
K6CCC's picture
That explains a lot!  
That explains a lot!
 
DO5MSH
Add new channel does not work
Hi,
I tested according your instructions but sorry to say does not work :-(
I testes with Safari, Firefox and IE.
73 Manu
Image Attachments: 
DO5MSH
works when there is at least one previous message in existence
I just found out everything works fine when I save at least one previous message in channel Everything!
Many thanks and 73
Manuel
K6CCC
K6CCC's picture
Did not even occur to me that
Did not even occur to me that you were on a completely blank MeshChat network.  Something to stick in the back of mind for future reference.
Glad you found out the secret...
 
DO5MSH
Right drop down at red arrow
Many thanks,
right now I am sitting in the wood with a gun but I will try later! 8-)
73 Manuel

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer