So I wasn't able to figure out why I couldn't install Plumi with the documented 
installation guide. I spent to many hours trying to troubleshoot. So I hired 
someone on Elance for a $100USD to do the install and then document it step by 
step on how they got it working.

Here are the steps, I hope it helps the next person. My environment is Debian 6 
(Squeeze).

Plumi installation steps

Log in as root.

Go to /opt
cd /opt

Install UnZip on New Server:
apt-get install unzip

Download and extract a Plumi release (in this case 4.5):
wget http://pypi.python.org/packages/source/p/plumi.app/plumi.app-4.5.zip
unzip plumi.app-4.5.zip
mv plumi.app-4.5 plumi

Install all the necessary dependencies for building Plumi:
apt-get update
apt-get install build-essential pkg-config git python-dev libjpeg62-dev 
zlib1g-dev libxslt1-dev groff-base -y

Configure the Plumi installation by editing /opt/plumi/site.cfg and setting by 
changing these properties:
arch = linux64
user = admin:some_password
transcode-user = root
secret = [some secret]
www-server-name = URL here
www-videoserver-name = URL here

The secret key for the transcode deamon must be 16, 24, or 32 bytes long.

Create the zope user:
useradd zope

Start the buildout process for ffmpeg:
cd /opt/plumi/ffmpeg/
python bootstrap.py
./bin/buildout

Run the Plumi buildout (this will also create the Plumi site):
cd /opt/plumi
mkdir downloads
python bootstrap.py
./bin/buildout

Start the Plumi site:
Before attempting to start, make sure there are no nginx, ploneftp or any other 
plumi processes running:
pgrep -f plumi | xargs kill -9

This workaround is required in order to fix an issue with varnish cache server:
Edit the /opt/plumi/templates/cache.conf and change the port value in the 
backend tansform section to 8080.
That part of the file should look like:
backend transform {
    .host = "127.0.0.1";
    .port = "8080";
}

Start supervisor:
./bin/supervisord
Make sure that all services are up and running:
./bin/supevisorctl status
Just as to be sure that all the latest conf changes are applied, restart all 
services:
./bin/supevisorctl restart all

If all the services are up and running, Plumi site should be up and running.
After you open the site in the browser, make sure to update the transcode 
settings, and change the secret key to match the one set in site.cfg. 
 
Best Regards,
Ali


----------------------
Ali Daniali
Founder
[email protected]

Twitter: @Unscripted_co


_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to