[Solved] Validate (and daily.sh) Failing

Hi,

I have noticed updates failing lately, so I tried to run validate.php, but that fails also! The output (similar failure for daily.sh),

./validate.php

In Request.php line 361:

  Invalid URI.


===========================================
Component | Version
--------- | -------
LibreNMS  | 24.10.1-43-g7f99ab9ea (2024-11-16T02:03:42-06:00)
DB Schema | Not Connected (0)
PHP       | 8.1.2-1ubuntu2.19
Python    | 3.10.12
Database  | Not Connected
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.8.2
[OK]    Dependencies up-to-date.

A known issue?

Thanks!

No known issue. Are you behind a proxy?

Also for the DB connection check your info in .env file

Thanks! I did check .env, this seemed odd,

APP_URL=http:///

I removed it, ran validate.php … OK, now, though it regenerated that same row :wink: . But daily.sh still fails, as below (and note, I did try to manually login to the DB, with the info in .env - it works!).


  Invalid URI.


Updating SQL-Schema                                FAIL

In Request.php line 361:

  Invalid URI.

Cleaning up DB                                     OK

In Request.php line 361:

  Invalid URI.

Thanks again.

Try setting it to the full URL of your instal

Found it - thanks for the pointers! It was due to the old (v8.1) version of PHP in Ubuntu.

Appreciate it!

Hi.
I ran command ./daily.sh and /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16, the poller seemed to be working fine. However, after more than ten seconds, it became abnormal again. I also tried restarting the machine and the service, but it didn’t solve the problem.

Check your cron /etc/cron.d/librenms, sounds like that’s not configured or configured incorrectly.

Changed the parameters and the issue has been resolved, thanks !

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