• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

User search broken [0.7.0]

Scheduled Pinned Locked Moved Bug Reports
searchuser0.7.0bug
17 Posts 8 Posters 7.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HägarH Offline
    HägarH Offline
    Hägar
    wrote on last edited by Hägar
    #1

    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

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

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

    terfexT 1 Reply Last reply
    0
  • HägarH Offline
    HägarH Offline
    Hägar
    wrote on last edited by
    #3

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

    pichaliteP A 2 Replies Last reply
    0
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to Hägar on last edited by
    #4

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

    HägarH 1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    replied to Hägar on last edited by
    #5

    @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.

    1 Reply Last reply
    0
  • HägarH Offline
    HägarH Offline
    Hägar
    replied to pichalite on last edited by Hägar
    #6

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

    1 Reply Last reply
    0
  • nhl.plN Offline
    nhl.plN Offline
    nhl.pl
    wrote on last edited by
    #7

    In such scenario you can use Redis Cloud.

    1 Reply Last reply
    0
  • HägarH Offline
    HägarH Offline
    Hägar
    wrote on last edited by Hägar
    #8

    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)

    1 Reply Last reply
    0
  • nhl.plN Offline
    nhl.plN Offline
    nhl.pl
    wrote on last edited by
    #9

    You can still try to use MongoDB or LevelDB.

    HägarH 1 Reply Last reply
    0
  • HägarH Offline
    HägarH Offline
    Hägar
    replied to nhl.pl on last edited by Hägar
    #10

    @nhl.pl said:

    You can still try to use MongoDB or LevelDB.

    Yes. I'll give it a try.

    HägarH 1 Reply Last reply
    0
  • HägarH Offline
    HägarH Offline
    Hägar
    replied to Hägar on last edited by Hägar
    #11

    nodebb mongo setup breaks. 😟

    npm WARN installMany nopt was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany npmlog was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany request was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany semver was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany tar was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany tar-pack was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany mkdirp was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany rc was bundled with [email protected], but bundled package wasn't found in unpacked tree
    npm WARN installMany rimraf was bundled with n[email protected], but bundled package wasn't found in unpacked tree
    
    > [email protected] 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'
    [email protected] node_modules/connect-mongo
    ├── [email protected]
    ├── [email protected] ([email protected])
    └── [email protected]
    
    [email protected] node_modules/mongodb
    ├── [email protected] ([email protected], [email protected], string_d[email protected], [email protected])
    └── [email protected] ([email protected], [email protected])
    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?

    1 Reply Last reply
    0
  • codejetC Offline
    codejetC Offline
    codejet GNU/Linux
    wrote on last edited by codejet
    #12

    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.

    1 Reply Last reply
    0
  • terfexT Offline
    terfexT Offline
    terfex
    replied to julian on last edited by terfex
    #13

    @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?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #14

    Try the redis PPA from chris-lea 👍

    add-apt-repository ppa:chris-lea/redis-server
    
    KalbaskinK 1 Reply Last reply
    1
  • KalbaskinK Offline
    KalbaskinK Offline
    Kalbaskin GNU/Linux
    replied to julian on last edited by
    #15

    @julian good! Thanks!

    1 Reply Last reply
    0
  • terfexT Offline
    terfexT Offline
    terfex
    wrote on last edited by terfex
    #16

    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""

    julianJ 1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to terfex on last edited by
    #17

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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development