Having trouble getting mod_pubsub_odc started

I keep getting this error in the erl crash dump:

Slogan: Problem starting the module mod_pubsub_odbc for host <<"localhost">>
options: [{access_createnode,pubsub_createnode},
          {ignore_pep_from_offline,true},
          {last_item_cache,false},

My config for mod_pubsub_odbc in ejabbberd.yml looks like this:

mod_pubsub_odbc:
     access_createnode: pubsub_createnode
     ## ignore_pep_from_offline: false
     last_item_cache: false
     plugins:
        - "flat_odbc"
        - "hometree_odbc"
        -  "pep_odbc"

Any help would be greatly appreciated. Thank you.

I am getting the same error -

I am getting the same error - latest version of ejabberd.

Also tried the plugins without the _odbc but that didn't make difference..

Anyone find an answer to this?? Thanks..

mod_pubsub_odbc<code> does

mod_pubsub_odbc<code> does not exist anymore. You need to set <code>db_type to odbc in the standard pubsub module.

For example:

      mod_pubsub:
        db_type: odbc
        access_createnode: pubsub_createnode
        ignore_pep_from_offline: true
        last_item_cache: false
        plugins:
          - "flat"
          - "hometree"
          - "pep"

There seem to be incorrect / deprecated example in the documentation. We will update it.

Syndicate content