[ixpmanager] Upgrade to 4.8.0

Mike Hammett ixp-manager at ics-il.net
Thu Aug 16 14:59:08 IST 2018


root at ixpm:/srv/ixpmanager# chown -R www-data: $IXPROOT 
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 
Package zendframework/zendframework1 is abandoned, you should avoid using it. Use zendframework/zendframework instead. 
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 

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

From: "Mike Hammett" <ixp-manager at ics-il.net> 
To: "Barry O'Donovan" <barry.odonovan at inex.ie> 
Cc: "INEX IXP Manager Users Mailing List" <ixpmanager at inex.ie> 
Sent: Thursday, August 16, 2018 8:28:10 AM 
Subject: Re: [ixpmanager] Upgrade to 4.8.0 



I looked at the manual composer install and it has "chown -R www-data: $IXPROOT". That made the permissions issue all better. 


root at ixpm:/srv/ixpmanager# git status 
HEAD detached at v4.8.0 
Untracked files: 
(use "git add <file>..." to include in what will be committed) 


application/views/_skins/M-IX/ 
config/mail.php.old 
mrtg.sh 
mrtg.sh.old 
old.env.example 
old.env.travisci 
old.env.vagrant 
public/day.png 
public/month.png 
public/week.png 
public/year.png 
storage/framework/down 
tools/perl-lib/IXPManager/MYMETA.json 


nothing added to commit but untracked files present (use "git add" to track) 





----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 

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

From: "Barry O'Donovan" <barry.odonovan at inex.ie> 
To: "INEX IXP Manager Users Mailing List" <ixpmanager at inex.ie>, "Mike Hammett" <ixp-manager at ics-il.net> 
Sent: Thursday, August 16, 2018 8:12:58 AM 
Subject: Re: [ixpmanager] Upgrade to 4.8.0 



Mike Hammett wrote on 16/08/2018 10:21: 
> It seems I'm still nose-first into that corner. 
> 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 


This is a file system permissions issue, not an IXP Manager issue. 

Rather than selfupdate, just reinstall composer? 


> 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 
> Package operations: 80 installs, 0 updates, 0 removals 

>> Illuminate\Foundation\ComposerScripts::postAutoloadDump 
>> @php artisan package:discover 
> 
> In ProviderRepository.php line 208: 
> 
> Class 'Barryvdh\Debugbar\ServiceProvider' not found 

I can't reproduce this on our own production system. And we've seen 
three other IX's first hand upgrade to 4.8.0 without issue (from 4.7.x). 

What does 'git status' show you? 

- Barry 




_______________________________________________ 
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/20180816/cb10ba67/attachment-0001.html>


More information about the ixpmanager mailing list