Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: converting 1.8.4 db to 1.9.3  (Read 6964 times)

0 Members and 1 Guest are viewing this topic.

firdaus

  • Anope User
  • Offline Offline
  • Posts: 6
converting 1.8.4 db to 1.9.3
« on: April 16, 2011, 02:42:27 PM »

i already run ./db-convert and seem to work but when i start the services all my nick & chan did not been register, why...
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: converting 1.8.4 db to 1.9.3
« Reply #1 on: April 16, 2011, 02:49:21 PM »

you might need db-upgrade
Logged

firdaus

  • Anope User
  • Offline Offline
  • Posts: 6
Re: converting 1.8.4 db to 1.9.3
« Reply #2 on: April 17, 2011, 01:34:21 AM »

[test@localhost bin]$ ./db-upgrade
Anope 1.9.2 -> 1.9.3 database upgrader

Could not open anope.db.old for reading

[test@localhost bin]$

db-upgrade only work for 1.9.2 to 1.9.3 only....
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: converting 1.8.4 db to 1.9.3
« Reply #3 on: April 17, 2011, 02:27:55 AM »

[test@localhost bin]$ ./db-upgrade
Anope 1.9.2 -> 1.9.3 database upgrader

Could not open anope.db.old for reading

[test@localhost bin]$

db-upgrade only work for 1.9.2 to 1.9.3 only....

mv anope.db anope.db.old
Logged

firdaus

  • Anope User
  • Offline Offline
  • Posts: 6
Re: converting 1.8.4 db to 1.9.3
« Reply #4 on: April 17, 2011, 02:35:08 AM »

[test@localhost bin]$ mv anope.db anope.db.old
[test@localhost bin]$ ls
anope.db.old  anoperc  anopesmtp  bot.db  chan.db  db-convert  db-upgrade  hosts.db  mydbgen  nick.db  oper.db  services

[test@localhost bin]$ ./db-upgrade
Anope 1.9.2 -> 1.9.3 database upgrader

Upgrade complete!
[test@localhost bin]$ ls
anope.db      anoperc    bot.db   db-convert  hosts.db  nick.db  services
anope.db.old  anopesmtp  chan.db  db-upgrade  mydbgen   oper.db
[test@localhost bin]$ ./services
Anope 1.9.3 (1), build #2, compiled 01:27:47 Apr 17 2011
Using configuration file /home/test/services1.9/data/services.conf
PID 28375
[test@localhost bin]$

I still did not get my previous DB running in my services... why
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: converting 1.8.4 db to 1.9.3
« Reply #5 on: April 17, 2011, 02:37:33 AM »

anope.db should be in data/ for Anope to find it
Logged

Power2All

  • Anope User
  • Offline Offline
  • Posts: 1
Re: converting 1.8.4 db to 1.9.3
« Reply #6 on: August 05, 2011, 11:57:13 AM »

I have same issue but then to 1.9.4
db-convert did fine, but the passwords arent working for nicknames.
What is going on ?
Logged

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network
Re: converting 1.8.4 db to 1.9.3
« Reply #7 on: August 05, 2011, 12:37:54 PM »

maybe you defined the wrong encryption module in the config ?
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

Calintz

  • Anope User
  • Offline Offline
  • Posts: 3
Re: converting 1.8.4 db to 1.9.3
« Reply #8 on: August 12, 2011, 04:35:34 PM »

I just did this myself. Definitely had to do an upgrade as well.

So if you're still having issues, do the conversion, which will convert to a 1.9.2+, it says, but I think it just makes it 1.9.2. Then mv anope.db anope.db.old and run the upgrade.

Then just move the anope.db to the data folder, start/restart and you should be good. What I also did, which might help, was save my services.conf back, and delete and reinstall anope altogether and then do it. It should work great.
Logged
Pages: [1]   Go Up