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

db upgrade misses to run successfully #1927

Open
sticky-note opened this issue Feb 3, 2025 · 0 comments
Open

db upgrade misses to run successfully #1927

sticky-note opened this issue Feb 3, 2025 · 0 comments

Comments

@sticky-note
Copy link

sticky-note commented Feb 3, 2025

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.

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

1 participant