Closed wni-matthewcurran closed 1 year ago
The installer script has a two flaws where the installtion might get stuck at the 'Checking if public key is generated...' point.
The install script asks for an unpreviledged user and simply asumes that also a gropu with the same name would exist. -> suggestion for improvement: install script should check also for existance of group
Without an existing group with the same name as the user the 'chown' for the $RUSTDESK_INSTALL_DIR will fail. -> suggestion for improvement: install script could check for correct access rights on $RUSTDESK_INSTALL_DIR
Without access rights to the $RUSTDESK_INSTALL_DIR the rustdesk-hhbs.service will fail to start ('Error: error returned from database: (code: 14) unable to open database file') -> suggestion for improvement: install script should not only check for hbbr service being active but also for hbbs service before proceeding
manual fix:
sudo useradd -r -U -c "Rustdesk service user" -d /nonexistent -s /bin/false rustdeskusr
Bug Description
I installed RustDesk Server (OSS Version on Rocky Linux 9), all ports were opened using
firewalld
I got that going without much issue. I tested connecting to clients with the correct network configuration, I didn't have an issue. I then bought RustDesk Pro, so I attempted to convert from RustDesk Server to RustDesk Server Pro using the below reproduction steps and kept getting stuck on some variant of 'Checking if public key is generated...'. My understanding is that oncerustdesk-hbbs.service
runs it should auto-generate a public key and I managed to connect to clients on the OSS version so I'm really not sure what's causing this. Can someone please help? How do I get RustDesk Server Pro running?I did attempt to uninstall RustDesk entirely to start from scratch, I'm unsure I did that right. A log of my terminal history are attached, some parts are cut out for my own privacy but I have kept it in chronological order.
I'm happy to provide further info if needed.
rustdesk-terminal-history.txt
How to Reproduce
bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)
bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)
Expected Behavior
RustDesk Server OSS converts to RustDesk Server Pro, it doesn't get stuck on
Checking if public key is generated...
Operating system(s) on local side and remote side
Rocky Linux 9
RustDesk Version(s) on local side and remote side
1.2.3
Screenshots
Additional Context
No response