R2R icon indicating copy to clipboard operation
R2R copied to clipboard

`db upgrade` misses to run successfully

Open sticky-note opened this issue 9 months ago • 0 comments
trafficstars

Describe the bug Bug when trying to run db upgrade

To Reproduce Steps to reproduce the behavior:

  1. pip install r2r[core,ingestion-bundle]==3.3.32
export R2R_PROJECT_NAME=r2r_default
export R2R_EMBEDDING_DIMENSION=1024
r2r db upgrade
  1. See error
/home/dspadmin/Workspace/R2R/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
  warnings.warn(message, UserWarning)
Running 'upgrade' for schema r2r_default...
CLI error: An unexpected error occurred:
(Traceback...)
TypeError: run_alembic_command() got an unexpected keyword argument 'revision'

Expected behavior Command should run successfully

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: WSL
  • Browser [e.g. chrome, safari]
  • Version 3.3.32

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

sticky-note avatar Feb 03 '25 05:02 sticky-note