Quick question to help stop me from losing my mind.

Does the standard install of RaspAP lock the file system to stop you from installing other services?

Step 1. RaspAP installed and working fine. enter image description here

Step 2. "netstat -a" and "ls" of /etc showing no Mosquitto install. enter image description here enter image description here

Step 3. Run "sudo apt install mosquitto mosquitto-clients" - All fine.

Step 4. "netstat -a" (Now listening on port 1883)and "ls" of /etc showing Mosquitto installed. enter image description here enter image description here

Step 5. Run "sudo systemctl enable mosquitto" - All fine.

Step 6. Run "sudo systemctl status mosquitto". enter image description here

Step 7. Connect to mosquitto broker via MQTT Explorer - All fine.

Step 8. Publish to topic - All fine.

Step 9. Reboot Raspberry Pi and Log back in.

Step 11. All gone, no services, no folders, nada, zip, zilch! enter image description here enter image description here

All advice/help greatly received.


  • 2
    Hello and welcome – Please avoid adding the picture of commands' output, ETC! Commented Feb 9, 2020 at 19:15
  • Sounds like maybe it is running from RAM. Can you identify the device the root filesystem is mounted on? Possibly by command stat --format='device=%D' / (I get b302, corresponding to 179,2 or /dev/mmcblk0p2 )
    – David G.
    Commented Feb 10, 2020 at 0:04

1 Answer 1


Developer of RaspAP here. The project does not lock the file system or interfere with other services. I installed mosquitto after RaspAP, enabled the service and rebooted. Confirmed it's active and listening on port 1883:

sudo netstat -ltnp | grep -w ':1883'
tcp6       0      0 :::1883          LISTEN      405/mosquitto

Check the output of mount -l and look for any partitions with a read-only (ro) bit. Is your SD card full? Check with df -h. You could also try sync to flush the filesystem buffers to persistent storage, although the kernel does this during shutdown/reboot. It's also possible you have a faulty SD card.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.