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

on windows, easy to be fooled by occurences of onedrive file occurences #1826

Open
larsfloe opened this issue Jan 30, 2025 · 6 comments
Open
Assignees
Labels
bug Something isn't working
Milestone

Comments

@larsfloe
Copy link

Current Behavior

setting up a brand new renterd v2 syncing and funding it and confirming I have contracts, uploads doesn't seem to work at all, and the node just stands and does seemingly nothing... Trying with anohter upload folder, I realized what the issue is and seem to be a windows speciality, if OneDrive is in action, where files are visible in a folder ,but not synced to the folder and as such not existing physically on the PC - that was the case for all files in the folders I tried initially. Probably some error handing/warning would be good, if it can be detected? RENTERD seems to simply ignore them, which fooled me

Image

Expected Behavior

I would as a user expect to get a warining that RENTERD can obviusly not upload these files, that do not physically sit on the PC - as per now they are simply ignored

Steps to Reproduce

this apples to windows where onedrive is engaged - perhaps not other OSs
upload any file that is not physically on the PC but in the users onedrive, identified by the little cloud icon
such files are ignored, which to me was very confusing for a few hours :) hence the ask for a warning or a mark in the client they can't be handled like normal files

Version

V2.0.0

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

windows 10

Autopilot Config

{ "enabled": true, "contracts": { "amount": 50, "period": 6048, "renewWindow": 2016, "download": 1000000000000, "upload": 1000000000000, "storage": 4000000000000, "prune": false }, "hosts": { "maxConsecutiveScanFailures": 10, "maxDowntimeHours": 336, "minProtocolVersion": "1.6.0" } }

Bus Config

n/a

Anything else?

No response

@larsfloe larsfloe added the bug Something isn't working label Jan 30, 2025
@artur9010
Copy link

artur9010 commented Jan 31, 2025

I don't have any windows machine, but when I synced my desktop via rclone on macos it downloaded all non-local files from the icloud, maybe rclone can do the same thing on windows?
It's not a solution obviously, but a workaround for your issue.

@larsfloe
Copy link
Author

larsfloe commented Feb 1, 2025 via email

@ChrisSchinnerl ChrisSchinnerl moved this to Todo in Sia Feb 10, 2025
@ChrisSchinnerl ChrisSchinnerl added this to the v2.1.0 milestone Feb 10, 2025
@alexfreska
Copy link
Member

Hi @larsfloe, if I understand correctly you are dragging in files that are only in your OneDrive cloud and not actually synced to your computer, and they are not being uploaded in renterd?

Could you tell me, after you drag them in does OneDrive automatically download the files and remove the cloud icon? I tried this workflow on Mac with iCloud, and when I drag a file into the browser to start an upload, iCloud first syncs the file down and the browser upload works fine. I would expect Windows/OneDrive to do something similar.

@alexfreska
Copy link
Member

@larsfloe we just did our own test with OneDrive cloud files and it appears to work fine.

@larsfloe
Copy link
Author

larsfloe commented Feb 27, 2025 via email

@larsfloe
Copy link
Author

larsfloe commented Feb 28, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

4 participants