[ixpmanager] Upgrade to 4.8.0

Mike Hammett ixp-manager at ics-il.net
Thu Aug 16 00:00:40 IST 2018


Missed a piece at the bottom of the composer section. 


root at ixpm:/srv/ixpmanager# chown -R $MY_WWW_USER: ${IXPROOT}/composer.phar 
root at ixpm:/srv/ixpmanager# chmod -R u+rwx ${IXPROOT}/composer.phar 
root at ixpm:/srv/ixpmanager# sudo -u $MY_WWW_USER bash -c "HOME=${IXPROOT}/storage && cd ${IXPROOT} && php ./composer.phar selfupdate" 
Updating to version 1.7.1 (stable channel). 
Downloading (100%) 




[ErrorException] 
rename(/srv/ixpmanager/storage/.composer/cache/composer-temp.phar,/srv/ixpmanager/composer.phar): Permission denied 




self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>] 


root at ixpm:/srv/ixpmanager# dpkg --list | grep composer 
root at ixpm:/srv/ixpmanager# ls -hal /srv/ixpmanager/storage/.composer/cache/composer-temp.phar 
-rwxrwxr-x 1 www-data www-data 1.8M Aug 15 17:55 /srv/ixpmanager/storage/.composer/cache/composer-temp.phar 
root at ixpm:/srv/ixpmanager# ls -hal /srv/ixpmanager/composer.phar 
-rwxrwxr-x 1 www-data www-data 1.8M Jan 29 2018 /srv/ixpmanager/composer.phar 





----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 

----- Original Message -----

From: "Mike Hammett" <ixp-manager at ics-il.net> 
To: "INEX IXP Manager Users Mailing List" <ixpmanager at inex.ie> 
Sent: Wednesday, August 15, 2018 5:42:03 PM 
Subject: Re: [ixpmanager] Upgrade to 4.8.0 


I ran the stuff in the composer section down below and now I get a new error: 



Generating autoload files 
> Illuminate\Foundation\ComposerScripts::postAutoloadDump 
> @php artisan package:discover 


In DuskServiceProvider.php line 43: 


It is unsafe to run Dusk in production. 




Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 





----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 

----- Original Message -----

From: "Mike Hammett" <ixp-manager at ics-il.net> 
To: "INEX IXP Manager Mailing List" <ixpmanager at inex.ie> 
Sent: Wednesday, August 15, 2018 5:34:12 PM 
Subject: [ixpmanager] Upgrade to 4.8.0 


It seems I've broken something. 



root at ixpm:/srv/ixpmanager# sudo -u $MY_WWW_USER bash -c "HOME=${IXPROOT}/storage && cd ${IXPROOT} && php ./composer.phar install --no-dev --prefer-dist" 
Loading composer repositories with package information 
Installing dependencies from lock file 
Nothing to install or update 
Generating autoload files 
> Illuminate\Foundation\ComposerScripts::postAutoloadDump 
> @php artisan package:discover 


In ProviderRepository.php line 208: 


Class 'Barryvdh\Debugbar\ServiceProvider' not found 




Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 





----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 


_______________________________________________ 
INEX IXP Manager mailing list 
ixpmanager at inex.ie 
Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager 


_______________________________________________ 
INEX IXP Manager mailing list 
ixpmanager at inex.ie 
Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180815/a29f8ffb/attachment-0001.html>


More information about the ixpmanager mailing list