cvat: Upgrading from 2.22.0 to 2.23.1 fails with broken assets.
Actions before raising this issue
- I searched the existing issues and did not find anything similar.
- I read/searched the docs
Steps to Reproduce
- Created a backup following https://docs.cvat.ai/docs/administration/advanced/backup_guide/
- Updated from github from 2.22.0 to the latest being 2.23.0 following the postgres upgrade just in case described in https://docs.cvat.ai/docs/administration/advanced/upgrade_guide/
Images and video data are missing. Reverting to 2.22.0 and restoring from backup works fine.
Expected Behavior
I would expect to be able upgrade without loosing all the images/videos.
Possible Solution
No response
Context
No response
Environment
Local installation.
- Git was on `v2.22.0` tag as well as the `v2.23.1` tag.
- Ubuntu 24
- Updated from github from 2.22.0 to the latest being 2.23.0
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 20 (8 by maintainers)
@ggozad try to clear the cache with
docker exec cvat_redis_ondisk redis-cli -p 6666 flushallI did verify on another mirror I had set up for testing that indeed after 24h the cache keys are expired and everything works fine.
FYI, on K8s:
Do you have a setup with a shared or otherwise mounted volume for images? If yes, ensure made this volume available for
cvat_worker_chunksindocker-compose.override.ymlas well: https://github.com/cvat-ai/cvat/pull/8812PS: My issue posted above (https://github.com/cvat-ai/cvat/issues/8803#issuecomment-2529928535) was resolved after doing so AND flush redis cache.
@azhavoro this seems to resolve the issue! Thank you! Should it be perhaps part of the upgrade?
@ggozad Ok, looks like a slightly different problem. Should I therefore file a separate issue for my problem or will it suitable to handle both problems in this issue?
You are right, we definitely need to update the documentation.