langfuse从v2升级到v3(异机升级)

环境:
OS:Centos 7
说明:

v3部署在新机器,我们需要将v2下的postgresql外挂的数据目录文件拷贝到v3下的外挂数据目录

说明:资源清单文件直接下载,尽量不要复制粘贴,避免不必要的错误 

1.停掉v2版本
停掉v2的目的是postgresql没有事务写入,可以直接拷贝数据目录到v3版本使用
[root@localhost langfuse]# pwd
/home/middle/langfuse/langfuse
[root@localhost langfuse]# docker compose stop
[root@localhost langfuse]# docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS

 

2.v3版本准备yaml配置文件

复制代码
[root@host135 langfuse]# more docker-compose.yml 
services:
  langfuse-worker:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/langfuse-worker:3.6.0
    restart: always
    depends_on: &langfuse-depends-on
      postgres:
        condition: service_healthy
      minio:
        condition: service_healthy
      redis:
        condition: service_healthy
      clickhouse:
        condition: service_healthy
    ports:
      - "3030:3030"
    environment: &langfuse-worker-env
      DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres
      SALT: "mysalt"
      ENCRYPTION_KEY: "0000000000000000000000000000000000000000000000000000000000000000" # generate via `openssl ran
d -hex 32`
      TELEMETRY_ENABLED: ${TELEMETRY_ENABLED:-true}
      LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES: ${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-true}
      CLICKHOUSE_MIGRATION_URL: ${CLICKHOUSE_MIGRATION_URL:-clickhouse://clickhouse:9000}
      CLICKHOUSE_URL: ${CLICKHOUSE_URL:-http://clickhouse:8123}
      CLICKHOUSE_USER: ${CLICKHOUSE_USER:-clickhouse}
      CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse}
      CLICKHOUSE_CLUSTER_ENABLED: ${CLICKHOUSE_CLUSTER_ENABLED:-false}
      LANGFUSE_S3_EVENT_UPLOAD_BUCKET: ${LANGFUSE_S3_EVENT_UPLOAD_BUCKET:-langfuse}
      LANGFUSE_S3_EVENT_UPLOAD_REGION: ${LANGFUSE_S3_EVENT_UPLOAD_REGION:-auto}
      LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID: ${LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID:-minio}
      LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY: ${LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY:-miniosecret}
      LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT: ${LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT:-http://minio:9000}
      LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE: ${LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE:-true}
      LANGFUSE_S3_EVENT_UPLOAD_PREFIX: ${LANGFUSE_S3_EVENT_UPLOAD_PREFIX:-events/}
      LANGFUSE_S3_MEDIA_UPLOAD_BUCKET: ${LANGFUSE_S3_MEDIA_UPLOAD_BUCKET:-langfuse}
      LANGFUSE_S3_MEDIA_UPLOAD_REGION: ${LANGFUSE_S3_MEDIA_UPLOAD_REGION:-auto}
      LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID: ${LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID:-minio}
      LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY: ${LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY:-miniosecret}
      LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT: ${LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT:-http://minio:9000}
      LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE: ${LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE:-true}
      LANGFUSE_S3_MEDIA_UPLOAD_PREFIX: ${LANGFUSE_S3_MEDIA_UPLOAD_PREFIX:-media/}
      REDIS_HOST: ${REDIS_HOST:-redis}
      REDIS_PORT: ${REDIS_PORT:-6379}
      REDIS_AUTH: ${REDIS_AUTH:-myredissecret}

  langfuse-web:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/langfuse:3.6.0
    restart: always
    depends_on: *langfuse-depends-on
    ports:
      - "3000:3000"
    environment:
      <<: *langfuse-worker-env
      NEXTAUTH_URL: http://localhost:3000
      NEXTAUTH_SECRET: mysecret
      LANGFUSE_INIT_ORG_ID: ${LANGFUSE_INIT_ORG_ID:-}
      LANGFUSE_INIT_ORG_NAME: ${LANGFUSE_INIT_ORG_NAME:-}
      LANGFUSE_INIT_PROJECT_ID: ${LANGFUSE_INIT_PROJECT_ID:-}
      LANGFUSE_INIT_PROJECT_NAME: ${LANGFUSE_INIT_PROJECT_NAME:-}
      LANGFUSE_INIT_PROJECT_PUBLIC_KEY: ${LANGFUSE_INIT_PROJECT_PUBLIC_KEY:-}
      LANGFUSE_INIT_PROJECT_SECRET_KEY: ${LANGFUSE_INIT_PROJECT_SECRET_KEY:-}
      LANGFUSE_INIT_USER_EMAIL: ${LANGFUSE_INIT_USER_EMAIL:-}
      LANGFUSE_INIT_USER_NAME: ${LANGFUSE_INIT_USER_NAME:-}
      LANGFUSE_INIT_USER_PASSWORD: ${LANGFUSE_INIT_USER_PASSWORD:-}
      LANGFUSE_SDK_CI_SYNC_PROCESSING_ENABLED: ${LANGFUSE_SDK_CI_SYNC_PROCESSING_ENABLED:-false}
      LANGFUSE_READ_FROM_POSTGRES_ONLY: ${LANGFUSE_READ_FROM_POSTGRES_ONLY:-false}
      LANGFUSE_READ_FROM_CLICKHOUSE_ONLY: ${LANGFUSE_READ_FROM_CLICKHOUSE_ONLY:-true}
      LANGFUSE_RETURN_FROM_CLICKHOUSE: ${LANGFUSE_RETURN_FROM_CLICKHOUSE:-true}

  clickhouse:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/clickhouse-server:24.8
    restart: always
    container_name: clickhouse
    hostname: clickhouse
    environment:
      CLICKHOUSE_DB: default
      CLICKHOUSE_USER: clickhouse
      CLICKHOUSE_PASSWORD: clickhouse
    volumes:
      - /home/middle/langfuse/clickhouse_data:/var/lib/clickhouse
      - /home/middle/langfuse/clickhouse_logs:/var/log/clickhouse-server
    ports:
      - "8123:8123"
      - "9000:9000"
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1
      interval: 5s
      timeout: 5s
      retries: 10
      start_period: 1s

  minio:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/minio:RELEASE.2024-12-18T13-15-44Z
    restart: always
    container_name: minio
    entrypoint: sh
    # create the 'langfuse' bucket before starting the service
    command: -c 'mkdir -p /data/langfuse && minio server --address ":9000" --console-address ":9001" /data'
    environment:
      MINIO_ROOT_USER: minio
      MINIO_ROOT_PASSWORD: miniosecret
    ports:
      - "9090:9000"
      - "9091:9001"
    volumes:
      - /home/middle/langfuse/minio_data:/data
    healthcheck:
      test: ["CMD", "mc", "ready", "local"]
      interval: 1s
      timeout: 5s
      retries: 5
      start_period: 1s

  redis:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/redis:7.4
    restart: always
    command: >
      --requirepass ${REDIS_AUTH:-myredissecret}
    ports:
      - 6379:6379
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 3s
      timeout: 10s
      retries: 10

  postgres:
    image: registry.cn-shenzhen.aliyuncs.com/hxlk8s/postgresql:16.4.0
    restart: always
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 3s
      timeout: 3s
      retries: 10
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: postgres
    ports:
      - 5432:5432
    volumes:
      - /home/middle/langfuse/pgdata:/var/lib/postgresql/data

volumes:
  langfuse_postgres_data:
    driver: local
  langfuse_clickhouse_data:
    driver: local
  langfuse_clickhouse_logs:
    driver: local
  langfuse_minio_data:
    driver: local
复制代码

 

 

 

3.v3版本机器上创建配置文件外挂出来的目录
mkdir /home/middle/langfuse/pgdata #该目录不需要创建 下面步骤直接从v2版本机器拷贝过来
mkdir -p /home/middle/langfuse/minio_data
mkdir -p /home/middle/langfuse/clickhouse_data
mkdir -p /home/middle/langfuse/clickhouse_logs

4.拷贝v2版本的postgresql数据目录到v3版本
拷贝前确保postgresql已经停掉

scp -r -p /home/middle/langfuse/pgdata root@192.168.1.135:/home/middle/langfuse/

这个时候v3版本机器上的postgres数据文件目录

复制代码
[root@host135 langfuse]# ls -al
total 4
drwxrwxr-x  7 root    root  100 Jan  9 11:22 .
drwxrwxr-x 13 root    root  171 Jan  9 11:05 ..
drwxrwxr-x  2     101  101    6 Jan 10 09:14 clickhouse_data
drwxrwxr-x  2     101  101    6 Jan 10 09:14 clickhouse_logs
drwxrwxr-x  2 root    root   61 Jan 10 09:19 langfuse
drwxrwxr-x  3 root    root   24 Jan 10 09:14 minio_data
drwx------ 19 polkitd root 4096 Jan 10 09:25 pgdata
复制代码

pgdata目录下文件好像都是root了

复制代码
[root@host135 pgdata]# ls -al
total 64
drwx------ 19 polkitd root  4096 Jan 10 09:25 .
drwxrwxr-x  7 root    root   100 Jan  9 11:22 ..
drwx------  5 root    root    33 Jan  9 14:17 base
drwx------  2 root    root  4096 Jan  9 14:20 global
drwx------  2 root    root     6 Jan  9 14:17 pg_commit_ts
drwx------  2 root    root     6 Jan  9 14:17 pg_dynshmem
-rw-------  1 root    root  5743 Jan  9 14:17 pg_hba.conf
-rw-------  1 root    root  2640 Jan  9 14:17 pg_ident.conf
drwx------  4 root    root    68 Jan 10 09:25 pg_logical
drwx------  4 root    root    36 Jan  9 14:17 pg_multixact
drwx------  2 root    root     6 Jan  9 14:17 pg_notify
drwx------  2 root    root     6 Jan  9 14:17 pg_replslot
drwx------  2 root    root     6 Jan  9 14:17 pg_serial
drwx------  2 root    root     6 Jan  9 14:17 pg_snapshots
drwx------  2 root    root    25 Jan 10 09:25 pg_stat
drwx------  2 root    root     6 Jan  9 14:17 pg_stat_tmp
drwx------  2 root    root    18 Jan  9 14:17 pg_subtrans
drwx------  2 root    root     6 Jan  9 14:17 pg_tblspc
drwx------  2 root    root     6 Jan  9 14:17 pg_twophase
-rw-------  1 root    root     3 Jan  9 14:17 PG_VERSION
drwx------  3 root    root    60 Jan  9 14:17 pg_wal
drwx------  2 root    root    18 Jan  9 14:17 pg_xact
-rw-------  1 root    root    88 Jan  9 14:17 postgresql.auto.conf
-rw-------  1 root    root 29762 Jan  9 14:17 postgresql.conf
-rw-------  1 root    root    36 Jan  9 14:17 postmaster.opts
复制代码

v3容器启动后会自动发生改变

复制代码
[root@host135 pgdata]# ls -al
total 68
drwx------ 19 polkitd root   4096 Jan 10 10:04 .
drwxrwxr-x  7 root    root    100 Jan  9 11:22 ..
drwx------  5 polkitd root     33 Jan  9 14:17 base
drwx------  2 polkitd root   4096 Jan 10 10:05 global
drwx------  2 polkitd root      6 Jan  9 14:17 pg_commit_ts
drwx------  2 polkitd root      6 Jan  9 14:17 pg_dynshmem
-rw-------  1 polkitd root   5743 Jan  9 14:17 pg_hba.conf
-rw-------  1 polkitd root   2640 Jan  9 14:17 pg_ident.conf
drwx------  4 polkitd root     68 Jan 10 09:25 pg_logical
drwx------  4 polkitd root     36 Jan  9 14:17 pg_multixact
drwx------  2 polkitd root      6 Jan  9 14:17 pg_notify
drwx------  2 polkitd root      6 Jan  9 14:17 pg_replslot
drwx------  2 polkitd root      6 Jan  9 14:17 pg_serial
drwx------  2 polkitd root      6 Jan  9 14:17 pg_snapshots
drwx------  2 polkitd root      6 Jan 10 10:04 pg_stat
drwx------  2 polkitd root      6 Jan  9 14:17 pg_stat_tmp
drwx------  2 polkitd root     18 Jan  9 14:17 pg_subtrans
drwx------  2 polkitd root      6 Jan  9 14:17 pg_tblspc
drwx------  2 polkitd root      6 Jan  9 14:17 pg_twophase
-rw-------  1 polkitd root      3 Jan  9 14:17 PG_VERSION
drwx------  3 polkitd root     60 Jan  9 14:17 pg_wal
drwx------  2 polkitd root     18 Jan  9 14:17 pg_xact
-rw-------  1 polkitd root     88 Jan  9 14:17 postgresql.auto.conf
-rw-------  1 polkitd root  29762 Jan  9 14:17 postgresql.conf
-rw-------  1 polkitd root     36 Jan 10 10:04 postmaster.opts
-rw-------  1 polkitd input    94 Jan 10 10:04 postmaster.pid
复制代码

 

5.启动v3版本
[root@host135 langfuse]# cd /home/middle/langfuse/langfuse
[root@host135 langfuse]# docker compose up -d

 

6.容器启动后会自动执行升级的脚本

复制代码
[root@host135 langfuse]# docker compose logs langfuse-web
langfuse-web-1  | Script executed successfully.
langfuse-web-1  | Prisma schema loaded from packages/shared/prisma/schema.prisma
langfuse-web-1  | Datasource "db": PostgreSQL database "postgres", schema "public" at "postgres:5432"
langfuse-web-1  | 
langfuse-web-1  | 273 migrations found in prisma/migrations
langfuse-web-1  | 
langfuse-web-1  | Applying migration `20240814223824_model_fix_text_embedding_3_large`
langfuse-web-1  | Applying migration `20240814233029_dataset_items_drop_fkey_on_traces_and_observations`
langfuse-web-1  | Applying migration `20240815171916_add_comments`
langfuse-web-1  | Applying migration `20240913095558_models_add_openai_o1_2024-09-12`
langfuse-web-1  | Applying migration `20240913185822_account_add_refresh_token_expires_in`
langfuse-web-1  | Applying migration `20240917183001_remove_covered_indexes_01`
langfuse-web-1  | Applying migration `20240917183002_remove_covered_indexes_02`
langfuse-web-1  | Applying migration `20240917183003_remove_covered_indexes_03`
langfuse-web-1  | Applying migration `20240917183004_remove_covered_indexes_04`
langfuse-web-1  | Applying migration `20240917183005_remove_covered_indexes_05`
langfuse-web-1  | Applying migration `20240917183006_remove_covered_indexes_06`
langfuse-web-1  | Applying migration `20240917183007_remove_covered_indexes_07`
langfuse-web-1  | Applying migration `20240917183008_remove_covered_indexes_08`
langfuse-web-1  | Applying migration `20240917183009_remove_covered_indexes_09`
langfuse-web-1  | Applying migration `20240917183010_remove_covered_indexes_10`
langfuse-web-1  | Applying migration `20240917183011_remove_covered_indexes_11`
langfuse-web-1  | Applying migration `20240917183012_remove_covered_indexes_12`
langfuse-web-1  | Applying migration `20240917183013_remove_covered_indexes_13`
langfuse-web-1  | Applying migration `20240917183014_remove_covered_indexes_14`
langfuse-web-1  | Applying migration `20240917183015_remove_covered_indexes_15`
langfuse-web-1  | Applying migration `20240917183016_remove_covered_indexes_16`
langfuse-web-1  | Applying migration `20241009042557_auth_add_created_at_for_gitlab`
langfuse-web-1  | Applying migration `20241009110720_scores_add_nullable_queue_id_column`
langfuse-web-1  | Applying migration `20241009113245_add_annotation_queue`
langfuse-web-1  | Applying migration `20241010120245_llm_keys_add_config`
langfuse-web-1  | Applying migration `20241015110145_prompts_config_to_JSON`
langfuse-web-1  | Applying migration `20241022110145_add_claude_sonnet_35`
langfuse-web-1  | Applying migration `20241023110145_update_claude_sonnet_35`
langfuse-web-1  | Applying migration `20241024100928_add_prices_table`
langfuse-web-1  | Applying migration `20241024111800_add_background_migrations_table`
langfuse-web-1  | Applying migration `20241024121500_add_generations_cost_backfill_background_migration`
langfuse-web-1  | Applying migration `20241024173000_add_traces_pg_to_ch_background_migration`
langfuse-web-1  | Applying migration `20241024173700_add_observations_pg_to_ch_background_migration`
langfuse-web-1  | Applying migration `20241024173800_add_scores_pg_to_ch_background_migration`
langfuse-web-1  | Applying migration `20241029130802_prices_drop_excess_index`
langfuse-web-1  | Applying migration `20241104111600_background_migrations_add_state_column`
langfuse-web-1  | Applying migration `20241105110900_add_claude_haiku_35`
langfuse-web-1  | Applying migration `20241106122605_add_media_tables`
langfuse-web-1  | Applying migration `20241114175010_job_executions_add_observation_dataset_item_cols`
langfuse-web-1  | Applying migration `20241124115100_add_projects_deleted_at`
langfuse-web-1  | Applying migration `20241125124029_add_chatgpt_4o_prices`
langfuse-web-1  | Applying migration `20241206115829_remove_trace_score_observation_constraints`
langfuse-web-1  | 
langfuse-web-1  | The following migration(s) have been applied:
langfuse-web-1  | 
langfuse-web-1  | migrations/
langfuse-web-1  |   └─ 20240814223824_model_fix_text_embedding_3_large/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240814233029_dataset_items_drop_fkey_on_traces_and_observations/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240815171916_add_comments/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240913095558_models_add_openai_o1_2024-09-12/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240913185822_account_add_refresh_token_expires_in/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183001_remove_covered_indexes_01/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183002_remove_covered_indexes_02/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183003_remove_covered_indexes_03/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183004_remove_covered_indexes_04/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183005_remove_covered_indexes_05/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183006_remove_covered_indexes_06/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183007_remove_covered_indexes_07/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183008_remove_covered_indexes_08/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183009_remove_covered_indexes_09/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183010_remove_covered_indexes_10/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183011_remove_covered_indexes_11/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183012_remove_covered_indexes_12/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183013_remove_covered_indexes_13/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183014_remove_covered_indexes_14/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183015_remove_covered_indexes_15/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20240917183016_remove_covered_indexes_16/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241009042557_auth_add_created_at_for_gitlab/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241009110720_scores_add_nullable_queue_id_column/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241009113245_add_annotation_queue/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241010120245_llm_keys_add_config/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241015110145_prompts_config_to_JSON/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241022110145_add_claude_sonnet_35/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241023110145_update_claude_sonnet_35/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024100928_add_prices_table/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024111800_add_background_migrations_table/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024121500_add_generations_cost_backfill_background_migration/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024173000_add_traces_pg_to_ch_background_migration/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024173700_add_observations_pg_to_ch_background_migration/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241024173800_add_scores_pg_to_ch_background_migration/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241029130802_prices_drop_excess_index/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241104111600_background_migrations_add_state_column/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241105110900_add_claude_haiku_35/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241106122605_add_media_tables/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241114175010_job_executions_add_observation_dataset_item_cols/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241124115100_add_projects_deleted_at/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241125124029_add_chatgpt_4o_prices/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |   └─ 20241206115829_remove_trace_score_observation_constraints/
langfuse-web-1  |     └─ migration.sql
langfuse-web-1  |       
langfuse-web-1  | All migrations have been successfully applied.
langfuse-web-1  | 1/u traces (96.989456ms)
langfuse-web-1  | 2/u observations (201.463145ms)
langfuse-web-1  | 3/u scores (314.64294ms)
langfuse-web-1  | 4/u drop_observations_index (459.734935ms)
langfuse-web-1  | 5/u add_session_id_index (554.789335ms)
langfuse-web-1  | 6/u add_user_id_index (656.918663ms)
langfuse-web-1  |   ▲ Next.js 14.2.21
langfuse-web-1  |   - Local:        http://f28c35e4211c:3000
langfuse-web-1  |   - Network:      http://192.168.240.6:3000
langfuse-web-1  | 
langfuse-web-1  |  ? Starting...
langfuse-web-1  | Running init scripts...
langfuse-web-1  |  ? Ready in 17.8s
复制代码

 

6.登录v3版本验证数据
http://192.168.1.135:3000

 

posted @   slnngk  阅读(23)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2024-01-10 python写数据到sql server
2023-01-10 repmgr安装部署(pg13)
2019-01-10 linux日常管理
点击右上角即可分享
微信分享提示