Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Convert from 1.8  (Read 8179 times)

0 Members and 1 Guest are viewing this topic.

King Pin

  • Anope User
  • Offline Offline
  • Posts: 3
Convert from 1.8
« on: March 24, 2009, 08:31:55 PM »

I just checked out latest trunk, compiled and hooked up to inspircd (also latest svn), the services start up and respond fine but are not loading the nick/channel etc db's. I found the db-convert binary and ran it, it went thru the motions and finished, still services wont recognize old channels etc. any ideas would be appreciated. thanx.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: Convert from 1.8
« Reply #1 on: March 24, 2009, 11:43:17 PM »

You'll need to restore your DB's from backups while Anope is NOT running before running the convector.
I believe the problem you experienced was because you had already run Anope, causing it to overwrite the existing DB's with it's own data (nothing.)
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

King Pin

  • Anope User
  • Offline Offline
  • Posts: 3
Re: Convert from 1.8
« Reply #2 on: March 24, 2009, 11:56:39 PM »

I restored a backup I made a few minutes before updating. I ran converter, started anope and still nothing. its connected since all bots are responding fine. I redid it all but captures output to text and t showed

Code: [Select]
^[[1;34mAnope 1.8.x -> 1.9.x database converter^[[m

You selected plain
Trying to merge nicks...
Wrote account for user passlen 12
Writing: User's nick: User
Trying to merge channels...
iteration 0
iteration 1
iteration 2
iteration 3
iteration 4
iteration 5
iteration 6
iteration 7
iteration 8
iteration 9
iteration 10
Read #somechannel founder User
.......
Merging is now done. I give NO guarantee for your DBs.

if I understand correctly (i shortened the log posted above in order to not clutter) it found all the users I had and all the channels I had but when I started it none of the bots joined and none of the chans show up as regged.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Convert from 1.8
« Reply #3 on: March 25, 2009, 04:05:53 PM »

db-convert is incomplete and meant for Anope 1.9.2 when we change the database format from a binary format to a plain-text format.  In order to upgrade to 1.9.x currently, you have to just copy your 1.8 .db files to the services directory of an installed 1.9 while it's not running, then when you run 1.9, it'll properly read the files.
Logged

King Pin

  • Anope User
  • Offline Offline
  • Posts: 3
Re: Convert from 1.8
« Reply #4 on: March 25, 2009, 06:21:11 PM »

had to put them in the data dir! in the conf it said relative to the executable so I kept putting them in the bin....

thanx :)
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Convert from 1.8
« Reply #5 on: March 25, 2009, 06:34:16 PM »

Ah, right.  Amanda was working on cleaning up the documentation of the configuration, we still need to update that.
Logged
Pages: [1]   Go Up