Setup doesn't progress past API permissions validated for users #668
-
Hi, I have a working instance of paperless-ngx and i've added paperless-ai. Both are running on the same docker instance and same network. When performing the setup of paperless-ui, i input the username, password, paperless api url/token/user, ai settings (ollama, ollama api url, model), and default advanced settings. When i save, the save button just spins forever. when looking at the logs it validates several things on paperless-ngx but never finishes and doesn't throw any error. The last bit of the logs is: Validating Paperless config for: http://paperless-ngx:8000/api/documents/ If I delete everything (container, volume, etc) and start over it does the same thing. The paperless user/token that i am using is a superuser. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you use Ollama? If so then depending on your PC specs it could take some time as PPAI does send a chat completion to the model. |
Beta Was this translation helpful? Give feedback.
i tore down the container, rebooted the docker host and tried again. This time it worked.
API permissions validated for users, 200
Validating Paperless config for: http://paperless-ngx:8000/api/documents/
AI provider: ollama
[DEBUG] 0 existing users deleted
[DEBUG] User franknitty69 added
2025-08-01T17:49:36: PM2 log: App name:paperless-ai id:0 disconnected
2025-08-01T17:49:36: PM2 log: App [paperless-ai:0] exited with code [0] via signal [SIGINT]
2025-08-01T17:49:36: PM2 log: App [paperless-ai:0] will restart in 100ms
2025-08-01T17:49:36: PM2 log: App [paperless-ai:0] starting in -cluster mode-
2025-08-01T17:49:36: PM2 log: App [paperless-ai:0] online