Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope database convert. ( SOLVED )  (Read 6700 times)

0 Members and 1 Guest are viewing this topic.

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Anope database convert. ( SOLVED )
« on: November 20, 2012, 04:49:15 PM »

Hi all, i wonder if there is any way to convert database anope1.8.7 to anope1.9.7.

Greetings.
« Last Edit: November 21, 2012, 04:50:39 AM by daniel »
Logged

Taylor

  • Contributor
  • *
  • Offline Offline
  • Posts: 100
Re: Anope database convert.
« Reply #1 on: November 20, 2012, 05:34:05 PM »

Read example.conf i'll give you a hint look for the part about databases.
Logged
Cronus
irc.cncirc.net
http://CnCIRC.net

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Anope database convert.
« Reply #2 on: November 20, 2012, 09:34:50 PM »

it`s possible merge databases first? for example:
cat oper.db bot.db nick.db chan.db > anope.db
Logged

Taylor

  • Contributor
  • *
  • Offline Offline
  • Posts: 100
Re: Anope database convert.
« Reply #3 on: November 20, 2012, 09:40:15 PM »

Merging and converting is two seperate things. the module db_old is what you want in example.conf it will import your chan.db nick.db etc
if you need to merge two different sets of 1.8.* db's look at db-merger in 1.8
Logged
Cronus
irc.cncirc.net
http://CnCIRC.net

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Anope database convert.
« Reply #4 on: November 20, 2012, 09:51:04 PM »

Thanks, i test it now and I commented then. Regards.
Logged

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Anope database convert.
« Reply #5 on: November 20, 2012, 11:51:59 PM »

Thanks for help me, works fine.
« Last Edit: November 21, 2012, 03:34:02 AM by daniel »
Logged

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Anope database convert.
« Reply #6 on: November 21, 2012, 03:34:55 AM »

New problem old nickserv passwords do not work.
Logged

Taylor

  • Contributor
  • *
  • Offline Offline
  • Posts: 100
Re: Anope database convert.
« Reply #7 on: November 21, 2012, 03:49:23 AM »

Did you make sure to choose the proper encryption mods when importing 1.8.* into 1.9.7 with db_old? note once you load anope you need to comment out loading db_old or it will rewrite your db's again.
Logged
Cronus
irc.cncirc.net
http://CnCIRC.net

daniel

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Anope database convert.
« Reply #8 on: November 21, 2012, 04:50:04 AM »

Thank you very much for your help was problem of encryption and comment db_old, now work fine.


Regards.
Logged
Pages: [1]   Go Up