User search broken [0.7.0]



  • When using a User search field you, don't get a search result, but an error box with the message:
    ERR unknown command 'zrangebylex'

    I appears in the forum search and in the admin page. Group handling is currently impossible because of that problem.

    Can somebody else confirm that bug?

    Bildschirmfoto 2015-05-31 um 15.08.26.png


  • Admin

    You'll need to installed redis v2.8 or above.



  • It's not possible. So what to do now?


  • Plugin & Theme Dev

    @Hägar Changing hosts looks like the only other option.



  • @Hägar said:

    It's not possible. So what to do now?

    Anythings possible. If your host says they won't update it. And you can't update it yourself. You need a better host. I recommend Digital Ocean.



  • @pichalite
    Not really. Dropping NodeBB could be the other one.



  • In such scenario you can use Redis Cloud.



  • No Cloud. The data shall not be under somebody else control. Specially not spread anywhere in the world. (-> federal data protection act)

    You're in Poland? "Dzień dobry!"
    You should know about such things (http://www.giodo.gov.pl)



  • You can still try to use MongoDB or LevelDB.



  • @nhl.pl said:

    You can still try to use MongoDB or LevelDB.

    Yes. I'll give it a try.



  • nodebb mongo setup breaks. 😟

    npm WARN installMany nopt was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany npmlog was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany request was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany semver was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany tar was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany tar-pack was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany mkdirp was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany rc was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    npm WARN installMany rimraf was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
    
    > bson-ext@0.1.7 install /home/nodemail/nodebb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext
    > (node-pre-gyp install --fallback-to-build) || (node-gyp rebuild 2> builderror.log) || (exit 0)
    
    make: Entering directory `/home/nodemail/nodebb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build'
      CXX(target) Release/obj.target/bson/ext/bson.o
      SOLINK_MODULE(target) Release/obj.target/bson.node
      SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
      COPY Release/bson.node
    make: Leaving directory `/home/nodemail/nodebb/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build'
    connect-mongo@0.8.1 node_modules/connect-mongo
    ├── depd@1.0.1
    ├── debug@2.2.0 (ms@0.7.1)
    └── lodash@3.9.3
    
    mongodb@2.0.33 node_modules/mongodb
    ├── readable-stream@1.0.31 (isarray@0.0.1, inherits@2.0.1, string_decoder@0.10.31, core-util-is@1.0.1)
    └── mongodb-core@1.1.32 (kerberos@0.0.12, bson@0.3.2)
    2/6 10:34 [25466] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: auth failed
    2/6 10:34 [25466] - warn: NodeBB Setup Aborted.
     MongoError: auth failed
    

    But Auth data is correct.

    By far: How to import the nodebb-data from redid to mongo?


  • GNU/Linux

    i've updated redis on windows to 2.8.9 if anyone needs help. dumb.rdb permissions needs a change of ownership but that's about it

    /user/search working correctly.

    NodeBB doco should include new version 😄
    https://github.com/MSOpenTech/redis/releases

    download and install the .msi
    run the redis-cli.exe in the install directory. > SHUTDOWN server
    place your old dump.rdb in the new directory
    right click dump.rdb click properties, change in security advanced settings, change files owner to NETWORK SERVICE

    start the server from an admin command prompt in programs directory..
    C:\Program Files\Redis>redis-server.exe redis.windows.conf <- not sure on this command, seems to need special windows treatment, will work stand-alone without arguments though

    should start, and work. have noticed that dump.rdb reverts owner back to Administrator but it it's still working so alls good.



  • @julian said:

    You'll need to installed redis v2.8 or above.

    Also getting this error. I'm currently running Redis v2.8.4 - latest from the package manager in Ubuntu.

    Redis server v=2.8.4 sha=00000000:0 malloc=jemalloc-3.4.1 bits=64 build=a44a05d76f06a5d9
    

    @Codejet said:

    i've updated redis on windows to 2.8.9 if anyone needs help. dumb.rdb permissions needs a change of ownership but that's about it

    /user/search working correctly.

    NodeBB doco should include new version 😄
    https://github.com/MSOpenTech/redis/releases

    download and install the .msi
    run the redis-cli.exe in the install directory. > SHUTDOWN server
    place your old dump.rdb in the new directory
    right click dump.rdb click properties, change in security advanced settings, change files owner to NETWORK SERVICE

    start the server from an admin command prompt in programs directory..
    C:\Program Files\Redis>redis-server.exe redis.windows.conf <- not sure on this command, seems to need special windows treatment, will work stand-alone without arguments though

    should start, and work. have noticed that dump.rdb reverts owner back to Administrator but it it's still working so alls good.

    Does it need to be a later version of 2.8 to fix this?


  • Admin

    Try the redis PPA from chris-lea 👍

    add-apt-repository ppa:chris-lea/redis-server
    

  • GNU/Linux

    @julian good! Thanks!



  • Same here, cheers. Mine got upgraded to the next major release. Do I need to do anything else with nodebb?

    Redis server v=3.0.2 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9a95cedf214a3630""


  • Admin

    @terfex I don't think so... 2.8 just included a new command we take advantage of.


Log in to reply
 

Suggested Topics

| |