Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: firdaus on April 16, 2011, 02:42:27 PM

Title: converting 1.8.4 db to 1.9.3
Post by: firdaus 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...
Title: Re: converting 1.8.4 db to 1.9.3
Post by: Charles Kingsley on April 16, 2011, 02:49:21 PM
you might need db-upgrade
Title: Re: converting 1.8.4 db to 1.9.3
Post by: firdaus 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....
Title: Re: converting 1.8.4 db to 1.9.3
Post by: Adam 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
Title: Re: converting 1.8.4 db to 1.9.3
Post by: firdaus 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
Title: Re: converting 1.8.4 db to 1.9.3
Post by: Adam on April 17, 2011, 02:37:33 AM
anope.db should be in data/ for Anope to find it
Title: Re: converting 1.8.4 db to 1.9.3
Post by: Power2All 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 ?
Title: Re: converting 1.8.4 db to 1.9.3
Post by: VisioN on August 05, 2011, 12:37:54 PM
maybe you defined the wrong encryption module in the config ?
Title: Re: converting 1.8.4 db to 1.9.3
Post by: Calintz 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.