mihaip / infinite-mac

A classic Mac loaded with everything you'd want
https://infinitemac.org
Apache License 2.0
1.12k stars 66 forks source link

Worker stuff #299

Closed kiljorn1109 closed 3 months ago

kiljorn1109 commented 3 months ago

How did you manage to get npm run sync-disks? Rclone doesen t seem to want to authorize cloudflare for me

mihaip commented 3 months ago

Where are you syncing to? Did you end making an rclone.conf file based on https://github.com/mihaip/infinite-mac/blob/main/scripts/rclone.conf.example?

kiljorn1109 commented 3 months ago

Where are you syncing to? Did you end making an rclone.conf file based on https://github.com/mihaip/infinite-mac/blob/main/scripts/rclone.conf.example?

Yeah, tried yours made mine... nome of them work i get unauthorized when running npm run sync-disks

mihaip commented 3 months ago

You may need to make sure that the API token has read/write permissions to the bucket: CleanShot 2024-03-09 at 16 15 08@2x

More generally, what are you trying to do? The R2 bucket is only necessary if serving large disk images, I was using Workers KV until very recently (see numbers in #288 and the commit that's associated with it).

kiljorn1109 commented 3 months ago

Wanna serve big images around 500 gb worth, the r2 has permissions that baffles me... it has admin and the object r/w. After research i found out to possibly from rclone.. gonna try tommorow again

kiljorn1109 commented 3 months ago

Gonna post a screenshot of the output with -vv as the guides on the web talked about, maybe u went thru that too lol

kiljorn1109 commented 3 months ago

Success... something with the VM i was using... gotta get the LAN functional now lol