Page 1 of 1

Migrating to a new server

Posted: 30 Nov 2014, 03:01
by thermionic
I had to migrate to a new server (moving from xen to hyper-v...) and thought I would also move from Ubuntu 12.04 to 14.04

I did a base install of 14.04 and then install mysql nginx php5-mysql php5-xmlrpc php5-curl php5-cli php5-fpm php5-gd php5-mcrypt php-apc

I copied the database (dump and restore) over and used rsync to copy /ttrss from the 12.04 install currently running v1.13.0e21b0b, yes I know I should update to 14...

On trying to connect I get "FEED_CRYPT_KEY requires mcrypt functions which are not found."

After reading through the forum I did apt-get purge and then apt-get install for php5-mysql php5-mcrypt (and restarted nginx) but the error remains.

I know I'm probably missing something that should be staring me in the face :-(

Re: Migrating to a new server

Posted: 30 Nov 2014, 05:00
by JustAMacUser
Obviously mycrpt is either missing or not active.

I don't use Ubuntu, but does this help: http://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql

Re: Migrating to a new server

Posted: 30 Nov 2014, 11:46
by votsalo
I use tt-rss on ubuntu 14.04 (amd64) and apache without any php5-mcrypt package.

These are the only crypt packages that I have:
> dpkg --get-selections | grep crypt
libgcrypt11:amd64 install
libhcrypto4-heimdal:amd64 install
libk5crypto3:amd64 install
python-crypto install

Re: Migrating to a new server

Posted: 30 Nov 2014, 22:28
by thermionic
Fixed with

ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
sudo php5enmod mcrypt

Thanks for the link!