I’m not sure how running the .sh file on terminal works fine, but this error pops up when I’m trying to run the .sh file using Python or when I run ./script.sh in terminal (also says needs 2 arguments). Isn’t include one of the arguments?
Yes I think this fixed it. However there is another problem that arises, it reads:
"Config file “/root/.config/rclone/rclone.conf” not found -using defaults then \\ Failed to create file system for “remote:rclone”: didn’t find section in config file –
That is saying rclone can’t find its config file. Did you configure it as a different user? If so then either run it as that user or use --config /home/OTHERUSER/.config/rclone/rclone.conf