Call to undefined method Illuminate\Pagination... - Eorro after updates

Hi Guys,

I have updated LNMS (from a very old version) to the latest via the master branch today.
However, something got broken and i’m getting the errors below and it won’t connect to MySQL

Call to undefined method Illuminate\Pagination\Paginator::useBootstrap()

not sure where the issue is, weather it’s LNMS, PHP, or Linux itself.

Has anybody seen such issue ?

Thanks

Delete vendor folder and rerun daily.sh

Hi Jellyfrog,

I tried that and it killed it.

i’m not sure if I have a backup/snapshot of the server.
Can I copy the vendor folder again from another LNMS server ?

Thanks

./scripts/composer_wrapper.php install --no-dev

no idea what that means, nothing on google either.

maybe your composer.json is broken, check with git status

I’m not really sure what happened, but it badly escalated. I might simply drop this server for good. It’s not a production server and was kept for testing.
But I think it’s not worth trying to salvage it since it’s running Ubuntu 16 which has reached end of updates.

I was just trying to find out what might have gone wrong, just in case i hit similar issues with my production LNMS servers.

git restore -- composer.json

librenms@librenms:~$ git restore -- composer.json
git: 'restore' is not a git command. See 'git --help'.

Did you mean this?
        remote

That’s what I got

git is required for updating librenms.
I suggest you follow Install LibreNMS - LibreNMS Docs

no worries. I was just trying to salvage this one.
But I think at this point it’s not worth the effort.
I will deploy a new test server on the latest Ubuntu.

Thanks man

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