"bc is missing, please install" on TrueNAS Scale (Electric Eel)
Hi, I recently migrated from Core to Scale and have been doing all the miscellaneous cleanup tasks. After setting up my scheduled S.M.A.R.T. tests and whatnot, I decided to set up the report test script again (thanks for this, I've been using it for years without issue!).
But on Scale, when the cron job executes I get an email with:
"bc is missing, please install"
I'm guessing because they have Scale pretty locked down, so it's not like I can add bc. I'm trying to think of a good way to work around this, but don't have many good options. Or am I missing a configuration step or something?
The script mostly works on Scale. The one remaining issue is that Scale does not include the bc program that it uses to do most of its math; see the following bug reports for references: #5, #6, Include bc in SCALE. I leave adding bc to Scale as an exercise for the user.
Note that you will also need to add the email script but it will direct you on how to do that once it gets to that point.