Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: trying to convert 1.8 databases to 2.0  (Read 2904 times)

0 Members and 1 Guest are viewing this topic.

mark

  • Anope User
  • Offline Offline
  • Posts: 3
trying to convert 1.8 databases to 2.0
« on: May 24, 2017, 01:55:08 AM »

Hi all,

 Iam finished setting up new irc services (I already had an older unrealircd and anope 1.8

Iam trying to update old databases. heres my code "i have uncommented "db_old" and put my databases into the new installation of anope data folder. and then i start the server, it does show I have a nickname, but my password is incorrect. I have even stopped it, and tried all the other file encryption "sha1, md5, oldmd5,plain, etc. and nothing works, still says my password is wrong.

module
{
   name = "db_old"

   /*
    * This is the encryption type used by the databases. This must be set correctly or
    * your passwords will not work. Valid options are: plain, oldmd5, sha1, and plain.
    * You must also be sure to load the correct encryption module below in the Encryption
    * Modules section so that your passwords work.
    */
   hash = "plain"
}


/*
 * [RECOMMENDED] db_flatfile
 *
 * This is the default flatfile database format.
 */
module
{
   name = "db_flatfile"

   /*
    * The database name db_flatfile should use
    */
   database = "anope.db"

   /*
    * Sets the number of days backups of databases are kept. If you don't give it,
    * or if you set it to 0, Services won't backup the databases.
    *
    * NOTE: Services must run 24 hours a day for this feature to work.
    *
    * This directive is optional, but recommended.
    */
   keepbackups = 3

   /*
    * Allows Services to continue file write operations (i.e. database saving)
    * even if the original file cannot be backed up. Enabling this option may
    * allow Services to continue operation under conditions where it might
    * otherwise fail, such as a nearly-full disk.
    *
    * NOTE: Enabling this option can cause irrecoverable data loss under some
    * conditions, so make CERTAIN you know what you're doing when you enable it!
    *
    * This directive is optional, and you are discouraged against enabling it.
    */
   #nobackupokay = yes

   /*
    * If enabled, services will fork a child process to save databases.
    *
    * This is only useful with very large databases, with hundreds
    * of thousands of objects, that have a noticeable delay from
    * writing databases.
    *
    * If your database is large enough cause a noticeable delay when
    * saving you should consider a more powerful alternative such
    * as db_sql or db_redis, which incrementally update their
    * databases asynchronously in real time.
    */
   fork = no
}

thanks!
mark
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: trying to convert 1.8 databases to 2.0
« Reply #1 on: May 24, 2017, 02:00:44 AM »

Did you load enc_none?
Logged

mark

  • Anope User
  • Offline Offline
  • Posts: 3
Re: trying to convert 1.8 databases to 2.0
« Reply #2 on: May 24, 2017, 02:16:09 AM »

thanks i just checked and saw i didnt have it loaded.
Logged
Pages: [1]   Go Up