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

Help installing #485

Closed jagr200 closed 4 years ago

jagr200 commented 4 years ago

I can not for the life of me get this installed.

I have installed Octoprint from the Octoprint image using this link. https://www.youtube.com/watch?v=mnN4HVmjafs&t=246s

I updated drivers to get my screen functioning.

I installed Octodash by ssh into my Pi and running "wget -qO- https://github.com/UnchartedBull/OctoDash/raw/master/scripts/install.sh | bash -s -- --ptg"

When I run that it gives me a bunch of warning about Python being out of support and to update. Then it starts the install. Everything seems to go well and it says it will be started on next boot. I run "sudo reboot now" and it reboots. Comes back up but Octodash never starts.

Any ideas?

UnchartedBull commented 4 years ago

https://github.com/UnchartedBull/OctoDash/wiki/Installation#autologin did you do these steps?

gmarth commented 4 years ago

I too run into some trouble. For me xorg was missing. After installing it that was fixed. But i got some bugs afterwards so i reinstalled. First Octopi (Needs to update first, the current image isnt up to date), then xorg from the manual install and lastly i installed with automatic. Now its running just fine.

PrintableProps commented 4 years ago

then xorg from manual install <

How do you install xorg manually? I have the same issue... -bash xinit: command not found

gmarth commented 4 years ago

then xorg from manual install <

How do you install xorg manually? I have the same issue... -bash xinit: command not found

From the manual installation part of the Wiki:

sudo apt install xserver-xorg ratpoison x11-xserver-utils xinit libgtk-3-0
nano ~/.xinitrc

Add the following contents:

#!/bin/sh

    xset s off
    xset s noblank
    xset -dpms

    ratpoison&
    octodash

make the file executable sudo chmod +x .xinitrc

Not sure if it's necessary to create and edit the xinit file. I did it anyway. Hope this helps.

UnchartedBull commented 4 years ago

Editing the .xinitrc file is necessary, since OctoDash wouldn't start otherwise (last two lines). I added xorg to the dependencies in the script, so this should be hopefully fixed from now on. Thanks again!