Octoprint Restart failure after updating it EVERY TIME

What is the problem?

Consistent Restart failure after Octoprint Update in MacOS

What did you already try to solve it?

Unable to determine steps to resolve on my own. Cannot understand why Octoprint ALWAYS has refused to restart after an update. This has been the case since the very beginning.

Have you tried running in safe mode?

Yes.

Did running in safe mode solve the problem?

No.

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20250915121555.zip (75.0 KB)

WRITE HERE

Additional information about your setup

Octoprint v. 1.11.3
MacOS Sequoia 15.6.1 (24G90)
Browser: Safari 18.6 (20621.3.11.11.3)
Python 3.11.6

Was my initial setup flawed somehow? Am I missing some crucial step? Shouldn’t Octoprint restart without issue after an update? It NEVER has, not even once. I always have to kill the Terminal process and then restart it manually. Can someone PLEASE tell me if I’m doing something wrong?? Drives me nuts!

I get this result after every update:

What do you have configured in settings under server for the restart command? Typically this would only happen if the command is wrong or a plugin is somehow blocking the restart process. Looking at your octoprint.log, I would try disabling octopod to start since it seems to be having lots of issues.

Under Server settings, this is all there is: RESTART_OCTOPRINT. I have a feeling that may be insufficient…is the path incomplete? I’m not any kind of Unix or Terminal expert, so I have no idea what the syntax for the restart command should be. If what’s there isn’t correct, what SHOULD it be?

based on this in your log...

/Users/mikeg/OctoPrint/venv/

either you used octoprint_deploy or manually installed OctoPrint? depending if you setup the optional service or not would determine the restart command. for example, the default OctoPi image uses these in its settings.

I think deploy uses the instance name for the service file when you are setting it up.

If I remember, it was setup manually. In that case, what would the syntax for the restart command look like? I tried the one you kindly provided in the image, but it did not work.

I wish there was a comprehensive MacOS 'Installer' for Octoprint, since there isn’t, I installed it manually based on the instructions provided (which worked for installation, but I’m stumped as to what the Restart Command should be).

Not super familiar with the Mac OS setup, but quick searching makes me think that launchctl might be the way to handle it, assuming you added the plist daemon method to have OctoPrint run all the time (autostart on boot section).

something like this might work in a script file.

sudo launchctl stop /Library/LaunchDaemons/it.YOURNAME.octoprint.plist
sudo launchctl start /Library/LaunchDaemons/it.YOURNAME.octoprint.plist

or maybe simply a kickstart command like this

sudo launchctl kickstart -k /Library/LaunchDaemons/it.YOURNAME.octoprint.plist

sorry can't really be much help here, but it really depends on how you've configured OctoPrint to auto start.