FAILING to update into latest codebase(daily.sh)

Hey guys, I already read some articles inside the librenms community regarding with my issue but I can’t get to fix my issue. Below are the result of my daily.sh, when updating into latest codebase, it always fails.

Updating to latest codebase FAIL
warning: unable to access ‘/root/.config/git/attributes’: Permission denied
warning: unable to access ‘/root/.config/git/ignore’: Permission denied
error: Your local changes to the following files would be overwritten by merge:
config.php.default
Please commit your changes or stash them before you merge.
Aborting
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

I also tried to execute chown -R librenms:librenms /opt/librenms before doing the ./daily.sh as I have read on the existing topic regarding this matter but it still gives me the same result. Hope that you can help me out guys, thanks!

please run ./validate.php and post it

Hi @Kevin_Krumm, this is the result of the ./validate.php

====================================

Component Version
LibreNMS 1.64.1-241-ged70b2636
DB Schema 2020_06_23_00522_alter_availability_perc_column (170)
PHP 7.2.24-0ubuntu0.18.04.3
Python 3.6.9
MySQL 10.1.44-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.10.10
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Database: incorrect column (notifications/datetime)
[FAIL] We have detected that your database schema may be wrong, please report t he following to us on Discord (https://t.libren.ms/discord) or the community sit e (https://t.libren.ms/5gscd):
[FIX]:
Run the following SQL statements to fix.
SQL Statements:
ALTER TABLE notifications CHANGE datetime datetime timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:00’ ;
sh: 1: pip3: not found
[WARN] Your install is over 24 hours out of date, last update: Thu, 25 Jun 2020 19:51:55 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to se e if there are any errors.
[WARN] Your local git contains modified files, this could prevent automatic upd ates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
config.php.default
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore

Hopes that you can help me on this :slight_smile: Stay safe