[ixpmanager] 5.8.0 > 6.0.0 Upgrade Issues

Nick Hilliard (INEX) nick at inex.ie
Thu May 26 10:42:37 IST 2022


Hi Jason,


Barry posted an email to this mailing list a couple of months ago about 
this:

https://www.inex.ie/pipermail/ixpmanager/2021-November/003340.html


Nick

Jason Gintert via ixpmanager wrote on 25/05/2022 19:27:
> Hello,
> 
> I’m attempting to upgrade to IXPM 6.0.0 from 5.8.0 on an Ubuntu 20.04 
> box w/PHP 8.1. I tried to install with PHP 8.0 based on your 
> instructions at step 6 but Ubuntu insists on installing the 8.1 
> packages. I have watched the video and am following the step by step 
> instructions but received the following error at step 10 from the 
> release notes at https://github.com/inex/IXP-Manager/releases/tag/v6.0.0:
> 
> Installing dependencies from lock file
> Verifying lock file contents can be installed on current platform.
> Nothing to install, update or remove
> Generating autoload files
>  > Illuminate\Foundation\ComposerScripts::postAutoloadDump
> Deprecation Notice: Return type of 
> Illuminate\Container\Container::offsetExists($key) should either be 
> compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the 
> #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php:1405
> Deprecation Notice: Return type of 
> Illuminate\Container\Container::offsetGet($key) should either be 
> compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the 
> #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php:1416
> Deprecation Notice: Return type of 
> Illuminate\Container\Container::offsetSet($key, $value) should either be 
> compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): 
> void, or the #[\ReturnTypeWillChange] attribute should be used to 
> temporarily suppress the notice in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php:1428
> Deprecation Notice: Return type of 
> Illuminate\Container\Container::offsetUnset($key) should either be 
> compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the 
> #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php:1441
> Deprecation Notice: Return type of PhpOption\Some::getIterator() should 
> either be compatible with IteratorAggregate::getIterator(): Traversable, 
> or the #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/phpoption/phpoption/src/PhpOption/Some.php:152
> Deprecation Notice: Return type of PhpOption\None::getIterator() should 
> either be compatible with IteratorAggregate::getIterator(): Traversable, 
> or the #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/phpoption/phpoption/src/PhpOption/None.php:118
>  > @php artisan package:discover
> PHP Fatal error: During inheritance of ArrayAccess: Uncaught 
> ErrorException: Return type of 
> Illuminate\Support\Collection::offsetExists($key) should either be 
> compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the 
> #[\ReturnTypeWillChange] attribute should be used to temporarily 
> suppress the notice in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1459
> Stack trace:
> #0 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): 
> Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
> #1 /srv/ixpmanager/vendor/composer/ClassLoader.php(571): include('...')
> #2 /srv/ixpmanager/vendor/composer/ClassLoader.php(428): 
> Composer\Autoload\includeFile()
> #3 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): 
> Composer\Autoload\ClassLoader->loadClass()
> #4 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): 
> collect()
> #5 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): 
> Illuminate\Foundation\PackageManifest->build()
> #6 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): 
> Illuminate\Foundation\PackageManifest->getManifest()
> #7 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): 
> Illuminate\Foundation\PackageManifest->config()
> #8 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): 
> Illuminate\Foundation\PackageManifest->aliases()
> #9 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): 
> Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
> #10 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): 
> Illuminate\Foundation\Application->bootstrapWith()
> #11 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): 
> Illuminate\Foundation\Console\Kernel->bootstrap()
> #12 /srv/ixpmanager/artisan(37): 
> Illuminate\Foundation\Console\Kernel->handle()
> #13 {main} in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/Collection.php 
> on line 13
> PHP Fatal error: Uncaught Error: Class "Illuminate\Support\Collection" 
> not found in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/helpers.php:15
> Stack trace:
> #0 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Support/Traits/ReflectsClosures.php(24): 
> collect()
> #1 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Support/Traits/ReflectsClosures.php(44): 
> Illuminate\Foundation\Exceptions\ReportableHandler->closureParameterTypes()
> #2 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/ReportableHandler.php(62): 
> Illuminate\Foundation\Exceptions\ReportableHandler->firstClosureParameterType()
> #3 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(234): 
> Illuminate\Foundation\Exceptions\ReportableHandler->handles()
> #4 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(88): 
> Illuminate\Foundation\Exceptions\Handler->report()
> #5 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): 
> Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
> #6 [internal function]: 
> Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
> #7 {main}
>   thrown in 
> /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Collections/helpers.php 
> on line 15
> Script @php artisan package:discover handling the post-autoload-dump 
> event returned with error code 255
> 
> Any thoughts on what could be happening?
> 
>> Jason Gintert
> Ohio IX
> https://ixpmanager.ohioix.net/
> 216-307-2258
> jason at ohioix.net
> 
> 
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
> 


More information about the ixpmanager mailing list