Created attachment 184719 [details] Detected indiserver running SUMMARY indi server is not properly stopped when stoping from Ekos. STEPS TO REPRODUCE 1. Open Kstars 2. Open Ekos 3. Select a profile on Ekos Setup tab. 3bis. The profile has the "Auto connect" flag activated and the "Port selector" flag deactivated. 4. Start the profile by pressing the Start button on the Ekos Setup tab. 5. Wait for all devices to connect and get ready. Open the INDI window to check if all of them have started. In fact it is not necessary to wait for them to proceed to next step. 6. Disconnect from devices using Disconnect button on Ekos Setup tab. 7. Stop the profile by pressing the Stop button on the Ekos Setup tab. 8. Start the profile by pressing the Start button on the Ekos Setup tab. OBSERVED RESULT A dialog shows that there is an instance of indi server already running: [add image] After clicking on the OK button, a new message shows, showing a communication problem with the indi server: [add image] The indi-server process and all the drivers in the profile are not stopped. Even after closing Ekos, the process are running. $ pgrep -laf indi 18049 /Applications/kstars.app/Contents/MacOS/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififod912e66a 18050 indi_snapcap 18051 indi_simulator_ccd 18052 indi_rolloffino 18053 indi_simulator_telescope EXPECTED RESULT The indi server process and all the drivers in the profile are stopped. Pressing the Start button on the Ekos Setup tab should start the indi server and all the drivers in the profile. The INDI control window should show the status of the drivers. SOFTWARE/OS VERSIONS KStars: 3.7.8 Stable KDE Frameworks: 6.17.0 Qt: Using 6.8.3 and built against 6.8.3 macOS Sequoia (15.6) Build ABI: x86_64-little_endian-lp64 Kernel: darwin 24.6.0 ADDITIONAL INFORMATION A manual workaround: stop the indi server process and the drivers, using pkill. 1. First run pgrep to get the process id of the indi server and drivers processes. 2. Then run pkill to kill the indi server process and all the drivers. $ pgrep -laf indi_ indiserver 18049 /Applications/kstars.app/Contents/MacOS/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififod912e66a 18050 indi_snapcap 18051 indi_simulator_ccd 18052 indi_rolloffino 18053 indi_simulator_telescope $ pkill -9 -l indi_ indiserver
Created attachment 184720 [details] indiserver disconnected