Skip to content

Service 'webrtc-sfu' failed to build #226

@mricim

Description

@mricim

I just installed Ubuntu 20.04. I have followed all the steps to install docker and docker-compose, just as I had done on other occasions.

ERROR: Service 'webrtc-sfu' failed to build: The command '/bin/sh -c cd /app && cp config/default.example.yml config/production.yml && rm .git && npm install --unsafe-perm && npm cache clear --force && rm -rf node_modules/mediasoup/worker/out/Release/subprojects && rm -rf node_modules/mediasoup/worker/out/Release/mediasoup-worker.p && rm -rf node_modules/mediasoup/worker/out/Release/deps' returned a non-zero code: 1

Here is the full log:

# docker-compose up -d WARNING: Some services (jodconverter) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm. Creating volume "bbb-docker_ssl_data" with default driver Building webrtc-sfu Step 1/14 : ARG BBB_BUILD_TAG Step 2/14 : FROM gitlab.senfcall.de:5050/senfcall-public/docker-bbb-build:$BBB_BUILD_TAG AS builder ---> c2b0e346a9aa Step 3/14 : RUN useradd --uid 2004 --user-group webrtc-sfu ---> Using cache ---> 5c0605945414 Step 4/14 : ADD ./bbb-webrtc-sfu /app ---> Using cache ---> b5d23a7ef79b Step 5/14 : ENV NODE_ENV production ---> Using cache ---> f4977c216120 Step 6/14 : RUN cd /app && cp config/default.example.yml config/production.yml && rm .git && npm install --unsafe-perm && npm cache clear --force && rm -rf node_modules/mediasoup/worker/out/Release/subprojects && rm -rf node_modules/mediasoup/worker/out/Release/mediasoup-worker.p && rm -rf node_modules/mediasoup/worker/out/Release/deps ---> Running in 9d526a646fcb npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm notice npm notice New minor version of npm available! 8.5.0 -> 8.14.0 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.14.0> npm notice Run `npm install -g npm@8.14.0` to update! npm notice npm ERR! code 1 npm ERR! path /app/node_modules/mediasoup npm ERR! command failed 

It keeps throwing errors for a long time...

npm ERR! WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv npm ERR! Directory does not contain a valid build tree: npm ERR! /app/node_modules/mediasoup/worker/out/Release/build npm ERR! make: *** [Makefile:168: mediasoup-worker] Error 1 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-07-15T15_49_59_658Z-debug-0.log ERROR: Service 'webrtc-sfu' failed to build: The command '/bin/sh -c cd /app && cp config/default.example.yml config/production.yml && rm .git && npm install --unsafe-perm && npm cache clear --force && rm -rf node_modules/mediasoup/worker/out/Release/subprojects && rm -rf node_modules/mediasoup/worker/out/Release/mediasoup-worker.p && rm -rf node_modules/mediasoup/worker/out/Release/deps' returned a non-zero code: 1 

I'm sorry I can't provide you with more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions