Hello,
I would greatly appreciate some help with something I'm troubleshooting since I'm a little stuck.
I'm working on enabling push notifications for Molly. I want to know when people message me even if I don't have the app running. I've downloaded SunUp on my GOS phone. However, to register Molly with SunUp, I need to scan a QR code from my Mollysocket server.
In order to get my Mollysocket server up and running, I've been following the instructions on this page.
https://github.com/mollyim/mollysocket/blob/main/INSTALL.md
I successfully added a user, mollysocket. I used wget to install the compiled binary to /usr/local/bin and linked the executable as instructed. I used the file command to check the binary and ms link files weren't empty. I used curl to download mollysocket.service and mollysocket-vapid.service to /etc/systemd/system as instructed.
Now here is where I'm stuck. When I type sudo systemctl enable --now mollysocket and then check status with sudo systemctl status mollysocket, it gives me this error.
**× mollysocket.service - MollySocket
Loaded: loaded (/etc/systemd/system/mollysocket.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Mon 2025-10-06 11:12:52 PDT; 4s ago
Duration: 55ms
Invocation: 9f9fbc1286724294ac11623adfdd6dc4
Process: 5501 ExecStart=ms server (code=exited, status=203/EXEC)
Main PID: 5501 (code=exited, status=203/EXEC)
Mem peak: 3.1M
CPU: 24ms**
When I investigate with journalctl -u mollysocket, I get this.
$ sudo journalctl -u mollysocket
Oct 06 10:32:00 kali systemd[1]: Started mollysocket.service - MollySocket.
Oct 06 10:32:00 kali (ms)[128190]: mollysocket.service: Unable to locate executable 'ms': No such file or dir>
Oct 06 10:32:00 kali (ms)[128190]: mollysocket.service: Failed at step EXEC spawning ms: No such file or dire>
Oct 06 10:32:00 kali systemd[1]: mollysocket.service: Main process exited, code=exited, status=203/EXEC
Oct 06 10:32:00 kali systemd[1]: mollysocket.service: Failed with result 'exit-code'.
Oct 06 10:32:00 kali systemd[1]: mollysocket.service: Scheduled restart job, restart counter is at 1.
Of course the output is longer than that, the restart counter goes to 5 but it's the same output every time.
Someone on stack overflow suggested going into the mollysocket.service file and switching ProtectHome to false, I did that in mollysocket.service and mollysocket-vapid.service and tried again, but that didn't work so I reverted the change.
Does anyone know why mollysocket.service is unable to locate executable 'ms'? It says there's no such file or directory but I know for a fact there is lol. Thank you!!!