Error message "tput: No value for $TERM and no -T specified" when openmediavault-update-smart-drivedb cron job runs

  • I started receiving weekly email error from my OMV (5.6.26-1 Usul) about a weekly cron job to update smart drivedb, "openmediavault-update-smart-drivedb".


    • I don't get the same error when I try to run it a shell (obviously since there's a terminal attached).
    • Review the script, I don't see it calling "tput".

    It's not a fatal error, as I can see in the log that the script did successfully ran.


    Just hoping to fix, so the error email doesn't get sent. Any pointers would be helpful?


    Thanks


    ----------------------------------------------------------------------------------------

    Subject: Anacron job 'cron.weekly' on OMV


    /etc/cron.weekly/openmediavault-update-smart-drivedb:

    tput: No value for $TERM and no -T specified

  • votdev

    Added the Label OMV 5.x

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!