Install LevelDB on Ubuntu 20.04 and migrate auth (solved)

Post Reply
User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Install LevelDB on Ubuntu 20.04 and migrate auth (solved)

by Festus1965 » Post

So far I have not seen a topic about this

as of sqlite3 fails every day about 2-3 times now with the auth database,
(guess as of about 1000 new entries every day for 5 days)

I need to migrate auth to leveldb

anyone experience ?


so far, when cmake minetest with LEVELDB=TRUE or YES whatever,
report
LevelDB is detected

but I wanna be careful ...

anything known to take care off ?

added :
yes: got that
Calinou wrote:In Debian and Ubuntu, LevelDB is available as libleveldb-dev. In Fedora, it is leveldb-devel.
* change in world.mt

Code: Select all

auth_backend = levelDB
- not yet tested ...

did yet a first test on copy:

Code: Select all

minetestserver --migrate_auth leveldb --gameid BrainCraft --world path_to/AsiaThailand
getting after eliminate the missing gameid

ERROR ... but just in this moment I realize why and will test ...

btw: auth.sqlite is 10.2 MB

and somewhere I read that need to several steps with so much auth ... mhh, not sure if UI should, or have to ... but this was sauth

after I needed just 1 hours to do the same with HIREDIS until the migration failed,

tested again, and found even the cmake tell me enabled as (ENABLE_LEVELDB=ON) the version ENABLE_LEVELDB=YES changed it, ... what the fun ...

migration command ended with
Sucessfully migrated 13054 auth entries
world.mt updated
Last edited by Festus1965 on Wed Sep 15, 2021 13:24, edited 4 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Install LevelDB on Ubuntu 20.04 and migrate auth

by Festus1965 » Post

Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Install LevelDB on Ubuntu 20.04 and migrate auth (solved)

by Festus1965 » Post

Solved:

but the best, it worked also with multicraft 2.0.0

server is back, login normal ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests