rustdesk / rustdesk/rustdesk-server

Issue starting the server-pro containers for hbbs/hbbr

Open
#422 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
10.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to start the hbbs and the hbbr via container. Both containers are failing with the following error:

hbbs | thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.25.6/src/threads.rs:107:14:
hbbs | called Result::unwrap() on an Err value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }

The same error occurs for hbbr as well.

Describe the environment

  • Install environment: docker
  • If available, the docker-compose.yaml file:

services:
hbbs:
container_name: hbbs
image: rustdesk/rustdesk-server-pro:latest
#environment:
#RUST_BACKTRACE: full
#RUST_BACKTRACE: 1
command: hbbs
volumes:
- ./data:/root
network_mode: "host"

depends_on:
  - hbbr
restart: unless-stopped

hbbr:
container_name: hbbr
image: rustdesk/rustdesk-server-pro:latest
#environment:
#RUST_BACKTRACE: full
#RUST_BACKTRACE: 1
command: hbbr
volumes:
- ./data:/root
network_mode: "host"
restart: unless-stopped

  • In any case, you have to specify the version in use
    rustdesk-server-pro : latest (1.3.7 u. 1.3.6)
    ImageID: ccc00beaef31

How to Reproduce the bug
Steps to reproduce the behavior:

  1. Given the previously described environment
  2. docker-compose up
  3. I get the following error:
    hbbs | thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.25.6/src/threads.rs:107:14:
    hbbs | called Result::unwrap() on an Err value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }
    hbbs | note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
    hbbr | thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.25.6/src/threads.rs:107:14:
    hbbr | called Result::unwrap() on an Err value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }
    hbbr | note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Expected behavior
both container should start

Additional context
The same oss version container do work without any issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided docker-compose.yaml and reproduce docker-compose up using rustdesk/rustdesk-server-pro:latest for hbbs and hbbr. Inspect the startup failure at flexi_logger-0.25.6/src/threads.rs:107 and compare it with the working OSS container; done means both containers start successfully in the stated environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, rust
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.