Last Fail cant fix

this is my ./validate.php

the last two fail i cant fix

any idea or support can give me?

PHP Warning: touch(): Utime failed: Permission denied in /opt/librenms/scripts/composer_wrapper.php on line 63
PHP Warning: touch(): Utime failed: Permission denied in /opt/librenms/scripts/composer_wrapper.php on line 63

Component Version
LibreNMS 23.4.1-61-g09b3c88ae (2023-05-11T20:51:12+00:00)
DB Schema 2023_04_12_174529_modify_ports_table (250)
PHP 8.1.2-1ubuntu2.11
Python 3.10.6
Database MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.5.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQl and PHP time match
[FAIL] No active polling method detected
[OK] Dispatcher Service not detected
[OK] Locks are functional
[FAIL] Python wrapper cron entry is not present
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
[WARN] Bash completion not installed. lnms command tab completion unavailable.
[FIX]:
sudo cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/
[WARN] Your install is over 24 hours out of date, last update: Thu, 11 May 2023 20:51:12 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
.codeclimate.yml
.editorconfig
.env.example
.env.travis
.git-blame-ignore-revs
.github/FUNDING.yml
.github/ISSUE_TEMPLATE/bug_report.yml
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/device_bug.yml
.github/PULL_REQUEST_TEMPLATE.md
.github/ci-reporter.yml
.github/label-actions.yml
.github/lock.yml
.github/no-response.yml
.github/stale.yml
and 13410 more…
[FAIL] You need to run this script as ‘librenms’ or root

run the script as the librenms user or the root user?

Did something happen to your .gitignore file in the /opt/librenms directory?

chown -R librenms:librenms /opt/librenms
chmod 771 /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/

I cant find .gitinore in my /opt/librenms

and i do
chown -R librenms:librenms /opt/librenms
chmod 771 /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/

but it not fix those fail

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.