menu

EdgeDB

Bringing state-of-the-art database technology to the masses.

Channels
Team

Installation broken (macOS)

February 19, 2020 at 1:11pm

Installation broken (macOS)

February 19, 2020 at 1:11pm
While debugging a bulk load script (graphql) I started getting a strange exception "cannot run another command".
I rolled back my code to a point at which it was working, but was still getting the exception so I wondered if the server had got itself into a bad state. I wasn't sure how to restart the server, and tried a couple of launchctl commands, but no joy.
I ended up rebooting the machine, and now EdgeDB doesn't seem to be running at all. I get connection refused errors. I've tried sudo launchctl enable system/com.edgedb.edgedb-1-alpha2, but it doesn't change anything.
I've also noticed that launchctl print system/com.edgedb.edgedb-1-alpha2 prints
Could not find service "com.edgedb.edgedb-1-alpha2" in domain for system
Any advice? I guess I will try reinstalling.

February 19, 2020 at 2:39pm
Reinstalling got me up and running again. Any idea what happened here?
  • reply
  • like
Interesting. The service plist is installed into /Library/LaunchDaemons and then launchctl bootstrap-ed into the system domain, so, as far as I understand, the situation above would only happen if the service was somehow bootout-ed. launchd on macOS is quite arcane. Were you doing anything specific with your system when this happened, like an OS update?
  • reply
  • like