How to get Radarr working on freenas 11.2 with iocage as media user

By default Radarr installs and runs as the “radarr” user not the “media” user typical in other plugins. Therefore you will have write issues to the directories other plugins such as SABNZBD and Transmission write to.

To fix this follow the below steps:

  1. Install Radarr from the plugin directory (Freenas 11.2, Radarr plugin, iocage)
  2. Add your mount points (i.e. your movies directory)
  3. Get the jail up and running first and test it’s working (http://<yourjailIP>:7878/)
  4. SSH to the FreeNAS server (if you don’t know how to do this then you better brush up on your basic Linux skills before continuing)
  5. access the radarr jail – iocage exec radarr
  6. First check which uid and gid your media user is using. On old setups it was 816 but more recently it has changed to 8675309 ensure the number is correct in the following steps. Change 816 to 8675309 if required.
  7. Add the media user – pw user add media -c media -u 816 -d /nonexistent -s /usr/bin/nologin
  8. Add the media group
    (sometimes not required) – pw groupadd -n media -g 816
  9. Add the radarr user to the media group – pw groupmod media -m radarr
  10. Add the media user to the radarr group – pwgroupmod
    radarr -m media
  11. Add the media user to the wheel group (radarr wont boot without this) – pw groupmod wheel -m media
  12. Modify radarr file ownership – chown -R media:media /usr/local/share/radarr
  13. Modify ownership of your config files – chown -R media:media /usr/local/radarr
  14. Set radar to start under the media user – service radarr start
  15. Restart the jail and you should be all good. Providing your share is owned by the media user/group.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.