Unable to change Current Theme

Technical Support

Suggested Topics

  • 0 Votes
    6 Posts

    @goelakash498 It is not available in 1.14.x, it will be available in 1.15.0 once it is released. This forum is running the latest beta release.

  • 0 Votes
    1 Posts

    A while back I restored my database from a backup, and I have a feeling that backup may have been corrupt.

    when I try to visit the admin/manage/groups page, my nodebb instance crashes and reboots. I get the error Cannot read property 'indexOf' of undefined. After doing a little debugging I found that that the query for groups:createtime (line 152 in src/database/mongo/sorted.ja), is returning some objects that DONT have "groups:createtime" as their key ... these documents don't have the expected schema, which is what's throwing that undefined error.

    I've found, using the mongo console, when I use find('_key': 'groups:createtime') I only get the objects I expect, but find('_key': \groups:createtime\) returns the bad objects (note that the substring "groups:createtime" appears nowhere in _key string for those objects). More upsettingly, if I remove those bad objects by their ObjectId, they STILL return in that query ... despite the remove command returning without error, despite no longer being able to look the object up by it's ID.

    I'm not clear on whether this is a NodeBB issue at all, or entirely on the Mongo side, but in the meantime, I can't edit anything in regards to groups (including adding/removing members to existing groups), and attempts at upgrading my forum version fail at the database migration step.

  • 0 Votes
    2 Posts

    Is the plugin composer-default activated?

  • 9 Votes
    39 Posts

    Any chance of updating this awesome theme for 1.0.2 ?

  • 0 Votes
    9 Posts

    @CyanPrime not sure how that's fixed it as your route inside theme.less doesn't actually point to the vanilla template. For that file to point at vanilla, you'd be looking at ../../../nodebb-theme-vanilla, but if it works then, so be it. 😆