nielsmouthaan / ejectify-macos

Ejectify automatically unmounts external volumes when your Mac starts sleeping, and mounts them again after it wakes up.
https://ejectify.app
Other
386 stars 50 forks source link

Ejectify is not working #67

Open boxerfan89 opened 10 months ago

boxerfan89 commented 10 months ago

Hi, after launching ejectify I get the following entry in launchd.log, no eject working of course. Any ideas? cheers Heinz 2024-01-17 16:38:52.018815 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : xpcproxy spawned with pid 94156 2024-01-17 16:38:52.018865 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : internal event: SPAWNED, code = 0 2024-01-17 16:38:52.018878 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : service state: xpcproxy 2024-01-17 16:38:52.018892 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : deferred event: domain spawn response: 0 2024-01-17 16:38:52.018908 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : internal event: SOURCE_ATTACH, code = 0 2024-01-17 16:38:52.027218 (gui/501 [100011]) : denied lookup: name = com.apple.audio.audiohald, flags = 0x9, requestor = Google Chrome H[1718], error = 159: Sandbox restriction 2024-01-17 16:38:52.027617 (gui/501 [100011]) : denied lookup: name = com.apple.audio.audiohald, flags = 0x9, requestor = Code Helper (GP[1729], error = 159: Sandbox restriction 2024-01-17 16:38:52.051538 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : Service could not initialize: posix_spawn((null)), error 0xe - Bad address 2024-01-17 16:38:52.051564 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : initialization failure: 23C71: xpcproxy + 31472 [1097][6960F486-3261-3A05-9150-1B1F72E3ADB0]: 0xe 2024-01-17 16:38:52.051569 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : internal event: INIT, code = 14 2024-01-17 16:38:52.051575 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : job state = spawn failed 2024-01-17 16:38:52.052521 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : xpcproxy exited due to exit(78) 2024-01-17 16:38:52.052527 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : exited due to exit(78) 2024-01-17 16:38:52.052531 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : already handled failed init, ignoring 2024-01-17 16:38:52.052535 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : service state: exited 2024-01-17 16:38:52.052544 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : internal event: EXITED, code = 0 2024-01-17 16:38:52.052550 (gui/501 [100011]) : service inactive: nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper 2024-01-17 16:38:52.052577 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper [94156]) : service state: not running 2024-01-17 16:38:52.052586 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper) : Service only ran for 0 seconds. Pushing respawn out by 10 seconds. 2024-01-17 16:38:52.052722 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper) : internal event: WILL_SPAWN, code = 0 2024-01-17 16:38:52.052754 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper) : service state: spawn scheduled 2024-01-17 16:38:52.052758 (gui/501/nl.nielsmouthaan.Ejectify-LaunchAtLoginHelper) : service throttled by 10 seconds

nielsmouthaan commented 10 months ago

Can you see the app running in the status bar? Please also check the FAQ to see if it contains anything that can help solve the issue you're experiencing.

boxerfan89 commented 10 months ago

Yes, app is showing up in status bar. Already checked FAQ, nothing helped. No difference between admin user of not. Anything else I can try?

nielsmouthaan commented 10 months ago

What exactly is the issue you're experiencing?

boxerfan89 commented 10 months ago

Well, the app does not unmount the external drive. I tried all options in the app, different usb ports. No change, still this annoying messages.

nielsmouthaan commented 10 months ago

Have you tried the force unmount option, too? That surely should unmount the drive as it doesn't wait for other processes to stop using the volume.

boxerfan89 commented 10 months ago

yes, but no reaction. If I use "unmount all" however, the drives are unmounted.

nielsmouthaan commented 10 months ago

Then there's either a process that stops Ejectify from unmounting the volumes while your Mac starts sleeping (or whatever trigger you've configured) or the trigger isn't executed (e.g. set to eject when your Mac starts sleeping but your Mac actually doesn't sleep, but its displayed are just turned off).

boxerfan89 commented 10 months ago

well, my Mac clearly starts sleeping, otherwise the messages won´t appear. Any idea how I could identify the process which is stopping ejectify?

nielsmouthaan commented 10 months ago

See this FAQ, especially the 4th bullet point.

jftech-github commented 9 months ago

I'm still getting repeated error messages about the drives getting repeatedly removed incorrectly when the Mac (Mac Pro 2012, Mojave) is supposed to be sleeping, a dozen times or more overnight. I've tried all the settings: at sleep, at screensaver, at screen lock. Same problem I had before Ejectify. Am thinking it has to do with a pcie plug-in card that offers me some USB 3.0 slots and a USB C connection. I'm going to try it with the drives extended directly from the built in USB 2.0 jacks

nielsmouthaan commented 9 months ago

I've seen these kinds of cards cause issues, indeed. Might be worth checking how it works when connecting them directly.