Cors profile?

When I run daily.sh I get the following
In InvalidCorsProfile.php line 14:

The configured cors profile in App\Http\Profile\CorsApiProfile is invalid
. A valid cors profile extends Spatie\Cors\CorsProfile\DefaultProfile

Run validate.php and check the results.

Do you have cors enabled in your config?

[[email protected] librenms]# ./validate.php

In InvalidCorsProfile.php line 14:

The configured cors profile in App\Http\Profile\CorsApiProfile is invalid
. A valid cors profile extends Spatie\Cors\CorsProfile\DefaultProfile

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

Component Version
LibreNMS 1.54-63-g142a1ab
DB Schema Not Connected (0)
PHP 7.3.9
MySQL ?
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

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

[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[[email protected] librenms]#

I don’t even know what a cors profiile is. In all the libre installs I have done I have never configured one.

So I ran
./scripts/github-remove -d

And that seems to have fixed things.

1 Like