This is explanation of why above commad solved the problem
The modesmixer2 is run by user mm2
The directory /usr/share/mm2 is owned by user mm2. This directory holds all the files (binary, startup, config) and as the user mm2 owns this folder recursively, it can access, run and write all the files inside it. That is the reason when you moved db files in this folder modesmixer2 worked OK.
The folder /home/pi/data was created by you using command sudo mkdir and consequently was owned by root. The user mm2 could not write to db files inside it and modesmixer2 gave error message.
To solve the problem, I told you to issue following command, by which user mm2 took over the ownership of this folder and all the db files inside it. sudo chown -R mm2:mm2 /home/pi/data
I tried to move the files to MM2 directory (/usr/share/mm2) but I would get an error (access denied) with WinSCP. With the very little knowledge, I have with Linux, and would not know where to start.
Let me throw this one in, does to also apply for Acarsdeco2 as well?
Ok let me explain. I want to add another directory to my âdataâ folder that is in Pi. this folder inside of the data folder is called logos and loaded full of airline logos to display in the silhouttes part of the program. How would I get MM2 to recognize this just like the basestation and flight route .sqb files? Plus I want to also add this to my acarsdeco2 program too? when all this extra info is added it provides a better understanding of the aircraft them selves. Also once this folder becomes owned my MM2 how can I update the files inside the folder without a access denied? I appreciate the help plus I am still learning.
You can add any number of files and folders to the directory /usr/share/mm2. Normally anthing there will be owned by mm2. However you can ensure this by issueing following command after adding files and folders
sudo chown -R mm2:mm2 /usr/share/mm2
Â
For acrsdeco2 I have not provided any user to run it. It is therefore run by root, so there should be no problem of ownership there. Just add files and folders you want, and it should be OK.
Now AD2 displays more information on the left side. As per the pictures, I really donât care too much. The only part is getting mm2 to recognize my logos folder in /home/pi/data/logos
Today iâve tried to install the newer version of ModesMixer2 on my Raspberry 4 with DietPi installed in 64-bit
So far the installation went through and i edited the config file accordingly.
However whenever i try to start the service, it gives me this error:
inConnectId(192.168.2.109:10003:ADSB) can't resolve host 192.168.2.109 Service not found
The IP address including the port points to my Jetvision device and itâs correct for sure.
On the other Raspberry with Raspberry OS âBullseyeâ the exact same configuration works without issues.
This is how it looks on my other Pi:
inConnectId(192.168.2.109:10003:ADSB) connected
inConnectId(192.168.2.109:10003:ADSB) BEAST data stream detected
The device is pingable using the IP address from that DietPI device.
Great. For me also the 64-bit ModeSMixer2 works OK on 64-bit Raspberry Pi OS Bullseye.
I just now finished writing latest 64-bit DietPi and installed modesmixer2 with the script you mentioned in your post. It gives same error as you mentioned