Skip to content

socketio no working #93

Description

@pvanthony

Did a clean install on ubuntu 24 minimal.

The installation went well but it did state that some services did not start correctly.

Erpnext 16 first then tried erpnext 15 but getting the same issue.

Did "supervisorctl status" got the following.

frappe-bench$ supervisorctl status
/usr/lib/python3/dist-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
frappe-bench-redis:frappe-bench-redis-cache               RUNNING   pid 2419, uptime 0:13:10
frappe-bench-redis:frappe-bench-redis-queue               RUNNING   pid 2420, uptime 0:13:10
frappe-bench-web:frappe-bench-frappe-web                  RUNNING   pid 2421, uptime 0:13:10
frappe-bench-web:frappe-bench-node-socketio               FATAL     Exited too quickly (process log may have details)
frappe-bench-workers:frappe-bench-frappe-long-worker-0    RUNNING   pid 2425, uptime 0:13:10
frappe-bench-workers:frappe-bench-frappe-schedule         RUNNING   pid 2423, uptime 0:13:10
frappe-bench-workers:frappe-bench-frappe-short-worker-0   RUNNING   pid 2424, uptime 0:13:10

Did some search in google to fix it but cannot find a solution.

Here is the error from the socket logs

Error: Cannot start socketio: node not found and the python backend is unavailable. Install node or a frappe version with frappe.realtime.server.
Error: Cannot start socketio: node not found and the python backend is unavailable. Install node or a frappe version with frappe.realtime.server.
Error: Cannot start socketio: node not found and the python backend is unavailable. Install node or a frappe version with frappe.realtime.server.

When I run the following, it seems to be working.

~/frappe-bench$ bench socketio
Realtime service listening on: ws://0.0.0.0:9000

What am I missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions