Skip to content

Backend does not seem to start on a ubuntu headless server #548

@KittySoldier

Description

@KittySoldier

i have a server running a headless version of ubuntu 24.04.
i installed TTS webui onto it using the start_tts_webui.sh and chose nvidia for the 3090 that the server has.
the frontend starts just fine and is reachable from any computer connected to the network, but trying to run any model at all yields the same error:

Submit function encountered an error: Error: There is no endpoint matching that name of fn_index matching that number.
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:23855
    at Client.submit (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:23986)
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:15704
    at new Promise (<anonymous>)
    at Client.predict (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:15662)
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/pages/api/gradio/[name].js:1:1860
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async handler (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/pages/api/gradio/[name].js:1:1565)
Error: There is no endpoint matching that name of fn_index matching that number.
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:23855
    at Client.submit (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:23986)
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:15704
    at new Promise (<anonymous>)
    at Client.predict (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/chunks/6327.js:1:15662)
    at /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/pages/api/gradio/[name].js:1:1860
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async handler (/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/react-ui/.next/server/pages/api/gradio/[name].js:1:1565)

i suspect that it is because the backend fails to load. Here is the output of the start script:

/usr/bin/curl
/usr/bin/tar
/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/installer_files/env/bin/bzip2
Checking if the Micromamba/Conda environment is already installed
Micromamba/Conda environment already installed in /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/installer_files/env, skipping installation
/usr/bin/gcc
Unified server started on port 7771
Web console and log viewer available at http://localhost:7771


Starting init app (version: 0.1.0)...


Checking conda installation...
>[async] conda --version
Failed to open browser: Command failed: xdg-open http://localhost:7771
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'http://localhost:7771'

conda 25.5.1

>[async] conda info --envs
>[async] node --version
>[async] python --version
>[async] pip --version
Pulling updates from tts-webui
>[async] git pull
Python 3.10.11
v22.9.0
pip 25.1.1 from /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/installer_files/env/lib/python3.10/site-packages/pip (python 3.10)
/home/lucy/ai/tts/tts-webui/TTS-WebUI-main/installer_files/env/lib/python3.10/site-packages/conda/base/context.py:211: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.9.

To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:

  conda config --add channels defaults

For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html

  deprecated.topic(

# conda environments:
#
base                 * /home/lucy/ai/tts/tts-webui/TTS-WebUI-main/installer_files/env
                       /home/lucy/miniconda
                       /home/lucy/miniconda/envs/xtts

Already up to date.
Current git version: ec286fe2881aefaf164367d2f6669af25e4cd921

No updates found, skipping...
>[async] pip show torch torchvision torchaudio


Finished init app.

2025-07-21 18:49:46.926 UTC [83933] LOG:  starting PostgreSQL 16.4 on x86_64-conda-linux-gnu, compiled by x86_64-conda-linux-gnu-cc (conda-forge gcc 13.3.0-1) 13.3.0, 64-bit
2025-07-21 18:49:46.926 UTC [83933] LOG:  listening on IPv4 address "127.0.0.1", port 7773
2025-07-21 18:49:46.928 UTC [83933] LOG:  listening on Unix socket "/tmp/.s.PGSQL.7773"
2025-07-21 18:49:46.932 UTC [83942] LOG:  database system was shut down at 2025-07-21 18:48:26 UTC
2025-07-21 18:49:46.935 UTC [83933] LOG:  database system is ready to accept connections

> [email protected] start
> next start

  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000

I am likely doing something wrong, but looking through the docker and manual install instructions, i could find very little that explains my issue ^^*

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