[ixpmanager] Upgrades, permissions, sudos, etc.

Mike Hammett ixp-manager at ics-il.net
Mon Jan 29 12:12:29 GMT 2018


I did everything by the book, IIRC. 

Ah, yeah, this install was one of the first "production" installs of 4, so it could have been installed differently than it is now. 




----- 
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 Mailing List" <ixpmanager at inex.ie> 
Sent: Monday, January 29, 2018 6:10:56 AM 
Subject: Re: [ixpmanager] Upgrades, permissions, sudos, etc. 



Mike Hammett wrote: 
> I'm attempting upgrades of my install. 
> 
> ---- 
> composer install doesn't work for me, but `./composer.phar install` does. 
> ---- 

This is really a case of 'your mileage may vary' if you have installed 
composer your own way. 

The command in the docs is consistent with the manual installation 
instructions [1] and the installer script. 

Also most packaged versions of composer install it the way we suggest so 
the above will work in all those cases. 

Previous versions of documentation may have installed it in IXP 
Manager's root dir as composer.phar - maybe that's where you got your 
method from? 

If do, you should do a: ./composer.phar selfupdate 




> ---- 
> root at ixpm:/srv/ixpmanager# bower prune 
> bower ESUDO Cannot be run with sudo 
> 
> Additional error details: 
> Since bower is a user command, there is no need to execute it with 
> superuser permissions. 
> If you're having permission errors when using bower without sudo, please 
> spend a few minutes learning more about how your system should work and 
> make any necessary repairs. 
> 
> http://www.joyent.com/blog/installing-node-and-npm 
> https://gist.github.com/isaacs/579814 
> 
> You can however run a command with sudo using --allow-root option 
> ---- 
> 
> However, I can't find a non-root user the bower commands actually work 
> with. What's the appropriate way for this to actually work? 

See this section: 

http://docs.ixpmanager.org/install/upgrading/#updating-bower-dependancies 

But again, ymmv. 

More generally, bower as a tool is being deprecated by the web frontend 
community and we'll move off it onto the recommended tool chains in time. 

- Barry 


_______________________________________________ 
INEX IXP Manager mailing list 
ixpmanager at inex.ie 
https://www.inex.ie/mailman/listinfo/ixpmanager 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180129/2665c464/attachment.html>


More information about the ixpmanager mailing list