Hi, I got error when installing part 2. Already reboot and rerun ./install.sh, the error remains
`| _ | |/ /___ /___ // |( _ ) | __ ) _____ __
| |) | ' / | \ |_ | |/ _ \ | _ \ / _ \ / /
| _ <| . \ ) |) | | () | | |) | () > <
|| __|__//||___/ |__/ ___//_\
Welcome to Armbian 22.05.0-trunk Bullseye with Linux 5.15.35-rockchip64
No end-user support: built from trunk
System load: 19% Up time: 7 min
Memory usage: 6% of 1.93G IP: 192.168.1.9
CPU temp: 74°C Usage of /: 11% of 15G
[ 0 security updates available, 49 updates total: apt upgrade ]
Last check: 2023-01-07 16:52
[ Menu-driven system configuration (beta): sudo apt update && sudo apt install a rmbian-config ]
root@rk3318-box:# cd kvmd-armbian/
root@rk3318-box:/kvmd-armbian# ./install.sh
Running part 2 of PiKVM installer script for Raspbian by @srepac
-> Disabling nginx service, so that we can use kvmd-nginx instead
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable nginx
-> Creating symlinks for use with kvmd python scripts
ln: failed to create symbolic link '/usr/bin/iptables': File exists
-> Creating kvmd-webterm homedir
drwxr-xr-x 2 kvmd-webterm root 4096 Jan 7 16:00 /home/kvmd-webterm
rm: cannot remove '/etc/motd': No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/kvmd", line 6, in
from kvmd.apps.kvmd import main
File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/init.py", line 40, in
from ..plugins.hid import get_hid_class
File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/init.py", line 31, in
class BaseHid(BasePlugin):
File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/init.py", line 67, in BaseHid
def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Did kvmd -m run properly? [y/n]
`
device is HK1 Super RK3318 2GB RAM 16GB ROM running Armbian 22.05.0-trunk Bullseye with Linux 5.15.35-rockchip64
output of systemctl status kvmd-otg.service
`root@rk3318-box:~/kvmd-armbian# systemctl status kvmd-otg.service
● kvmd-otg.service - PiKVM - OTG setup
Loaded: loaded (/lib/systemd/system/kvmd-otg.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-01-07 16:56:48 WIB; 8min ago
Main PID: 2066 (code=exited, status=1/FAILURE)
CPU: 1.092s
Warning: journal has been rotated since unit was started, output may be incomplete.
`
output of journalctl -x
root@rk3318-box:~/kvmd-armbian# journalctl -x -- Journal begins at Sat 2023-01-07 16:29:29 WIB, ends at Sat 2023-01-07 17:06:28 WIB. -- Jan 07 16:29:29 rk3318-box systemd[1]: kvmd.service: Scheduled restart job, restart counter is at 154. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ Automatic restarting of the unit kvmd.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Jan 07 16:29:29 rk3318-box systemd[1]: Stopped PiKVM - The main daemon. ░░ Subject: A stop job for unit kvmd.service has finished ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A stop job for unit kvmd.service has finished. ░░ ░░ The job identifier is 10248 and the job result is done. Jan 07 16:29:29 rk3318-box systemd[1]: kvmd.service: Consumed 1.541s CPU time. ░░ Subject: Resources consumed by unit runtime ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit kvmd.service completed and consumed the indicated resources. Jan 07 16:29:29 rk3318-box systemd[1]: Started PiKVM - The main daemon. ░░ Subject: A start job for unit kvmd.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit kvmd.service has finished successfully. ░░ ░░ The job identifier is 10248. Jan 07 16:29:30 rk3318-box kvmd[2335]: Traceback (most recent call last): Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/bin/kvmd", line 6, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: from kvmd.apps.kvmd import main Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/__init__.py", line 40, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: from ..plugins.hid import get_hid_class Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 31, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: class BaseHid(BasePlugin): Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 67, in BaseHid Jan 07 16:29:30 rk3318-box kvmd[2335]: def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None: Jan 07 16:29:30 rk3318-box kvmd[2335]: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' Jan 07 16:29:30 rk3318-box systemd[1]: kvmd.service: Main process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd lines 1-43
Hi, I got error when installing part 2. Already reboot and rerun ./install.sh, the error remains
`| _ | |/ /___ /___ // |( _ ) | __ ) _____ __
| |) | ' / | \ |_ | |/ _ \ | _ \ / _ \ / /
| _ <| . \ ) |) | | () | | |) | () > <
|| __|__//||___/ |__/ ___//_\
Welcome to Armbian 22.05.0-trunk Bullseye with Linux 5.15.35-rockchip64
No end-user support: built from trunk
System load: 19% Up time: 7 min
Memory usage: 6% of 1.93G IP: 192.168.1.9
CPU temp: 74°C Usage of /: 11% of 15G
[ 0 security updates available, 49 updates total: apt upgrade ]
Last check: 2023-01-07 16:52
[ Menu-driven system configuration (beta): sudo apt update && sudo apt install a rmbian-config ]
root@rk3318-box:
# cd kvmd-armbian//kvmd-armbian# ./install.shroot@rk3318-box:
Running part 2 of PiKVM installer script for Raspbian by @srepac
-> Disabling nginx service, so that we can use kvmd-nginx instead
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable nginx
-> Creating symlinks for use with kvmd python scripts
ln: failed to create symbolic link '/usr/bin/iptables': File exists
-> Creating kvmd-webterm homedir
drwxr-xr-x 2 kvmd-webterm root 4096 Jan 7 16:00 /home/kvmd-webterm
rm: cannot remove '/etc/motd': No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/kvmd", line 6, in
from kvmd.apps.kvmd import main
File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/init.py", line 40, in
from ..plugins.hid import get_hid_class
File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/init.py", line 31, in
class BaseHid(BasePlugin):
File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/init.py", line 67, in BaseHid
def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Did kvmd -m run properly? [y/n]
`
device is HK1 Super RK3318 2GB RAM 16GB ROM running Armbian 22.05.0-trunk Bullseye with Linux 5.15.35-rockchip64
output of systemctl status kvmd-otg.service
`root@rk3318-box:~/kvmd-armbian# systemctl status kvmd-otg.service
● kvmd-otg.service - PiKVM - OTG setup
Loaded: loaded (/lib/systemd/system/kvmd-otg.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-01-07 16:56:48 WIB; 8min ago
Main PID: 2066 (code=exited, status=1/FAILURE)
CPU: 1.092s
Warning: journal has been rotated since unit was started, output may be incomplete.
`
output of journalctl -x
root@rk3318-box:~/kvmd-armbian# journalctl -x -- Journal begins at Sat 2023-01-07 16:29:29 WIB, ends at Sat 2023-01-07 17:06:28 WIB. -- Jan 07 16:29:29 rk3318-box systemd[1]: kvmd.service: Scheduled restart job, restart counter is at 154. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ Automatic restarting of the unit kvmd.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Jan 07 16:29:29 rk3318-box systemd[1]: Stopped PiKVM - The main daemon. ░░ Subject: A stop job for unit kvmd.service has finished ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A stop job for unit kvmd.service has finished. ░░ ░░ The job identifier is 10248 and the job result is done. Jan 07 16:29:29 rk3318-box systemd[1]: kvmd.service: Consumed 1.541s CPU time. ░░ Subject: Resources consumed by unit runtime ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit kvmd.service completed and consumed the indicated resources. Jan 07 16:29:29 rk3318-box systemd[1]: Started PiKVM - The main daemon. ░░ Subject: A start job for unit kvmd.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit kvmd.service has finished successfully. ░░ ░░ The job identifier is 10248. Jan 07 16:29:30 rk3318-box kvmd[2335]: Traceback (most recent call last): Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/bin/kvmd", line 6, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: from kvmd.apps.kvmd import main Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/__init__.py", line 40, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: from ..plugins.hid import get_hid_class Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 31, in <module> Jan 07 16:29:30 rk3318-box kvmd[2335]: class BaseHid(BasePlugin): Jan 07 16:29:30 rk3318-box kvmd[2335]: File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 67, in BaseHid Jan 07 16:29:30 rk3318-box kvmd[2335]: def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None: Jan 07 16:29:30 rk3318-box kvmd[2335]: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' Jan 07 16:29:30 rk3318-box systemd[1]: kvmd.service: Main process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd lines 1-43