dans Linux, Tech, Traduction

Pydio – migration, upgrade, package [EN]

Cet article est également disponible en français.

This unclear title reveals an operation i’ve just done to make 3 moves in one. Pydio 6.0.7 was running on a CentOS 6 server, installed via the tar.gz archive.

The primary goal was to upgrade Pydio to 6.4. Unfortunately, there was dependcies problems with php. Pydio 6.4 needs php 5.4 and CentOS only brings 5.3 (you can install php 5.4 via other repos but I didn’t want this). The first was to create a new Centos7 VM, then install Pydio on it using yum and the Pydio repo and finally import the old config in the brand new Pydio.

Installing Pydio through the package manager allows you to update it easily and it also ease the automation for an autmatic deployement. Also, the plugin management is facilitated.

These are the steps I’ll describe here.

Install mariadb and httpd

Installing Pydio dependancies :

Installing Pydio repositories

If you own a licence (free up to 10 users), you can also have the enterprise repo.

With API_KEY and API_SECRET  in your dashboard on pydio.com, licence tab

Edit the repo file to add your API_KEY and API_SECRET

InstallPydio

I use to modify the default vhost file /etc/httpd/conf.d/pydio.conf

Customize the charset in /etc/pydio/bootstrap_conf.php

Create the database:

The last command gives the Super Privileges to the pydio user for it to be able to create triggers.

Install the Pydio plugins;

The last step is to import your old pydio database in your brand new one

Finally, you can go to the pydio page and go through the First Run Wizard. Once done, you should be able to connect with your account and find all your files.

Ecrivez un commentaire

Commenter