-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Connected file share folder doesn't work #3938
Comments
@jstefanis Hi, it looks like your configuration is wrong: cvat_shared:/home/django/sharedfiles:ro container path must be |
Hello. |
Hello, I have a same problem. docker-compose.yml file: `cvat_server: cvat_worker_import: volumes: ` |
Hello, I have a same problem. docker-compose.override.yml file: cvat_clickhouse: volumes: |
My actions before raising this issue
Problem mounting existing folders as connected
Expected Behaviour
Connected file share folder mounted and working as proposed to the documentation.
Current Behaviour
Hello newbie here. I installed cvat release 1.70 and also tried 1.6.0, but there is one serious problem.
I cannot access connected file share. I have followed the example of
the manual: https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/#share-path
and I created the file docker-compose.override.yml for binding an existing folder and also creating a volume and mounting it as external. Both volumes are not empty, but populated with image files. In both cases when I login into the container, using "docker exec" command, I can see the existing files I have in both volumes with success, but cvat refuses to display them into the tab. It still shows the message: "No Data
Please, be sure you had mounted share before you built CVAT and the shared storage contains files".
I have to say that I've checked the permissions of the folders and the files, and the owner is the superuser of cvat (default: "django"). I have also searched into the issues section in github but no solution until now.
Steps for reproduction:
I create the docker-compose.override.yml and start the container.
I invoke docker-compose for starting the container with the command:
docker-compose -f docker-compose.yml -f docker-compose.override.yml up
My docker- compose.override.yml file:
#docker-compose.override.yml
version: "3.3"
services:
cvat:
environment:
CVAT_SHARE_URL: "Here we share!"
volumes:
volumes:
cvat_share:
external: true
cvat_shared:
driver_opts:
type: none
device: /home/myuser/cvat_shared/
o: bind
System Information:
My system is a Linux Mint 20.2 Cinnamon. My docker version is Community 20.10.4 . i don't use Docker Swarm.
My linux kernel is 5.11.0-40-generic.
The output of git log -1 is:
commit 2bb8643 (HEAD -> release-1.7.0, origin/release-1.7.0)
There is no error logs concerning volumes in cvat container. Docker mounts them correctly.
Possible Solution
Fix the bug or modify the documentation.
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: