recomended :
su -
wget https://raw.githubusercontent.com/melROLL/OctoMeow/main/octoprint_install.sh
chmod +x octoprint_install.sh
./octoprint_install.sh
or if it doesn't work
git clone https://github.com/melROLL/OctoMeow.git
cd OctoMeow
sudo chmod +x octoprint_install.sh
sudo ./octoprint_install.sh
Script enter password for octoprint system user and pray for tit to work.
Open octoprint on you browser with http://<SERVER_IP>:5000 after script finish work
sudo systemctl restart octoprint.service
systemctl restart webcam.service
journalctl --no-pager -b -u octoprint
journalctl --no-pager -b -u octoprint