When I log in, I see quite a few packages that need updating, but how do I exactly do that? I run ‘./daily.sh’, however, I see the same 159 packages can be updated every time I log in.
[FAIL] Database: incorrect column (notifications/datetime)
[FAIL] Database: incorrect column (users/created_at)
[FAIL] We have detected that your database schema may be wrong, please report the following to us on IRC or the community site (https://t.libren.ms/5gscd):
[FIX] Run the following SQL statements to fix.
SQL Statements:
ALTER TABLE notifications CHANGE datetimedatetime timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:00’;
ALTER TABLE users CHANGE created_atcreated_at timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:01’;
librenms@librenms:~$ sudo ALTER TABLE notifications CHANGE datetimedatetime timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:00’;
notifications: command not found
datetime: command not found
datetime: command not found
[sudo] password for librenms:
sudo: ALTER: command not found
librenms@librenms:~$