Updating to latest codebase FAIL
error: Your local changes to the following files would be overwritten by merge:
doc/Extensions/Syslog.md
html/includes/print-map.inc.php
html/includes/print-menubar.php
html/pages/addhost.inc.php
html/pages/device.inc.php
html/pages/device/edit/device.inc.php
html/pages/health.inc.php
includes/defaults.inc.php
includes/discovery/mempools/ironware-dyn.inc.php
includes/discovery/sensors/load/hpe-ipdu.inc.php
includes/functions.php
includes/polling/mempools/ironware-dyn.inc.php
includes/process_config.inc.php
includes/snmp.inc.php
misc/db_schema.yaml
scripts/github-apply
snmp-scan.py
sql-schema/211.sql
tests/ConfigTest.php
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
includes/caches/toner.inc.php
includes/discovery/sensors/humidity/serverscheck.inc.php
includes/discovery/sensors/pre-cache/serverscheck.inc.php
sql-schema/214.sql
sql-schema/215.sql
Please move or remove them before you can merge.
After ./scripts/github-remove and second attempt. I get this:
Updating to latest codebase FAIL
error: unable to unlink old âLibreNMS/Config.phpâ (Permission denied)
error: unable to unlink old âLibreNMS/Validations/Poller.phpâ (Permission denied)
error: unable to unlink old âLibreNMS/Validator.phpâ (Permission denied)
error: unable to create file includes/discovery/sensors/temperature/serverscheck.inc.php (Permission denied)
Then I repaired permission with chmod -R g+w and get again first error⌠can someone help out
Updating to latest codebase FAIL
error: Your local changes to the following files would be overwritten by merge:
doc/Extensions/Syslog.md
html/includes/print-map.inc.php
html/includes/print-menubar.php
html/pages/addhost.inc.php
html/pages/device.inc.php
html/pages/device/edit/device.inc.php
html/pages/health.inc.php
includes/defaults.inc.php
includes/discovery/mempools/ironware-dyn.inc.php
includes/discovery/sensors/load/hpe-ipdu.inc.php
includes/functions.php
includes/polling/mempools/ironware-dyn.inc.php
includes/process_config.inc.php
includes/snmp.inc.php
misc/db_schema.yaml
scripts/github-apply
snmp-scan.py
sql-schema/211.sql
tests/ConfigTest.php
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
includes/caches/toner.inc.php
includes/discovery/sensors/humidity/serverscheck.inc.php
includes/discovery/sensors/pre-cache/serverscheck.inc.php
sql-schema/214.sql
sql-schema/215.sql
Please move or remove them before you can merge.
[e[0;32mOKe[0m] Database connection successful
[e[1;31mFAILe[0m] MySQL column collation is wrong:
[e[1;34mFIXe[0m] e[1;34mCheck https://t.libren.ms/-zdwk for info on how to fix.e[0m
Columns:
users password utf8 utf8_general_ci
users realname utf8 utf8_general_ci
users email utf8 utf8_general_ci
users descr utf8 utf8_general_ci
[e[1;31mFAILe[0m] Database: missing column (perf_times/id)
[e[1;31mFAILe[0m] Database: missing index (perf_times/PRIMARY)
[e[1;31mFAILe[0m] 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):
[e[1;34mFIXe[0m] e[1;34mRun the following SQL statements to fix.e[0m
SQL Statements:
ALTER TABLE perf_times ADD id int(11) NOT NULL auto_increment;
ALTER TABLE perf_times ADD PRIMARY KEY (id);
[e[1;31mFAILe[0m] The poller (ubuntu-librenms) has not complete within the last 5 minutes, check the cron job
[e[1;33mWARNe[0m] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[e[1;34mFIXe[0m] e[1;34mCheck your poll log and see: http://docs.librenms.org/Support/Performance/e[0m
Devices:
192.168.35.21
192.168.100.41
192.168.21.10
192.168.22.21
192.168.51.2
192.168.100.70
192.168.30.21
192.168.35.19
192.168.24.28
192.168.16.22
192.168.50.39
192.168.19.40
192.168.35.20
192.168.15.100
192.168.22.20
and 7 moreâŚ
[e[1;33mWARNe[0m] Your install is over 24 hours out of date, last update: Tue, 31 Oct 2017 13:31:29 +0000
[e[1;34mFIXe[0m] e[1;34mMake sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.e[0m
[e[1;33mWARNe[0m] Your local git contains modified files, this could prevent automatic updates.
[e[1;34mFIXe[0m] e[1;34mYou can fix this with ./scripts/github-removee[0m
Modified Files:
doc/Extensions/Syslog.md
html/includes/print-map.inc.php
html/includes/print-menubar.php
html/pages/addhost.inc.php
html/pages/device.inc.php
html/pages/device/edit/device.inc.php
html/pages/health.inc.php
includes/defaults.inc.php
includes/discovery/mempools/ironware-dyn.inc.php
includes/discovery/sensors/load/hpe-ipdu.inc.php
includes/discovery/sensors/power/ipoman.inc.php
includes/functions.php
includes/polling/mempools/ironware-dyn.inc.php
includes/process_config.inc.php
includes/snmp.inc.php
and 5 moreâŚ
Like I wrote in first post this is never ending loop
When I fix permissions and run github-remove then I end with he same result in validate as above⌠so everything start again⌠I did that twice already.
Checking PHP version OK Updating to latest codebase FAIL error: unable to unlink old âLibreNMS/Config.phpâ (Permission denied) error: unable to unlink old âLibreNMS/Validations/Poller.phpâ (Permission denied) error: unable to unlink old âLibreNMS/Validator.phpâ (Permission denied) error: unable to unlink old âdoc/Developing/os/Initial-Detection.mdâ (Permission denied) error: unable to unlink old âincludes/definitions/asuswrt-merlin.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/ddnos.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/discovery/fxm.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/dsm.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/extrahop.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/freebsd.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/huaweiups.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/ibmtl.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/linux.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/pcoweb.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/pktj.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/qnap.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/remoteye4.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/sentry3.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/sentry4.yamlâ (Permission denied) error: unable to unlink old âincludes/definitions/tomato.yamlâ (Permission denied) error: unable to create file includes/discovery/sensors/temperature/serverscheck.inc.php (Permission denied) error: unable to unlink old âtests/mocks/mock.snmp.inc.phpâ (Permission denied) Updating SQL-Schema OK Updating submodules OK Cleaning up DB OK Fetching notifications OK Caching PeeringDB data OK
Updating to latest codebase FAIL
error: Your local changes to the following files would be overwritten by merge:
doc/Extensions/Syslog.md
html/includes/print-map.inc.php
html/includes/print-menubar.php
html/pages/addhost.inc.php
html/pages/device.inc.php
html/pages/device/edit/device.inc.php
html/pages/health.inc.php
includes/defaults.inc.php
includes/discovery/mempools/ironware-dyn.inc.php
includes/discovery/sensors/load/hpe-ipdu.inc.php
includes/functions.php
includes/polling/mempools/ironware-dyn.inc.php
includes/process_config.inc.php
includes/snmp.inc.php
misc/db_schema.yaml
scripts/github-apply
snmp-scan.py
sql-schema/211.sql
tests/ConfigTest.php
tests/YamlTest.php
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
includes/caches/toner.inc.php
includes/discovery/os/ubnt.inc.php
includes/discovery/sensors/humidity/serverscheck.inc.php
includes/discovery/sensors/pre-cache/serverscheck.inc.php
sql-schema/214.sql
sql-schema/215.sql
Please move or remove them before you can merge.
Aborting
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Can I ask You one more thing ? I moved my LibreNMS server from Ubuntu to CentOS few weeks ago. Now I have âFail: The poller (ubuntu-librenms) has not completed within the last 5 minutes, check the cron job.â This is my old local-host and this is probably thx to copy database and rrd forlder⌠Can I remove this somehow ?
[librenms@librenms ~]$ ./daily.sh
Checking PHP version OK
Updating to latest codebase OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
[librenms@librenms ~]$ ./validate.php