Perplexica
Perplexica copied to clipboard
settings not loading
Describe the bug: Settings are not loading
To Reproduce: **- installed in docker on WSL
- tried both with and without ollama address in config file
- when I add ollama address in config (http://localhost:11434) i get "Failed to connect to the server. Please try again later." and the same problem with settings not loading
- backend log file:**
yarn run v1.22.22
$ npm run db:push && node dist/app.js
> [email protected] db:push
> drizzle-kit push sqlite
drizzle-kit: v0.22.7
drizzle-orm: v0.31.2
No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...
[✓] Changes applied
info: WebSocket server started on port 3001
(node:60) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info: Server is running on port 3001
yarn run v1.22.22
$ npm run db:push && node dist/app.js
> [email protected] db:push
> drizzle-kit push sqlite
drizzle-kit: v0.22.7
drizzle-orm: v0.31.2
No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...
[i] No changes detected
info: WebSocket server started on port 3001
(node:67) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info: Server is running on port 3001
Expected behaviour: - be able to access settings
Just installed on Linux (Manjaro). I have the same issue, failed to connect and i can not open the setting.
same here
I was trying to make Ollama accessible via my local IP (168.192.x.x), make it a startup service at startup and set Environment="OLLAMA_HOST=192.168.x.x".
Then I configured Perplexica to use this IP and it worked. After a reboot of the sevices, there are no more errors and I can open the setting.
It work well now :)