jneilliii / OctoPrint-YouTubeLive

43 stars 10 forks source link

('Connection aborted.', error(13, 'Permission denied')) #22

Closed REVIEWGAMINGMAN closed 6 years ago

REVIEWGAMINGMAN commented 6 years ago

('Connection aborted.', error(13, 'Permission denied'))

jneilliii commented 6 years ago

Did you follow the instructions posted here? At what point do you get this error?

REVIEWGAMINGMAN commented 6 years ago

yah

REVIEWGAMINGMAN commented 6 years ago

I have purged everything on docker

REVIEWGAMINGMAN commented 6 years ago

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.37/containers/prune: dial unix /var/run/docker.sock: connect: permission denied

REVIEWGAMINGMAN commented 6 years ago

https://www.youtube.com/watch?v=zWq0wAPEfsk

jneilliii commented 6 years ago

Are you using an OctoPi image, or custom build? If you're using an OctoPi image, my best guess at the error you are receiving is because of the step in the install docker section...this command...

sudo usermod pi -aG docker

And also restarting after. Sorry, I'm not a unix guru and cobbled together the instructions from various places on the internet.

REVIEWGAMINGMAN commented 6 years ago

OctoPi yah 1.5

REVIEWGAMINGMAN commented 6 years ago

container related

REVIEWGAMINGMAN commented 6 years ago

pi@octopi:~/youtubelive $ Error: No such container: YouTubeLive

REVIEWGAMINGMAN commented 6 years ago

root@octopi:~/youtubelive# docker build -t octoprint/youtubelive . Sending build context to Docker daemon 53.76kB Step 1/3 : FROM alexellis2/streaming:17-5-2017 ---> 63e724cc90ea Step 2/3 : COPY entry.sh entry.sh ---> 67c33824c572 Step 3/3 : RUN chmod +x entry.sh ---> Running in aaa1c77df964 Removing intermediate container aaa1c77df964 ---> fe69f8b40b6d Successfully built fe69f8b40b6d Successfully tagged octoprint/youtubelive:latest root@octopi:~/youtubelive# docker rm YouTubeLive Error: No such container: YouTubeLive root@octopi:~/youtubelive#

jneilliii commented 6 years ago

You missed the testing line in the instructions where you run the following command replacing localhost with your pi's ip address and xxxx-xxxx-xxxx-xxxx with your YouTube Live Stream ID.

docker run --privileged --name YouTubeLive -ti octoprint/youtubelive:latest http://localhost:8080/?action=stream xxxx-xxxx-xxxx-xxxx null

Once you run that command it should return a bunch off ffmpeg output to the terminal/console. Using your browser check to verify the stream is running from your YouTube Live Dashboard. Then you'll need to stop and remove the docker image by holding down the CTRL key on your keyboard followed by the letter C. Then type the following command.

docker rm YouTubeLive

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days.