Migration to redis is not supported

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

Migration to redis is not supported

by burli » Sun Apr 12, 2015 08:45

Hi folks,
I try to setup a little local Minetest server, but I'm struggling setting up the redis server.

I'm running Ubuntu Server 14.04 64 Bit and Minetest 0.4.12 from the stable PPA. I created a simple world and then I try to migrate to Redis

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetestserver --migrate redis
Automatically selecting world at [/home/markus/.minetest/worlds/world]
10:38:08: ERROR[main]: Migration to redis is not supported


Any solution why this happens? The Redis server is running

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
redis-server --version
Redis server v=2.8.4 sha=00000000:0 malloc=jemalloc-3.4.1 bits=64 build=a44a05d76f06a5d9


Regards
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Migration to redis is not supported

by Krock » Sun Apr 12, 2015 09:12

Are you sure your minetestserver is compiled with redis?
It's an optional library and maybe not included in all binaries.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

Re: Migration to redis is not supported

by burli » Sun Apr 12, 2015 09:41

No idea what's compiled into the PPA version.

How can I compile minetestserver? I just found something for Minetest
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Migration to redis is not supported

by Calinou » Sun Apr 12, 2015 11:00

You can adapt this script: viewtopic.php?f=42&t=3837

To disable client building, use -DBUILD_CLIENT=0 -DBUILD_SERVER=1 (both have to be specified).
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Migration to redis is not supported

by sfan5 » Tue Apr 14, 2015 20:38

I'd advise against Calinou's script because it installs a lot of unneeded dependencies if you only need the server.
This should work equally well without requiring all the dependencies:
* Install sqlite3, libhiredis and luajit
* Download the irrlicht sources
* Clone minetest github repository
* Run cmake with -DIRRLICHT_INCLUDE_DIR=<path to irrlicht>/include -DBUILD_CLIENT=0 -DBUILD_SERVER=1 -DENABLE_REDIS=1
* Build minetestserver and install it.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 53 guests

cron