jfroment / seedbox

A Docker-powered seedbox with persistent data and more cool stuff.
MIT License
329 stars 45 forks source link

Scratching my head #39

Closed burba12 closed 1 year ago

burba12 commented 1 year ago

I apologize in advance if this is a dumb question but I'm still rather new with some of this and I've been scratching my head at this for hours.

Any idea why I would be seeing this error? I feel like I'm missing something dumb.

xxxxxxx@yyyyyyy:/data/config$ sudo ./run-seedbox.sh [./run-seedbox.sh] Checking environment variables and files... [./run-seedbox.sh] Checking configuration... [./run-seedbox.sh] Generating configuration... Error: unknown command "rules.props" for "yq"

jfroment commented 1 year ago

Hello,

I'm guessing you're using an old version of yq on your system, likely < 4.x.

The run-seedbox script needs yq 4+ to be able to decode properties files: https://github.com/mikefarah/yq/blob/master/debian/changelog#L120

After upgrading yq to the latest version it should be fine.

burba12 commented 1 year ago

You were right, I thought I'd be cheeky and install YQ via apt and ended up with version 4.16. Once I removed it and manually added the binary for 4.3.x it worked like a charm.

Thanks again for everything, magnificent work.

jfroment commented 1 year ago

Glad to help! I'm thinking maybe to add a check on the versions required. Should be easy to add.