Problem with Daily script

With yesterday’s update, there was a problem with the update script.
When running it today shows the following message.
I think the problem is the user who runs the script, who wants to write to the root folder.

[email protected]:/opt/librenms# ./
**Re-running /opt/librenms/ as librenms user**
warning: is not possible to access to '/root/.config/git/ignore': permission denied
Updating to latest codebase                        FAIL
Updating Composer packages                         OK
Updating SQL-Schema                                OK
Updating submodules                                OK
Cleaning up DB                                     OK
Fetching notifications                             OK
Caching PeeringDB data                             OK
Component | Version
--------- | -------
LibreNMS  | 1.42.01-75-ge9ff8c48b
DB Schema | 260
PHP       | 7.2.7-0ubuntu0.18.04.2
MySQL     | 10.1.34-MariaDB-0ubuntu0.18.04.1
RRDTool   | 1.7.0
SNMP      | NET-SNMP 5.7.3

[OK]    Composer Version: 1.7.2
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct 

Try running it as the librenms user it will work much better…
su - librenms

I run as root, and I try with su, but in the script calls librenms user.

We try and work around people running things as root - it’s easier if you just don’t and run it as the librenms user.

continues to fail … any ideas?
Can I force the update in some way?