Announcement

Collapse
No announcement yet.

Websocket.php daemon not starting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Websocket.php daemon not starting


    Please help!
    Websoket does not start as a daemon. I did as indicated in the instructions, my service file:

    [Unit]
    Description=EspoCRM WebSocket Service
    Requires=mysql.service
    After=mysql.service
    StartLimitIntervalSec=0

    [Service]
    Type=simple
    Restart=always
    RestartSec=5
    User=www-data
    ExecStart=/usr/bin/php /var/www/mysite/websocket.php
    StandardError=/var/www/mysite//data/logs/websocket.log

    [Install]
    WantedBy=default.target

    Server ubuntu 18.04
    php v 7.4
    all required extensions are installed

    systemctl status espocrm-websocket.service:
    (code=exited, status=255)/n/a


  • #2
    Hi,
    Please check whether you have installed php zmq extension https://docs.espocrm.com/administrat...p-requirements. ZMQ is needed for WebSocket.
    Also, check whether port 8080 is opened and free on your server. It is needed for WebSocket

    Comment

    Working...
    X