Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get this thing working #134

Open
fidoboy opened this issue Nov 12, 2023 · 1 comment
Open

Can't get this thing working #134

fidoboy opened this issue Nov 12, 2023 · 1 comment
Assignees

Comments

@fidoboy
Copy link

fidoboy commented Nov 12, 2023

I've installed it trough composer, no problems at all. Then I've opened the plugin settings page in Wordpress and defined the server IP and the port. No problems. Using the command line with WP-CLI i've then created the index "posts". No problem. I've verified it with redis-cli doing a "FT.INFO posts" and the index is there. Then when trying to index all posts in database I get some timeout errors but I've used the command "wp redipress index posts missing" to continue the process. It ended but when I go to redis-cli and executed again "FT.INFO posts" says that there is no index. It has being deleted.

Can anyone help here?

@HPiirainen
Copy link
Contributor

@fidoboy - thanks for reaching out and sorry for the delay!

I'm not sure if you have been using WP CLI for all the commands, but the admin page is not working correctly right now. So I would advise you to use the CLI commands for everything related to RediPress, and also you could try defining the config variables as constants (f. ex. in wp-config.php depending on your setup).

Example:

define( 'REDIPRESS_HOSTNAME', '<your-hostname>' );
define( 'REDIPRESS_PORT', '<your-port>' );
define( 'REDIPRESS_PASSWORD', null );
define( 'REDIPRESS_POSTS_INDEX', '<index-name>' );
define( 'REDIPRESS_PERSIST_INDEX', 1 );

and then creating your index via CLI commands:

wp redipress create posts
wp redipress index posts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants