Doing the first (updating tid:<tid>:posts to len(topic:<tid>)+1) already fixed the problems it seems, thanks!
tigger
Posts
-
Reindex after data loss? -
Embeds disabled in widgets?Thanks a lot! It works if it's a relative path, not if it's an absolute path with a domain name...
-
[nodebb-plugin-custom-pages] Custom Static pages for NodeBB1.4.0 at least appears to just work.
-
Reindex after data loss?Incredibly stupid user error, so I don't think this is actionable on your side.
Accidentally erased a part of the redis database while trying to find ways to speed it up. Found a webpage talking about memory optimization saying that you can set the order in which "cache keys are invalidated" by setting maxmemory-policy to allkeys-lru through the cli. So I did that, only after a quarter of the forum went away did I read the actual manual which didn't talk about invalidation of cache keys but deletion of database keys...
The backup we had was a few months old (as I wasn't planning to do anything to the database here), so I couldn't restore it, but I could calculate the diff of keys and import all the keys in the diff.
-
[nodebb-plugin-custom-pages] Custom Static pages for NodeBBI think I'm having issues related to this plugin after update to very latest 1.2.1. Node restart crashes with:
error: Error: ENOTEMPTY: directory not empty, rmdir '/root/nodebb/public/templates'
That directory contains .tpl files for static pages.