Closed Taytay closed 1 year ago
Can you please try doing
DVC_IGNORE_ISATTY=1 dvc push
and see if you get progress bars?
I'm afraid that didn't help. I've switched from fish shell to zsh to see if that made any difference, and it doesn't appear to. For what it's worth, I do see a progress bar on the right of the terminal when performing other actions, like "querying remote cache" and "checking cache". It's when it actually starts to upload files that it seems to go completely silent. It's weird
Maybe related to https://github.com/iterative/dvc-data/pull/401
Hitting the same with a basic S3 in Codespaces:
https://github.com/iterative/dvc/assets/3659196/0cdc7d69-ab23-49ab-9f60-22237491bf72
I get the same on dvc pull
. To reproduce, set credentials for the AWS sandbox environment, clone https://github.com/dberenbaum/object-detection, and then run dvc pull
. You should get a frozen state showing something like this:
Not sure if this should be in a separate issue, but it's not only a lack of progress, but also very slow operations. Doing dvc pull
on this cats-dogs dataset of 2800 images took over 5 minutes.
Example of hanging during dvc push
:
https://github.com/iterative/dvc/assets/2308172/e71a8cc5-4cf9-490a-afb4-a1eb253a1baf
To reproduce:
Out of curiousity, how have you (or anybody else) configured dvc
to use R2? I couldn't get it to work.
@mtiller what error do you see? I haven't tried it myself, but recently I've seen someone solved it with region = auto
in the config.
IIRC, the issue was around authentication. But I suspect it was using the wrong endpoint. The strange thing about dvc
(and you can see this in the example they have for using DigitalOcean Spaces) is that even when you specify an endpointurl
, it tacks the bucket into the hostname (at least that is the only explanation I have for why the DigitalOcean thing works because the endpointurl
they use in that example is not the one DO gives me. I suspect that R2 doesn't work because it doesn't follow this convention (and perhaps dvc
is tacking the bucket name on when it shouldn't?).
I'm using it with R2 actually. It's been a while since I configured it, but I don't recall anything being too odd about it. If you're still having trouble, I can look at my config.
Bug Report
dvc push: No progress bar or text displayed , even with --verbose
Description
I am trying to push about 300MB of files to S3, and I'm on a slow connection. When I run
dvc push
, there is no progress notification of any sort. If I use --verbose, I get more output, but once bits start moving, there is no text output.It appears to have hung at this point, but I can see via my network monitor that it's sending files.
This is on a Mac using the Fish shell. The remote is R2 from Cloudflare.
Reproduce
(Not sure what is necessary about the environment
Expected
Progress of some sort, via a progress bar or text, or some notification what dvc is up to.
Environment information
Output of
dvc doctor
: