Answer the question
In order to leave comments, you need to log in
How to safely upgrade/translate uwsgi from deb to pip?
The server currently has uwsgi installed from the standard Ubuntu repo, which is why its version is 1.1, and the stable version has long been 1.9, but it is installed from pip.
This is a combat server. I want to safely remove the old one and all its dependencies and install the new one (or upgrade), without a serious loss of uptime. I looked at stackoverflow, but the old version is not deleted there, they just put the new one next to it. And it seems to me that there is too much garbage and not working init.d.
Has anyone run this thread?
Answer the question
In order to leave comments, you need to log in
It seems to me that the easiest way to put uwsgi next to it is via pip, it will be installed in /usr/local/.
Configure it, and then make a symlink to its binary from /usr/bin (in the same place like uwsgi from deb). Thus, everything will work, as if nothing had been touched ...
Well, then - we extinguish the old one, we light the new one.
You can remove the old one only if you make your init.d in advance. (Or a script on upstart).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question