[GH-ISSUE #11814] Ollama startup hangs when an unreachable SMB drive is listed in macOS Login Items #7841

Open
opened 2026-04-12 20:00:28 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @stu85010 on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11814

Originally assigned to: @BruceMacD on GitHub.

What is the issue?

Hello there,

I just downloaded Version 0.11.4 (0.11.4) of Ollama, and encountered an issue where the app gets stuck during startup on macOS 15.5 (24F74).

While launching the Ollama, macOS pops up an alert saying that the SMB server at 192.168.x.x (my home network drive) is unavailable. I have this SMB share listed in my Login Items, but I’m currently outside my home network.

Ollama seems to get stuck until I click "OK" on the macOS alert, and it repeats this prompt about 3 times before I can finally reach the main UI or access the settings menu via the menubar icon.

It would be great if you could handle this situation more gracefully (e.g. by ignoring network drives during startup), especially since the SMB share is unrelated to Ollama’s actual functionality.

Thanks!

Relevant log output

This is the one, while I'm still having inaccessible SMB drive in my Login Items, you can found it almost took 4 minutes to pass the line of SMAppService

time=2025-08-09T00:01:54.477+08:00 level=INFO source=app_darwin.go:223 msg="starting Ollama" app=/Applications/Ollama.app version=0.11.4 OS=Darwin/24.5.0
time=2025-08-09T00:01:54.486+08:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0
time=2025-08-09T00:01:54.486+08:00 level=INFO source=app.go:229 msg="starting ollama server"
time=2025-08-09T00:01:54.806+08:00 level=INFO source=app.go:257 msg="starting ui server" port=63570
time=2025-08-09T00:01:57.807+08:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s
time=2025-08-09T00:05:52.595+08:00 level=INFO source=updater_darwin.go:406 msg="using v13+ SMAppService for login registration"
time=2025-08-09T00:05:52.635+08:00 level=INFO source=updater_darwin.go:406 msg="service is already enabled, no need to register again"

The other app log is captured after I remove those inaccessable SMB drive, it's way more quicker:

time=2025-08-09T16:21:23.461+08:00 level=INFO source=app_darwin.go:223 msg="starting Ollama" app=/Applications/Ollama.app version=0.11.4 OS=Darwin/24.6.0
time=2025-08-09T16:21:23.466+08:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0
time=2025-08-09T16:21:23.466+08:00 level=INFO source=app.go:229 msg="starting ollama server"
time=2025-08-09T16:21:23.740+08:00 level=INFO source=app.go:257 msg="starting ui server" port=49309
time=2025-08-09T16:21:23.878+08:00 level=INFO source=updater_darwin.go:406 msg="using v13+ SMAppService for login registration"
time=2025-08-09T16:21:23.910+08:00 level=INFO source=updater_darwin.go:406 msg="service is already enabled, no need to register again"

OS

macOS 15.5 (24F74)

GPU

Apple M3 Pro

CPU

Apple M3 Pro

Ollama version

Version 0.11.4 (0.11.4)

Originally created by @stu85010 on GitHub (Aug 8, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11814 Originally assigned to: @BruceMacD on GitHub. ### What is the issue? Hello there, I just downloaded `Version 0.11.4 (0.11.4)` of Ollama, and encountered an issue where the app gets stuck during startup on macOS `15.5 (24F74)`. While launching the Ollama, macOS pops up an alert saying that the SMB server at 192.168.x.x (my home network drive) is unavailable. I have this SMB share listed in my Login Items, but I’m currently outside my home network. Ollama seems to get stuck until I click "OK" on the macOS alert, and it repeats this prompt about 3 times before I can finally reach the main UI or access the settings menu via the menubar icon. It would be great if you could handle this situation more gracefully (e.g. by ignoring network drives during startup), especially since the SMB share is unrelated to Ollama’s actual functionality. Thanks! ### Relevant log output This is the one, while I'm still having inaccessible SMB drive in my Login Items, you can found it almost took 4 minutes to pass the line of `SMAppService` ```shell time=2025-08-09T00:01:54.477+08:00 level=INFO source=app_darwin.go:223 msg="starting Ollama" app=/Applications/Ollama.app version=0.11.4 OS=Darwin/24.5.0 time=2025-08-09T00:01:54.486+08:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0 time=2025-08-09T00:01:54.486+08:00 level=INFO source=app.go:229 msg="starting ollama server" time=2025-08-09T00:01:54.806+08:00 level=INFO source=app.go:257 msg="starting ui server" port=63570 time=2025-08-09T00:01:57.807+08:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s time=2025-08-09T00:05:52.595+08:00 level=INFO source=updater_darwin.go:406 msg="using v13+ SMAppService for login registration" time=2025-08-09T00:05:52.635+08:00 level=INFO source=updater_darwin.go:406 msg="service is already enabled, no need to register again" ``` The other app log is captured after I remove those inaccessable SMB drive, it's way more quicker: ```shell time=2025-08-09T16:21:23.461+08:00 level=INFO source=app_darwin.go:223 msg="starting Ollama" app=/Applications/Ollama.app version=0.11.4 OS=Darwin/24.6.0 time=2025-08-09T16:21:23.466+08:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0 time=2025-08-09T16:21:23.466+08:00 level=INFO source=app.go:229 msg="starting ollama server" time=2025-08-09T16:21:23.740+08:00 level=INFO source=app.go:257 msg="starting ui server" port=49309 time=2025-08-09T16:21:23.878+08:00 level=INFO source=updater_darwin.go:406 msg="using v13+ SMAppService for login registration" time=2025-08-09T16:21:23.910+08:00 level=INFO source=updater_darwin.go:406 msg="service is already enabled, no need to register again" ``` ### OS macOS 15.5 (24F74) ### GPU Apple M3 Pro ### CPU Apple M3 Pro ### Ollama version Version 0.11.4 (0.11.4)
GiteaMirror added the bug label 2026-04-12 20:00:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7841