peac
peac
Explore posts from servers
TTwenty
Created by peac on 1/8/2025 in #❓︱help
failed to create extension vector (pgvector): extension vector is unavailable
hey, i'm trying to start twenty on a server with the procedure documented here https://twenty.com/developers/section/self-hosting/docker-compose#Option%202:%20Manual%20steps but i'm hitting the following issue on start:
worker-1 | Successfuly migrated DB!
worker-1 | touch: /app/docker-data/db_status: No such file or directory
db-1 | 2025-01-08 20:32:17.366 GMT [338] ERROR: extension "vector" is not available
db-1 | 2025-01-08 20:32:17.366 GMT [338] DETAIL: Could not open extension control file "/opt/bitnami/postgresql/share/extension/vector.control": No such file or directory.
db-1 | 2025-01-08 20:32:17.366 GMT [338] HINT: The extension must first be installed on the system where PostgreSQL is running.
db-1 | 2025-01-08 20:32:17.366 GMT [338] STATEMENT: CREATE EXTENSION IF NOT EXISTS "vector"
worker-1 | query failed: CREATE EXTENSION IF NOT EXISTS "vector"
worker-1 | error: error: extension "vector" is not available
worker-1 | Failed to perform 'create extension "vector (pgvector)"': QueryFailedError: extension "vector" is not available
worker-1 | Successfuly migrated DB!
worker-1 | touch: /app/docker-data/db_status: No such file or directory
db-1 | 2025-01-08 20:32:17.366 GMT [338] ERROR: extension "vector" is not available
db-1 | 2025-01-08 20:32:17.366 GMT [338] DETAIL: Could not open extension control file "/opt/bitnami/postgresql/share/extension/vector.control": No such file or directory.
db-1 | 2025-01-08 20:32:17.366 GMT [338] HINT: The extension must first be installed on the system where PostgreSQL is running.
db-1 | 2025-01-08 20:32:17.366 GMT [338] STATEMENT: CREATE EXTENSION IF NOT EXISTS "vector"
worker-1 | query failed: CREATE EXTENSION IF NOT EXISTS "vector"
worker-1 | error: error: extension "vector" is not available
worker-1 | Failed to perform 'create extension "vector (pgvector)"': QueryFailedError: extension "vector" is not available
full log: https://pastebin.com/GnqJky28 docker compose: https://pastebin.com/PgJh4s01
7 replies
NNuxt
Created by peac on 8/14/2024 in #❓・help
vite hmr websocket connection issue
Hi, I'm running Nuxt 3 in dev mode and i'm facing a weird issue. The app defines a websocket service that opens a websocket url and updates a state when it receives messages. That works fine. However when a crash happens, i'll correct the bug in the code, and sometimes it won't autoreload, so I'll reload manually. Then I see
[vite] connecting...
ws init
[vite] connecting...
ws init
(ws messages are my own message for my websocket service), a good 3-4 minutes pass and then i see
[vite] connected.
ws connected
[vite] connected.
ws connected
This looks like vite is having a websocket issue that blocks my own websocket. This frontend and its api are in docker containers. Downing and Upping the whole compose does NOT fix the issue. Does it look like anything known ?
1 replies