NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 2 3 4 5 … 9 Next »
What am I doing wrong

 
  • 0 Vote(s) - 0 Average
What am I doing wrong
bobmcbobson
Offline

Junior Member

UK
Posts: 3
Threads: 1
Joined: May 2024
#1
2024-05-20, 07:14 PM
Hi all,

Trying to deploy NextPVR on my docker machine, and getting the following, I've checked syntax and can't see any issues, any clues?

bob@docker:~$ docker run -d \
    --name nextpvr \
    --volume /opt/appdata/nextpvr/config:/config \
    --volume /opt/appdata/nextpvr/videos:/recordings \
    --volume /opt/appdata/nextpvr/videos:/buffer \
    --restart unless-stopped \
    --publish 16891:16891/udp \
    --publish 8866:8866 \
    nextpvr/nextpvr_amd64Confusedtable
docker: invalid reference format.
See 'docker run --help'.
--volume: command not found

My user is in the docker group, I have many other containers installed and working fine, just this one refusing to work.

bob@docker:~$ id
uid=1000(bob) gid=1000(bob) groups=1000(bob),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),122(libvirt),999(docker)

Many thanks for any input.

Bob.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#2
2024-05-20, 07:59 PM
Are you typing that, pasting it or running a .sh script?

Martin
bobmcbobson
Offline

Junior Member

UK
Posts: 3
Threads: 1
Joined: May 2024
#3
2024-05-20, 08:16 PM (This post was last modified: 2024-05-20, 08:20 PM by bobmcbobson.)
(2024-05-20, 07:59 PM)mvallevand Wrote: Are you typing that, pasting it or running a .sh script?

Martin

Hi Martin,

Thanks for getting back to me, I copied the syntax from here: https://forums.nextpvr.com/showthread.php?tid=59393 in to Notepad++ and made the necessary changes, then pasted in to the terminal, this is how I deploy all my containers and keep a running text file with all the working deployments (for future use).

If it helps:
bob@docker:~$ docker -v && lsb_release -a
Docker version 26.1.2, build 211e74b
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy

Many thanks,

Bob.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#4
2024-05-20, 08:20 PM (This post was last modified: 2024-05-20, 08:21 PM by mvallevand.)
I was thinking maybe there was a Windows carriage return line feed in there. I am assuming the pull was successful.

Martin
bobmcbobson
Offline

Junior Member

UK
Posts: 3
Threads: 1
Joined: May 2024
#5
2024-05-20, 08:40 PM
(2024-05-20, 08:20 PM)mvallevand Wrote: I was thinking maybe there was a Windows carriage return line feed in there.  I am assuming the pull was successful.

Martin

Found the issue!

The copy/paste from https://forums.nextpvr.com/showthread.php?tid=59393 adds a load of spaces to the end of the line   --volume /home/pi/config:/config \

Your comment above prompted me to turn on symbols in NP++, and noticed it as below:

[Image: nextpvr.png]

Thank you for your input, prompted me to check the one thing I hadn't checked Smile

All the best,

Bob.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#6
2024-05-20, 08:49 PM
Great sub should clean that up to avoid problems, the wiki is ok, but you shouldn't be sending Windows CRLF to Linux so tell NPP that it is a Linux file.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode