UnchartedBull / OctoDash

OctoDash is a simple, but beautiful dashboard for OctoPrint.
https://unchartedbull.github.io/OctoDash/index.html
Apache License 2.0
1.02k stars 225 forks source link

OctoDash not installing Properly #3486

Open berb6 opened 1 year ago

berb6 commented 1 year ago

Hello,

I have octopi set up, latest stable version 1.0.0. Set this up on Friday 2/24/2023.

I have been trying to set up my octodash on my RSp 3B using a 5" Elecrow touch screen GPIO TFT screen.

I have tried about 15-20 youtube variations to get octodash to actually appear.

I can not install octodash on the pi via SSH but I was able to add the plug in on the .local web interface.

Used the following code form this website: bash <(wget -qO-https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh) (https://unchartedbull.github.io/OctoDash/index.html)

Tried (https://unchartedbull.github.io/OctoDash/index.html)

Tried (https://github.com/Z-Bolt/OctoScreen/wiki/Installing-OctoScreen-with-a-3.5%22-480x320-TFT-screen)

Octopdash install is giving me so much trouble. I can't even link all the youtube videos and websites it prompted me to on how they installed. I finally landed on this page and seemed legit but I just can't get it to work. (https://unchartedbull.github.io/OctoDash/index.html)

I also tried the manual way (https://github.com/UnchartedBull/OctoDash/wiki/Installation#manual-installation) and get this error

Screen Shot 2023-02-27 at 6 37 30 PM
berb6 commented 1 year ago

I found this link that details basically the same issue I am having. I checked my Xterm-color both in SSH and out out of. Both are xterm-256color (https://github.com/UnchartedBull/OctoDash/issues/1335)

berb6 commented 1 year ago

So should this show octodash?

Screen Shot 2023-02-27 at 8 35 45 PM
jneilliii commented 1 year ago

I suspect this issue is related to the latest underlying OS the new OctoPi 1.0.0 has, which is Raspbian OS (Bullseye). The previous OctoPi image used the older Buster version of Raspberry Pi OS.

berb6 commented 1 year ago

@jneilliii Is there a way around this? It did take quite some time to set up 1.0.0 .. about 2 days of various methods before it worked.

jneilliii commented 1 year ago

2531 would be where to watch.

berb6 commented 1 year ago

@jneilliii thank you .. still at a loss even after following #2531

jneilliii commented 1 year ago

The way I understand it, after the install you need to edit the file .xinitrc and make it look like this, the important bit being --no-sandbox

nano ~/.xinitrc

#!/bin/sh

xset s off
xset s noblank
xset -dpms

ratpoison&
octodash --no-sandbox
berb6 commented 1 year ago

After I install sudo /home/pi/scripts/install-desktop?

Change nano ~/.xinitrc?

Then what after editing the file?

jneilliii commented 1 year ago

no, after you run the OctoDash install script. after editing the file with that command you then press ctrl+x to exit, answer y to save and enter to keep same filename and then sudo reboot.

berb6 commented 1 year ago

Heres the issue, the install scrip does not work for me wget (https://github.com/UnchartedBull/OctoDash/raw/main/scripts/install.sh)

jneilliii commented 1 year ago

ah, the error you get with manual install is definitely OS related, gir1.2-gnomekeyring-1.0 is not installable doing a quick search.

berb6 commented 1 year ago

I guess I'm not sure how to fix this so I can run OctoDash.

Sould I copy the installer code and change to --no-sandbox then run it again?

jneilliii commented 1 year ago

I was planning on upgrading one of my instances this weekend to do some testing. Just off the top of my head I would try to do the manual install but remove that one package from the apt install command.

sudo apt install libgtk-3-0 libnotify4 libnss3 libxss1 libxtst6 xdg-utils libatspi2.0-0 libuuid1 libappindicator3-1 libsecret-1-0

then proceed with the remaining steps of the manual install, but include that bit when creating the .xinitrc file.

berb6 commented 1 year ago

I copied the source code, edited it in BABY edits and pasted into terminal. I received this error

Screen Shot 2023-02-27 at 9 37 25 PM
berb6 commented 1 year ago

Tried the instance you mentioned and another error

Screen Shot 2023-02-27 at 9 41 38 PM