[ixpmanager] Upgrades, permissions, sudos, etc.

Barry O'Donovan barry.odonovan at inex.ie
Mon Jan 29 12:10:56 GMT 2018



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




More information about the ixpmanager mailing list