cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.59k stars 3k forks source link

Backup + Restore Successful, Update successful.. cant login! #4805

Closed davodogster closed 2 years ago

davodogster commented 2 years ago

My actions before raising this issue

Expected Behaviour

being able to login!

Current Behaviour

image image

image

I can view the admin panel:

image

Possible Solution

Please let me know how to update CVAT and get it working after a successful CVAT restore (v1.7.0) :) Cheers! Sam

Steps to Reproduce (for bugs)

Context

Your Environment

muddywellyboots commented 2 years ago

We have exactly the same issue after updating. Hope we can get it fixed!

davodogster commented 2 years ago

Hi @nmanovic is there any easy fix? It appears multiple users are facing this issue.

nmanovic commented 2 years ago

@muddywellyboots , @davodogster , let's try to reproduce on our side. I see that the previous version is v1.7.0. What is the new version?

davodogster commented 2 years ago

New version is the latest from docker

Thanks

Get Outlook for iOShttps://aka.ms/o0ukef


From: Nikita Manovich @.> Sent: Tuesday, August 16, 2022 10:04:55 PM To: openvinotoolkit/cvat @.> Cc: Sam Davidson @.>; Mention @.> Subject: Re: [openvinotoolkit/cvat] Backup + Restore Successful, Update successful.. cant login! (Issue #4805)

@muddywellybootshttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmuddywellyboots&data=05%7C01%7Csam.davidson%40scionresearch.com%7C36871a82ae424210e55e08da7f6ec656%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962411007189029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9aBEgiliCMa%2F2VhoHu46bqpo2X%2BNdIlL2RToXeYrXiU%3D&reserved=0 , @davodogsterhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdavodogster&data=05%7C01%7Csam.davidson%40scionresearch.com%7C36871a82ae424210e55e08da7f6ec656%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962411007345269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l77cq8htxNY401sBAnHm4A4z8RaBxt4kSCiAdhLbBVU%3D&reserved=0 , let's try to reproduce on our side. I see that the previous version is v1.7.0. What is the new version?

— Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenvinotoolkit%2Fcvat%2Fissues%2F4805%23issuecomment-1216429383&data=05%7C01%7Csam.davidson%40scionresearch.com%7C36871a82ae424210e55e08da7f6ec656%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962411007345269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PPwAVvvFnjw4Sk9OStjoSa%2Fyz3%2BYcRoUE1eIe9gr6YE%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK7R4HG5ZBLJPLCURKRUCCLVZNRUPANCNFSM56RF37IA&data=05%7C01%7Csam.davidson%40scionresearch.com%7C36871a82ae424210e55e08da7f6ec656%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962411007345269%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wf1sZm%2B5fyz5bNqI1WUHIJsy2%2F9ma3Pz46%2B1GrQunFA%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

This email and any attachments are intended solely for the addressees named above. It may contain information which is legally privileged, confidential or subject to copyright. Any unauthorised review, use, disclosure or distribution is prohibited. If you receive this email in error, please delete it. As part of Scion’s cyber security policy, Scion’s IT systems are subject to ongoing monitoring, activity logging and auditing, and may include 3rd party monitoring on our behalf.

nmanovic commented 2 years ago

The latest version has new microservices. You need to follow https://cvat-ai.github.io/cvat/docs/administration/basics/installation/. Basically need to clone the latest CVAT version: https://github.com/cvat-ai/cvat. And run CVAT_VERSION=dev docker-compose up -d

nmanovic commented 2 years ago

@azhavoro , could you please help our community? Need to improve documentation if it is unclear. Probably @davodogster can help us and contribute to make it better.

davodogster commented 2 years ago

Will it keep all the data/volumes?

Get Outlook for iOShttps://aka.ms/o0ukef


From: Nikita Manovich @.> Sent: Tuesday, August 16, 2022 10:11:02 PM To: openvinotoolkit/cvat @.> Cc: Sam Davidson @.>; Mention @.> Subject: Re: [openvinotoolkit/cvat] Backup + Restore Successful, Update successful.. cant login! (Issue #4805)

The latest version has new microservices. You need to follow https://cvat-ai.github.io/cvat/docs/administration/basics/installation/https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcvat-ai.github.io%2Fcvat%2Fdocs%2Fadministration%2Fbasics%2Finstallation%2F&data=05%7C01%7Csam.davidson%40scionresearch.com%7C81abc7124926452b624708da7f6fa15f%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962414683727443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YElrb3MBAF5Yup8DMZuFLTFVZFGZ0H9FM0aBtZHmWRc%3D&reserved=0. Basically need to clone the latest CVAT version: https://github.com/cvat-ai/cvathttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcvat-ai%2Fcvat&data=05%7C01%7Csam.davidson%40scionresearch.com%7C81abc7124926452b624708da7f6fa15f%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962414683727443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kpA7nqrSXOuhQiGyTiMrcDOLJLLyx3rTar1bmdFIV1o%3D&reserved=0. And run CVAT_VERSION=dev docker-compose up -d

— Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenvinotoolkit%2Fcvat%2Fissues%2F4805%23issuecomment-1216435658&data=05%7C01%7Csam.davidson%40scionresearch.com%7C81abc7124926452b624708da7f6fa15f%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962414683727443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=z7WAkMdcuQ6zQkv9x3IJoZoFIVw%2B4Q2TSeUW%2By7iURY%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK7R4HAFMYV4T6M6RS7TD33VZNSLNANCNFSM56RF37IA&data=05%7C01%7Csam.davidson%40scionresearch.com%7C81abc7124926452b624708da7f6fa15f%7C912c7b2ae3384788b809a191b86cdea0%7C0%7C0%7C637962414683727443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UBc%2BKUWiLBsOpPk1%2B8%2FRFm7cXVTkv6sIHrl1EMB8slE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

This email and any attachments are intended solely for the addressees named above. It may contain information which is legally privileged, confidential or subject to copyright. Any unauthorised review, use, disclosure or distribution is prohibited. If you receive this email in error, please delete it. As part of Scion’s cyber security policy, Scion’s IT systems are subject to ongoing monitoring, activity logging and auditing, and may include 3rd party monitoring on our behalf.

nmanovic commented 2 years ago

@davodogster , it should delete nothing. You just update source code for your repo and run/create new containers. It should take time because CVAT will start migration of data after the CVAT container is up and running. But in any case it is better to backup your data just in case: https://cvat-ai.github.io/cvat/docs/administration/advanced/backup_guide/

davodogster commented 2 years ago

The latest version has new microservices. You need to follow https://cvat-ai.github.io/cvat/docs/administration/basics/installation/. Basically need to clone the latest CVAT version: https://github.com/cvat-ai/cvat. And run CVAT_VERSION=dev docker-compose up -d

Thanks! yes let me know if I can help. The new cvat-ai still clones from opencv/cvat and not cvat-ai.cvat so that could be changed?

davodogster commented 2 years ago

@azhavoro I had a try at upgrading 1.7.0 to 2.1.0, but cvat_opa error

image

Moreover, when I try to go back and relaunch v1.7.0.. it is now broken!

image image

Luckily I do have the data backed up but it will take hours to restore again.

nmanovic commented 2 years ago

@davodogster , the problem above, which you mentioned for OPA is a network problem. Just try again.

The "Temporary failure in name resolution" error occurs when the system cannot translate a website name into an IP address.
While the error sometimes appears due to a lost internet connection, there are multiple reasons why it may show
up on your system.
davodogster commented 2 years ago

@nmanovic yes I think you are right. This machine may just be having network issues at the moment. Thanks

nmanovic commented 2 years ago

@davodogster , I will close the issue. Don't hesitate to reopen. We will also improve our documentation.