Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settings not loading #385

Open
euggen0106 opened this issue Oct 2, 2024 · 3 comments
Open

settings not loading #385

euggen0106 opened this issue Oct 2, 2024 · 3 comments

Comments

@euggen0106
Copy link

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

perplexica

@daxime
Copy link

daxime commented Oct 15, 2024

Just installed on Linux (Manjaro). I have the same issue, failed to connect and i can not open the setting.

@dhlsam
Copy link

dhlsam commented Oct 15, 2024

same here

@daxime
Copy link

daxime commented Oct 16, 2024

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 :)

Ollama setting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants