ernestdefoe m4v3rick I’m glad it seems to be working correctly for you. I had a time trying to get Redis and Realtime running correctly on my VPS but after a ton of trail and error and wiping the VPS and starting over again multiple times I finally got it working. I had one issue where when installing extensions after having so many installed it would “crash” my site come to find out I didn’t have enough memory allocated to PHP so I bumped that up and no more issues.
m4v3rick ernestdefoe I’m glad it seems to be working correctly for you. Thanks but it is just test environment yet and only redis queue. luceos Go into your admin area settings for realtime, underneath "Interval to automatically push new discussion activity" set it to 30. You can also disable that completely and push all updates to the client immediately by disabling the toggle above that input field. Or are you using pusher? I just installed redis yet. No pusher no realtime. There is no admin panel for redis?!
ernestdefoe luceos this is true. I bet I could set both of them up now with my eyes closed as I’ve had to type it all out so much. Now just to get some activity and members on my site just to make sure everything works correctly. Now if I could just figure out how to get Elasticsearch set up. That thing has given me more of a headache than anything.
luceos m4v3rick I misread your post I think. So all tasks in the queue are delayed by 60 seconds? How did you set up the queue worker command, using a cronjob or as a daemon?
m4v3rick luceos With Supervisor. Edit: I found the error. My conf file didn't save but there was no error. Now it is just a few seconds. And seems to work fine. But ernestdefoe command=/usr/bin/php flarum queue:work directory=/var/www/path to flarum That helped a lot. Thanks @ernestdefoe . Just found out that this m4v3rick command=/var/www/flarum php flarum queue:work doesn't work at all.
ernestdefoe @m4v3rick I was just using what I saw in other config files. Not sure why anything is in there I'm an idiot when it comes to this stuff but and I am doing my best to figure it out.
m4v3rick ernestdefoe I am doing my best to figure it out. If it works, then you are doing everything right. 🙂 I just installed the redis queue on production. Let's see how that goes. Still want to seperate a discussion into several parts to speed up the loading time but don't know how.
GreXXL ZEROPOINTBRUH can you please follow out troubleshooting guide. We will need you php flarum info output and the error within the logfile located in storage/logs.
luceos forever 0.0.0.0 should allow access from any host that has access to the redis host. If connections still fail then either the host that runs Flarum is not on the same host as redis, or the host that runs Flarum has no access to the host that runs redis.