mekici luceos Last time I installed it with you, I updated twice and there was no problem. realtime RUNNING pid 3806075, uptime 0:00:19 The supervisor seems to be doing his job. I tried different ports (2053, 2083, 8443) but it didn't work
rob006 Extension have such alert: 2 discussions have updated activity and will be released in 9 seconds. Click to show now. Shouldn't it be something like "will be reloaded" instead of "released"?
huguadao Does realtime support neo chat? https://extiverse.com/extension/xelson/flarum-ext-chat Requires Pusher or kyrne/websocket kyrne/websocket I can't buy it anymore.
ernestdefoe I'm trying the best I know how to to get this extension installed and working but I'm having some major issues. I am using CloudFlare but for DNS only just wanted to throw that out there, Here is what the console says and I'm not sure how to fix it. Can someone please help me.
GreXXL ernestdefoe the websocket is either not running - or you can't establish a connection. The port you are using is quite unusual so it might be blocked by a firewall?
ernestdefoe I'm using Plesk and I'm not sure how to change ports or anything like that. According to the documentation for this extension the default port is 6001. If you could guide me like I am a 3 year old I would appreciate it. I try and most things I can get/understand but this is like Greek to me.
GreXXL ernestdefoe I have setup realtime in a plesk environment - was a bit of a pain but I managed to get it running on multiple sites. Disclaimer: You need to make sure the port you are using is allowed through you firewall settings. Modify your config.php file to include this block (I use 2083 as a port in this example): 'websocket' => [ 'server-port' => '2083', 'js-client-port' => '443', 'php-client-port' => '2083', 'php-client-host' => 'localhost', 'php-client-secure' => false, ] Add to your Nginx configuration the following (modify the ID and port to your configuration): location ^~ /app/ID { proxy_pass http://127.0.0.1:2083; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; } Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1 If you have done that it should work š
ernestdefoe GreXXL Add to your Nginx configuration the following (modify the ID and port to your configuration): How do you get the ID? Sorry Iām so dumb when it comes to this stuff but I truly appreciate the help
ernestdefoe GreXXL Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1 Ok got the task to run successfully finally. Still need help on figuring out the app id.
luceos ernestdefoe right I already implemented that š You would probably have to update the command here: GreXXL Add a scheduled task within your domains config to run the scheduler (I run it once daily just to make sure it's running). You will need to modify paths specific to your installation: cd /var/www/vhosts/YOURDOMAIN/httpdocs && /opt/plesk/php/8.1/bin/php flarum realtime:serve >> /dev/null 2>&1
GreXXL ernestdefoe if you manually start the websocket in debug mode you can see the app key (see first post): php flarum realtime:serve -vvv --debug
ernestdefoe GreXXL Is there any other way of getting that info cause when I try that command it says it's already running.
GreXXL ernestdefoe this is because you already started the task with the scheduler. You can kill the task started by the scheduler to run the debug command. After gathering the information you can re-run the scheduler task.
ernestdefoe GreXXL Well I figured out how to get the key by looking at the log file but it's still not working.
GreXXL ernestdefoe can you share more on your configuration? It's difficult to tell without further context.
GreXXL ernestdefoe screenshots showing the configuration you have chosen in the parts I mentioned above, your php flarum info output and any error message you get in the browser and logfiles. If you find this too complicated you can always choose the advanced plan of this extension to get professional installation help: https://extiverse.com/extension/blomstra/realtime?key=realtime-advanced-edition
ernestdefoe GreXXL I think I got it. Not getting anymore errors in the console for the past 5 minutes. It used to show up almost instantly. I used your info but had to change the port back to 6001 as that's what port it's running on according to the settings.php file for the extension but again no errors at all so far. Thank you so much for all your help and getting me pointed in the right direction.
ernestdefoe I'll work on all that later. I'm gonna wipe the server and reinstall Plesk as I was getting a ton of errors when using Composer and issues with the site loading after installing some extensions that I know work so I must have messed something up along the way. I really appreciate the help and I will get those screenshots and other info after I reinstall everything and try this one more time. As far as changing plans to get the professional help I can't afford that much and I'd rather waste the $20 I paid for this plan. No offense to the extension author I just don't have that kind of money to play with for a hobby website that only have one member at the moment.
ernestdefoe ernestdefoe So yeah I didn't get it fixed after all. Everytime I would try to make a post I would get the Oops an error occurred message. Really not sure what I am doing wrong. Thanks for the help. Guess I won't be using this extension.