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

2.0.14's cache migrations do not respect core.cache:storage_path #15129

Closed
smoofra opened this issue Nov 17, 2023 · 0 comments · Fixed by #15135
Closed

2.0.14's cache migrations do not respect core.cache:storage_path #15129

smoofra opened this issue Nov 17, 2023 · 0 comments · Fixed by #15135

Comments

@smoofra
Copy link

smoofra commented Nov 17, 2023

Environment details

  • Operating System+version: Mac OS 13.4.1
  • Compiler+version: n/a
  • Conan version: 2.0.14
  • Python version: 3.10.8

Steps to reproduce

  • install conan 2.0.13

  • set core.cache:storage_path to something other than ~/.conan2/p. remove ~/.conan2/p

  • upgrade to conan 2.0.14

  • try to use conan, it will fail with "Could not complete the 2.0.14 DB migration"

Logs

➜  conan  list \*    
WARN: Upgrade cache from Conan version '2.0.13'
WARN: Running 2.0.14 Cache DB migration to add LRU column
ERROR: unable to open database file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant