ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
14.37k stars 1.38k forks source link

Image and video search disappear 🫥 #429

Closed Virtualchronos closed 1 day ago

Virtualchronos commented 1 week ago

I'm using perplexica with custom OpenAi api. I also tried with official open Ai api and it's the same.

When you do any search, video search and imagine search doesn't show anything. If you try to click on them, they simply glitch and then immediately vanished...

Didn't try with ollama since I couldn't connect it sorry 😔

ItzCrazyKns commented 4 days ago

What are the logs from the browser console?

Virtualchronos commented 3 days ago

453-036faabed6db8bf3.js:1

   POST https://perplexica.XXX.XXX.com/api/images 500 (Internal Server Error)

onClick @ 453-036faabed6db8bf3.js:1 aS @ fd9d1056-7f47edce5fc91f7c.js:1 aN @ fd9d1056-7f47edce5fc91f7c.js:1 (anonymous) @ fd9d1056-7f47edce5fc91f7c.js:1 sw @ fd9d1056-7f47edce5fc91f7c.js:1 sS @ fd9d1056-7f47edce5fc91f7c.js:1 (anonymous) @ fd9d1056-7f47edce5fc91f7c.js:1 oK @ fd9d1056-7f47edce5fc91f7c.js:1 iL @ fd9d1056-7f47edce5fc91f7c.js:1 sN @ fd9d1056-7f47edce5fc91f7c.js:1 uE @ fd9d1056-7f47edce5fc91f7c.js:1 uS @ fd9d1056-7f47edce5fc91f7c.js:1 453-036faabed6db8bf3.js:1

   POST https://perplexica.XXX.XXX.com/api/videos 500 (Internal Server Error)
ItzCrazyKns commented 3 days ago

And the logs from the backend?

Virtualchronos commented 2 days ago

[i] No changes detected info: WebSocket server started on port 3001 info: Server is running on port 3001 yarn run v1.22.19 $ npm run db:push && node dist/app.js

perplexica-backend@1.9.1 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 info: Server is running on port 3001 Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19 $ npm run db:push && node dist/app.js perplexica-backend@1.9.1 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 info: Server is running on port 3001 Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19 $ npm run db:push && node dist/app.js perplexica-backend@1.9.1 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 info: Server is running on port 3001 Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19 $ npm run db:push && node dist/app.js perplexica-backend@1.9.1 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 info: Server is running on port 3001 Killed error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19 $ npm run db:push && node dist/app.js perplexica-backend@1.9.1 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 info: Server is running on port 3001

Virtualchronos commented 2 days ago

config :

[API_KEYS] OPENAI = "" GROQ = "" ANTHROPIC = ""

[API_ENDPOINTS] OLLAMA = "" SEARXNG = "http://localhost:32768"

[GENERAL] PORT = 3001 SIMILARITY_MEASURE = "cosine"

docker compose :

services: searxng: image: docker.io/searxng/searxng:latest volumes:

networks: perplexica-network:

volumes: backend-dbstore:

I'm running it behind nginx proxu manager on alpine linux docker container but i tried on another machines with external local ip and no nginx proxy manager, the result is the same

ItzCrazyKns commented 2 days ago

Weird, Try going to http://api_urk/api/models and see if you're able to access it

Virtualchronos commented 2 days ago

is it a local url or an url anybody could use ? because I only got "this website is unreachable error"

i first thaught that it was a personnal error but i also rented an OVH server to try perplexica on it and the problem is the same so i doubt it's my internet config or adguard who's messing with it

ItzCrazyKns commented 2 days ago

is it a local url or an url anybody could use ? because I only got "this website is unreachable error"

i first thaught that it was a personnal error but i also rented an OVH server to try perplexica on it and the problem is the same so i doubt it's my internet config or adguard who's messing with it

It should be https://perplexica.xxxx.com/api the URL you pass in the docker compose file.

Virtualchronos commented 2 days ago

/api : {"status":"ok"}

/api/models : {"chatModelProviders":{"custom_openai":{}},"embeddingModelProviders":{"local":{"xenova-bge-small-en-v1.5":{"displayName":"BGE Small"},"xenova-gte-small":{"displayName":"GTE Small"},"xenova-bert-base-multilingual-uncased":{"displayName":"Bert Multilingual"}}}}

ItzCrazyKns commented 2 days ago

Weird, which provider are you using?

Virtualchronos commented 2 days ago

you mean my internet provider ?

SFR in france (but i also tried with bouygues also french provider and same result)

ItzCrazyKns commented 2 days ago

Chat model provider

Virtualchronos commented 2 days ago

oh ! ok ^^

Jan.ai in server mode with llama3.1-8b-instruct as AI model (self hosted windows program)

https://jan.ai

ItzCrazyKns commented 2 days ago

You are on Discord I believe? Let us move on there. Its hard to have a conversation over here.

Virtualchronos commented 2 days ago

yup ! I'm comming