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

Upgrade cvat from v 0.2.0 to v 0.4.2 #672

Closed
LucianoTarouco1 opened this issue Aug 27, 2019 · 6 comments
Closed

Upgrade cvat from v 0.2.0 to v 0.4.2 #672

LucianoTarouco1 opened this issue Aug 27, 2019 · 6 comments
Labels
question Further information is requested

Comments

@LucianoTarouco1
Copy link

Hello,
We have a lot of work done on our instance of cvat v 0.2.0 and we are trying to update to version 0.4.2. The installation process went fine but when we try to copy the database from the old version to the new version the front end stops working. It seems as though as the schema of the database is different. Also, as far as I verified the images are not contained in the database. They are on a virtual machine called cvat under a folder called data. I will also have to copy all the images to the new version. Maybe the directory structure where the images are placed also changed from the old version to the new, right? Is there some way to overcome this situation and to be able to update keeping all the work that we have already done?

Regards,
Luciano

@bsekachev
Copy link
Member

@LucianoTarouco1
Database schemes is actually different.
But I don't understand why you need to copy old database to new instance manually.
CVAT update don't erase old data.

@bsekachev bsekachev added the question Further information is requested label Aug 28, 2019
@LucianoTarouco1
Copy link
Author

Hi, thanks for your reply.
Please let me know how should I proceed to do the update. Shall I follow the steps on the installation guide? Updating from the repository to the same folder and then doing "docker-compose build" etc?
Will this process update the database schema and maintain the data?

Regards,
Luciano

@bsekachev
Copy link
Member

@LucianoTarouco1
Something like that:

git clone https://github.com/opencv/cvat.git
cd cvat
git checkout master
# the same build and up commands like before

Done.

@bsekachev
Copy link
Member

@LucianoTarouco1
If you have downloaded previous repository, then from it's root dir:

git checkout master
git pull origin master
# the same build and up commands like before

@bsekachev
Copy link
Member

@LucianoTarouco1
I'll close this issue. Don't be shy to reopen it if you still have questions. Or you can ask them on gitter.

@shsegev
Copy link

shsegev commented Sep 9, 2019

Hi,
I am also trying to upgrade. I have pulled the new version from git and ran docker-compose build.
After the upgrade, the dashboard looks fine but when opening a task I get a blank screen.
I understand that the schema has changed. Is there a way to update the old data so it fits the new schema?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants