Ahoy fellow pirates! I don’t know if this is the best place to ask, but I’m having issues getting qBittorrent to automatically unrar files so that Sonarr\Radarr can import. I’m running qbittorrent-nox with the *arr stack natively on Ubuntu 22.04 LTS

I have the following in “Run external program on torrent finished”
/usr/bin/unrar x -o- -r "%F"/*.rar "%F"/
But nothing happens when a torrent completes. When I check the qBittorrent logs, there is one line with:
Running external program. Torrent: "Name of Torrent". Command: `/usr/bin/unrar x -o- -r "/path/to/torrent/directory"/*.rar "/path/to/torrent/directory"/`

If copy and paste the above code into a terminal as the qbittorrent user, it extracts the rar files as expected. Is there anything I can check to get qBittorrent to unrar files automatically?