Broken auto-updater (Manual intervention required)

Users of daily updates (the default), your installs will no longer update without a little manual intervention.

It will not be an issue for those on the monthly updates.

You will need to update LibreNMS manually to resolve the issue.

su - librenms
git pull
./daily.sh
11 Likes

Results - in case anyone sees anything different:

**librenms@NET01:~$** git pull
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 11 (delta 8), reused 9 (delta 8), pack-reused 0
Unpacking objects: 100% (11/11), done.
From https://github.com/librenms/librenms
   f3ba8947f..e8e6ed514  master     -> origin/master
Updating f3ba8947f..e8e6ed514
Fast-forward
 daily.php                                    | 10 +++++-----
 dist-pollers.php                             |  4 ++--
 doc/Installation/Migrating-from-Observium.md |  4 ++--
 html/graph-realtime.php                      |  2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)
**librenms@NET01:~$** ./daily.sh
Updating to latest codebase                        OK
Updating Composer packages                         OK
Updating SQL-Schema                                OK
Updating submodules                                OK
Cleaning up DB                                     OK
Fetching notifications                             OK
Caching PeeringDB data                             OK
**librenms@NET01:~$**
3 Likes

when I tried typing git pull, I got this error:

fatal: Invalid refspec ‘+refs/heads/*:refs/remotes/origin/’

Thanks

You don’t have an origin remote set up on your git repository. Your updates never worked :wink:

@murrant: I think it is working now. here is a small section of the updates
[20:16:32 UTC] -> git pull
remote: Enumerating objects: 1513, done.
remote: Counting objects: 100% (1513/1513), done.
remote: Total 2196 (delta 1513), reused 1513 (delta 1513), pack-reused 683
Receiving objects: 100% (2196/2196), 1.52 MiB | 513 KiB/s, done.
Resolving deltas: 100% (1797/1797), completed with 764 local objects.
From https://github.com/librenms/librenms
2d24609…197947d master -> origin/master
From https://github.com/librenms/librenms

  • [new tag] 1.52 -> 1.52
    Updating 2d24609…197947d
    Fast-forward
    LibreNMS/Alert/Transport/Dummy.php | 5 ±
    LibreNMS/Alert/Transport/Kayako.php | 4 ±
    LibreNMS/Alert/Transport/Osticket.php | 5 ±
    LibreNMS/Alert/Transport/Smseagle.php | 7 ±
    LibreNMS/Alerting/QueryBuilderFilter.php | 5 ±
    LibreNMS/Alerting/QueryBuilderFluentParser.php | 191 +
    LibreNMS/Alerting/QueryBuilderParser.php | 39 ±
    …/Authentication/LdapAuthorizationAuthorizer.php | 2 ±

Is this correct?

Just to be sure, if we’ve set update_channel to release, we’re OK?

Thanks!

When did you change over to release??
Releases are done monthly and last Sunday of every month.

We’ve been on release for over 2 years

Ok so that shouldn’t have affected you than this is only for the users that use the master releases.

2 Likes