Migrating to a new server

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
thermionic
Bear Rating Trainee
Bear Rating Trainee
Posts: 42
Joined: 15 May 2013, 13:50

Migrating to a new server

Postby thermionic » 30 Nov 2014, 03:01

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 :-(

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Migrating to a new server

Postby JustAMacUser » 30 Nov 2014, 05:00

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

votsalo
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 30 Nov 2014, 11:39

Re: Migrating to a new server

Postby votsalo » 30 Nov 2014, 11:46

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

thermionic
Bear Rating Trainee
Bear Rating Trainee
Posts: 42
Joined: 15 May 2013, 13:50

Re: Migrating to a new server

Postby thermionic » 30 Nov 2014, 22:28

Fixed with

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

Thanks for the link!


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests