-
-
Notifications
You must be signed in to change notification settings - Fork 277
Description
Is your feature request related to a problem? Please describe.
I restart Paperless AI and other services daily at 5 AM during a backup. However, my LLM runs on a different machine that is not always online. Currently, Paperless AI fails to start and keeps retrying until the LLM becomes available, even though I have manual scanning enabled.
Describe the solution you'd like
Paperless AI should be able to start even if the LLM is unavailable. Instead of retrying indefinitely, it should proceed with a degraded state and reconnect when the LLM becomes available.
Describe alternatives you've considered
Manually starting Paperless AI after the LLM is online, but this is inconvenient.
Additional context
Here is a log showing the repeated retry attempts until the LLM (Ollama) is online:
paperless-ai | Retrying configuration (attempt 1/60) in 5 seconds...
paperless-ai | Paperless validation error: connect ECONNREFUSED 192.168.178.38:8095
...
paperless-ai | Retrying configuration (attempt 3/60) in 5 seconds...
paperless-ai | AI provider: ollama