Some parts of UI missing while running Dietpi-Dashboard on RockyLinux8.6 (on Raspberry Pi4)

I managed to compile and run DietPi-Dashboard on RockyLinux8.6 running on Raspberry Pi4. Looks awesome! While I do see output when clicking on ‘Statistics’ and ‘Processes’, but when clicking on any of ‘Services, Software, Terminal, Management, File Browser’ I get error messages (on the terminal where in run ./dietpi-dashboard command manully).

Wondering if there’s a workaround ? or may be I missed any steps ?

My system details:

[root@storage-pi ~]# uname -a
Linux storage-pi 5.15.34-v8.1.el8 #1 SMP PREEMPT Wed May 11 00:21:10 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@storage-pi ~]#
[root@storage-pi ~]# cat /etc/*release
Rocky Linux release 8.6 (Green Obsidian)
NAME=“Rocky Linux”
VERSION=“8.6 (Green Obsidian)”
ID=“rocky”
ID_LIKE=“rhel centos fedora”
VERSION_ID=“8.6”
PLATFORM_ID=“platform:el8”
PRETTY_NAME=“Rocky Linux 8.6 (Green Obsidian)”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:rocky:rocky:8:GA”
HOME_URL=“https://rockylinux.org/
BUG_REPORT_URL=“https://bugs.rockylinux.org/
ROCKY_SUPPORT_PRODUCT=“Rocky Linux”
ROCKY_SUPPORT_PRODUCT_VERSION=“8”
REDHAT_SUPPORT_PRODUCT=“Rocky Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“8”
Rocky Linux release 8.6 (Green Obsidian)
Rocky Linux release 8.6 (Green Obsidian)
Rocky Linux release 8.6 (Green Obsidian)

Steps I followed to compile:

dnf module install nodejs:16

npm install -g yarn

npm install -g npm@8.16.0

curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh

git clone \https://github.com/ravenclaw900/DietPi-Dashboard

cd DietPi-Dashboard

cargo build --release

./target/release/dietpi-dashboard

\http://my-ip–address:5252

Here are my references:

\https://github.com/ravenclaw900/DietPi-Dashboard#compiling

\https://nodejs.org/en/download/package-manager/#centos-fedora-and-red-hat-enterprise-linux

The dashboard uses DietPi scripts for parts of its content and allows to manage dietpi-software installs, so generally it doesn’t support any other distro :wink:.

There is webmin and then there is Cockpit. But Dietpi-Dashboard seems somewhere in between in terms of features (just my personal opinion and don’t claim to be right :slight_smile: ) Wondering if it’s worth going the rabbit hole of trying to compile dietpi-software on RockyLinux ? Is that even possible ? I do know it’s all Debian based but was wondering if there’s any attempt made to take it to other distros ? Thank you.

It can be compiled on any other Linux, but it will not serve you well there: It is meant to manage a DietPi system (with its scripts expected) explicitly, hence the name, not meant as a general Linux dashboard. Where you compile it doesn’t have an effect on this.

Thank you for sharing!

Just out of curiosity, and if you don’t mind, what errors do you get when trying the file browser or terminal? Those should be working on non-DietPi systems.

Sorry for the delay in replying. I dont have the setup right now. But I did uploded the error message image on this initial post.