Plugins wont install, jail missing /usr/bin/install

fleetscut

Cadet
Joined
May 7, 2020
Messages
1
Just got FreeNas installed for the first time and was trying to mess around with some plugins. Every time i went to install a plugin the GUI would go through the motions, look like it was about to succeed but suddenly fail with "Error: radarr had a failure Exception: RuntimeError Message". I tried to tail the install logs from the terminal while the GUI was doing its install, but nothing useful showed up

Code:
freenas% tail -f radarr-console.log
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Starting cron.

Thu May  7 20:34:34 EDT 2020

Stopping cron.
Waiting for PIDS: 31005.
.


Eventually I found the git page for iocage and decided to install via terminal. tried to use the iocage fetch syntax that was shown on the git page, but it still failed but with alot more detail this time

Code:
Branch 11.3-RELEASE does not exist at https://github.com/freenas/iocage-plugin-radarr.git!
Using "master" branch for plugin, this may not work with your RELEASE

Running post_install.sh
radarr_enable:  -> YES
radarr_enable:  -> YES
chmod: /usr/local/radarr: No such file or directory
radarr_enable:  -> YES
eval: install: not found
radarr_enable:  -> YES
/usr/local/etc/rc.d/radarr: WARNING: failed precmd routine for radarr
Last 10 lines:
chmod: /usr/local/radarr: No such file or directory
 eval: install: not found
 /usr/local/etc/rc.d/radarr: WARNING: failed precmd routine for radarr
radarr_8524 had a failure
Exception: SystemExit Message: 1
Partial plugin destroyed


This time I copied the json file from the git page to FreeNAS, however i changed the line for artifact so it was blank ("artifact": "") This time install succeeded with no error to the console and the jail was no longer being deleted, it showed up in the gui and was running. I logged into the jail via the shell, and ran the commands that were in the post_install.sh, however failed with the same
Code:
 eval: install: not found
 /usr/local/etc/rc.d/radarr: WARNING: failed precmd routine for radarr

I read through the start up script and seems to be failing on this line
Code:
install -d -o ${radarr_user}  ${radarr_data_dir}


however:
Code:
root@radarr:~ # which install
install: Command not found.

Is the image that is used to create jails corrupted? Is there something else I have to do to configure it?
 
Top