Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: R.M. on February 08, 2013, 12:08:55 PM
-
Hello there,
I searched the board, but couldn't find an answer to my problem. I use Anope since many years. Now i made an upgrade to 1.9. and runs perfect. But after any restart Anope creates a new anope.db file. Then i loose all my rooms. Is there an error by me or is this default?
Ty very much
Snape
-
What type of database do you have configured?
Please provide the relevant info from your config.
-
Ty for your answer. Here is a copy of my database part in my conf file:
---------------------------------------------------------------------
module { name = "db_plain" }
db_plain
{
/*
* The database name db_plain should use
*/
database = "anope.db"
}
module { name = "db_flatfile" }
db_flatfile
{
/*
* The database name db_flatfile should use
*/
database = "anope.db"
}
db_sql
{
/*
* The SQL service db_sql(_live) should use, these are configured in modules.conf.
* For MySQL, this should probably be mysql/main.
*/
engine = "mysql/main"
/*
* An optional prefix to prepended to the name of each created table.
* Do not use the same prefix for other programs.
*/
prefix = "anope_db_"
}
-------------------------------------------------------------------------
Ty :)
-
Please provide debug logs showing this happening
./services -debug
-
12:29 <~DukePyrolator> ah, he is loading db_plain and db_flatfile at the same time ... and both modules try to use the same database file
12:29 <~DukePyrolator> thats bad
^ See above.
-
Ahh yes he's right..error by me. Which one is the right block for me, in use with mysql?
-
This my output everytime:
Using IRCd protocol unreal
Loading databases...
Unable to open data/anope.db for reading!
Databases loaded