[ixpmanager] Upgrade from 4x to 6x
billynkid at gmail.com
billynkid at gmail.com
Fri Apr 15 01:53:43 IST 2022
Hey Barry,
So the next slight hurdle. We are now trying to configure the sflow
collector. We have sflow configure on another host and it can successfully
receive sflow data and is generating rrd files. We've also configured IXP
Manager to use the URL of this host. However, are we getting the following
error when we visit the sflow member graphs.
500
Server Error :: Call to undefined function IXP\Utils\Grapher\rrd_fetch()
The rrd extension seems to be installed for PHP?
I've also included the stacktrace if useful?
Thx
Simon
On Sat, 9 Apr 2022 at 16:24, Barry O'Donovan (INEX) <barry.odonovan at inex.ie>
wrote:
> Hi Kyle,
>
> hope you're well. Glad it all went well.
>
> Some inline comments below for mailing list archival purposes for anyone
> coming upon this.
>
> - Barry
>
> Kyle Spencer wrote on 08/04/2022 02:40:
> > 1) There were a couple cases where "php composer.phar update" needed
> > to be run before the "php composer.phar install" command would work
> > successfully.
>
> This is one of the issues falling behind on upgrades - older releases
> would have been 'composed' against older versions of PHP. Doing the
> update as above is the right way to try and get past this issue.
>
> > 2) The PHP PPA now pulls in 8.1 packages and the documentation/scripts
> > reference 8.0. We are now running on 8.1 and the documentation/scripts
> > might benefit from being updated to reflect this.
>
> Current release of IXP Manager is supported for PHP versions >8.0 (which
> is to say 8.0 and 8.1) so no issue here.
>
>
>
>
--
Simon Vass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20220415/2946800d/attachment.htm>
-------------- next part --------------
rd_fetch() at /srv/ixpmanager/app/Utils/Grapher/Rrd.php:313)nction IXP\Utils\Grapher\rrd_fetch() {"userId":3,"exception":"[object] (Error(code: 0): Call to undefined function IXP\\Utils\\Grapher\
[stacktrace]
#0 /srv/ixpmanager/app/Services/Grapher/Backend/Sflow.php(165): IXP\\Utils\\Grapher\\Rrd->data()
#1 /srv/ixpmanager/app/Services/Grapher/Graph.php(405): IXP\\Services\\Grapher\\Backend\\Sflow->data()
#2 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(391): IXP\\Services\\Grapher\\Graph->IXP\\Services\\Grapher\\{closure}()
#3 /srv/ixpmanager/app/Services/Grapher.php(457): Illuminate\\Cache\\Repository->remember()
#4 /srv/ixpmanager/app/Services/Grapher/Graph.php(406): IXP\\Services\\Grapher->remember()
#5 /srv/ixpmanager/app/Services/Grapher/Statistics.php(148): IXP\\Services\\Grapher\\Graph->data()
#6 /srv/ixpmanager/app/Services/Grapher/Statistics.php(161): IXP\\Services\\Grapher\\Statistics->data()
#7 /srv/ixpmanager/app/Services/Grapher/Statistics.php(125): IXP\\Services\\Grapher\\Statistics->process()
#8 /srv/ixpmanager/app/Services/Grapher/Graph.php(529): IXP\\Services\\Grapher\\Statistics->__construct()
#9 /srv/ixpmanager/resources/views/services/grapher/renderer/box/legacy.foil.php(40): IXP\\Services\\Grapher\\Graph->statistics()
#10 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(287): require('...')
#11 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(231): Foil\\Template\\Template->collect()
#12 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(307): Foil\\Template\\Template->render()
#13 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(231): Foil\\Engine->doRender()
#14 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(204): Foil\\Engine->renderTemplate()
#15 /srv/ixpmanager/app/Services/FoilEngine.php(54): Foil\\Engine->render()
#16 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(139): IXP\\Services\\FoilEngine->get()
#17 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#18 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#19 /srv/ixpmanager/app/Services/Grapher/Renderer.php(98): Illuminate\\View\\View->render()
#20 /srv/ixpmanager/app/Services/Grapher/Renderer.php(110): IXP\\Services\\Grapher\\Renderer->box()
#21 /srv/ixpmanager/resources/views/statistics/members.foil.php(211): IXP\\Services\\Grapher\\Renderer->boxLegacy()
#22 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(287): require('...')
#23 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(231): Foil\\Template\\Template->collect()
#24 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(307): Foil\\Template\\Template->render()
#25 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(231): Foil\\Engine->doRender()
#26 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(204): Foil\\Engine->renderTemplate()
#27 /srv/ixpmanager/app/Services/FoilEngine.php(54): Foil\\Engine->render()
#28 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(139): IXP\\Services\\FoilEngine->get()
#29 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#30 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#31 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#32 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#33 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820): Illuminate\\Http\\Response->__construct()
#34 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789): Illuminate\\Routing\\Router::toResponse()
#35 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\\Routing\\Router->prepareResponse()
#36 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#37 /srv/ixpmanager/app/Http/Middleware/Google2FA.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): IXP\\Http\\Middleware\\Google2FA->handle()
#39 /srv/ixpmanager/app/Http/Middleware/ControllerEnabled.php(94): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): IXP\\Http\\Middleware\\ControllerEnabled->handle()
#41 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#43 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#45 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#46 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#47 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#48 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#49 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle()
#50 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#51 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#52 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#53 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#54 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\\Pipeline\\Pipeline->then()
#56 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack()
#57 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRoute()
#58 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute()
#59 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch()
#60 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#61 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#63 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#64 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#65 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#66 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#67 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#69 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#70 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#71 /srv/ixpmanager/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#72 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle()
#73 /srv/ixpmanager/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#74 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle()
#75 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#76 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then()
#77 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#78 /srv/ixpmanager/public/index.php(89): Illuminate\\Foundation\\Http\\Kernel->handle()
#79 {main}
"}
More information about the ixpmanager
mailing list