Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[support] gfjardim's Docker Repository

Featured Replies

On 1/27/2020 at 8:56 PM, mathgeek97 said:

CUPS Server Success

I ended up mapping to

  • /mnt/user/appdata/cups/config/
  • /mnt/user/appdata/cups/logs/

for 

  • /etc/cups
  • /var/log/cups

The settings I used, which were not mentioned on the docker hub page were

  • click "Advanced," then set WebUI to http://<IP-ADDRESS-OF-UNRAID-SERVER>:631
  • Network Type: Host
Quote

Network Type: Host

- I tried both Host and Bridge, and they both worked for me.

Quote

/mnt/user/appdata/cups/config/ to /etc/cups

- causes the container to succeed in creation, but fails to start (and no logs)

Quote

/mnt/user/appdata/cups/logs/ to /var/log/cups

- worked perfectly

Quote

click "Advanced," then set WebUI to http://<IP-ADDRESS-OF-UNRAID-SERVER>:631

-  I copied a different container and put `http://[IP]:[PORT:631]/`, which works!

 

 

I have an HP printer connected by USB (with Parallel Port to USB cable) that I cannot get CUPS to see. Some basic info:

 

root@Tower:~# lsusb

Bus 002 Device 003: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 

 

root@Tower:~# ls -l /dev/bus/usb/006/
total 0
crw-rw-r-- 1 root root 189, 640 Feb 18 23:43 001
crw-rw-r-- 1 root lp   189, 642 Feb 19 00:50 003

 

Any advice is welcome.

 

 

Edited by Bob1215
formatting

  • Replies 342
  • Views 117.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Updated DropBox and ownCloud, both with invaluable contribution of HurricaneHernandez!    

  • For those having issues getting Cloud Print to work in the CUPS docker... Here's how I got it all going: Add your printer in the WebUI ssh into your unRAID box run the following co

  • so after finding, sharing etc the USB printer (in CUPS), i can no longer find it on my windows 7 computer connected to the same router as the unraid NAS!   this is getting frustrating as it was w

Posted Images

On 2/19/2020 at 2:04 AM, Bob1215 said:

- I tried both Host and Bridge, and they both worked for me.

- causes the container to succeed in creation, but fails to start (and no logs)

- worked perfectly

-  I copied a different container and put `http://[IP]:[PORT:631]/`, which works!

 

 

I have an HP printer connected by USB (with Parallel Port to USB cable) that I cannot get CUPS to see. Some basic info:

 


root@Tower:~# lsusb

Bus 002 Device 003: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 

 


root@Tower:~# ls -l /dev/bus/usb/006/
total 0
crw-rw-r-- 1 root root 189, 640 Feb 18 23:43 001
crw-rw-r-- 1 root lp   189, 642 Feb 19 00:50 003

 

Any advice is welcome.

 

 

See how the printer shows up in Unraid. Try, in a console window,

dmesg | grep tty

and see what you get (I'll pretend it was ttyUSB0)

Then in advanced view, add
--device=/dev/bus/usb/006/003:/dev/ttyUSB0

 

You could also see if anything here works: https://wiki.ubuntu.com/DebuggingPrintingProblems

Hi, I have been trying to setup olbat cups as some others here have suggested and can get it working but cannot work out how to make my setup persist a reboot! I've tried mapping /etc/cups to appdata/cups/config but this causes the container to fail to start, my limited knowledge of docker says that appdata is overwriting the container when I want it the other way round yes? Also need the HP plugin to persist as my Laserjet CP1025 color needs the propriatry plugin! If I run hp-plugin in the container console and accept the license then it works until reboot!

My docker run command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='cupsd' --net='host' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -e 'TCP_PORT_631'='631' -v '/var/run/dbus/':'/var/run/dbus/':'rw' -v '/dev/':'/dev/':'rw' -v '/mnt/user/appdata/cupsd/logs':'/var/log/':'rw' 'olbat/cupsd' 

Hopefully someone with better docker knowledge can see where I'm going wrong?

Cheers,

Tim

I think that I'm going to remove CUPS from CA.  It's one of those abandoned applications.  While it does somewhat work, it's not particularly populated with printer drivers that are more commonly used today, and there are many more choices for CUPS available @ dockerHub that are kept more up to date and have a better selection of drivers within them.

  • 4 months later...
On 2/28/2020 at 5:16 PM, dockerPolice said:

I think that I'm going to remove CUPS from CA.  It's one of those abandoned applications.  While it does somewhat work, it's not particularly populated with printer drivers that are more commonly used today, and there are many more choices for CUPS available @ dockerHub that are kept more up to date and have a better selection of drivers within them.

I was actually looking at CUPS when i come across this thread.

 

What other options are there instead of CUPS

  • 3 months later...

Hi all!

 

One of the final things left to do in my escape from Windows Server is sharing a USB printer on the network. jstrader/airprint-cloudprint is no longer available. What's the current recommendation?

 

And yes, I'm aware having a print server is somewhat of an abnormality in 2020. :- )

I've just started using this CUPS docker in order to print from a machine which has a very limited range of print drivers.  Even though all my printers are networked (I wrote an lpr/lpd driver for it), the machine in question can only print to HP PCL, PS and a couple of other old protocols.  This docker allows me to throw a PDF into a shared directory, and have it printed on, for instance, IPP ink jets.

  • 2 months later...
On 7/6/2020 at 2:09 PM, Greygoose said:

I was actually looking at CUPS when i come across this thread.

 

What other options are there instead of CUPS

Same question, I didn't see any other options.  I wish there was more documentation about how to set this up on UnRaid.  Just want to publish my Samsun wireless printer so my iPhone/iPad can also print.  

 

So far I've gotten to the user/password prompt but it does not accept the defaults mentioned above.

Got it started

 

Under the Extra Parameters in advanced view I added "-e CUPS_USER_ADMIN=admin -e CUPS_USER_PASSWORD=password"

Screen Shot 2020-12-28 at 4.19.10 PM.png

So this might of been a lost cause.  Can I use CUPS to publish my wireless printer so that i can print via my iOS devices?  I’ve setup a print share inside of CUPS, i can see that printer share on my desktop, but nothing on iOS devices.

I’m able to add a printer manually to CUPS, but not via network discover. Logs show 

 

31/Dec/2020:09:11:32 -0500] Unable to communicate with avahi-daemon: Daemon not running

 

2 minutes ago, Flyinace2000 said:

I’m able to add a printer manually to CUPS, but not via network discover. Logs show 

 

31/Dec/2020:09:11:32 -0500] Unable to communicate with avahi-daemon: Daemon not running

 

I can't see the rest of your config, have you mapped /var/run/dbus/ ??

10 minutes ago, MothyTim said:

I can't see the rest of your config, have you mapped /var/run/dbus/ ??

Nope. What’s the proper mapping?  Is there documentation that I’m just missing out on?

C0EC6A52-CAF8-415A-8E6D-39778E074245.jpeg

1 minute ago, Flyinace2000 said:

Nope. What’s the proper mapping?  Is there documentation that I’m just missing out on?

C0EC6A52-CAF8-415A-8E6D-39778E074245.jpeg

map /var/run/dbus/ to /var/run/dbus/

Know what helps a lot?  Making sure that your wireless access points are not blocking AirPrint.....

 

 

880014EF-CA1B-4CF2-9AE9-068B4EE0302A.jpeg

4 minutes ago, Flyinace2000 said:

Know what helps a lot?  Making sure that your wireless access points are not blocking AirPrint.....

 

 

880014EF-CA1B-4CF2-9AE9-068B4EE0302A.jpeg

Yep I guess that helps! 🤣

  • 3 weeks later...

I'm very close...  I added the printer, I can see it from other devices, but when I print the jobs in the CUPS webui says:

 

"Unable to locate printer "86CA53000000.local"."

 

Any help is apprecieated.  I see a few references in googleing but I'm not sure how the docker fits into this, perhaps it isn't resolving properly in avahi?  I tried changing the name to the IP, but that doesn't seem to work for me.  I have a the IP dedicated, but I don't see where I can just change the hostname to the IP.

----------------------------

EDIT:  I was able to resolve the network issue.  I edited printers.conf and put in my IP on the DeviceURI line:

 

DeviceURI dnssd://[IP_ADDRESS]/?uuid=00000000-0000-1000-8000-XXXXXXXXXXXX

 

Unfortunately, it now prints, but the job hang at 9% and never completes...  so it looks like I'm on to the next layer of troubleshooting....

 

flips

Edited by flips

  • 2 years later...
On 6/12/2019 at 8:56 PM, snolly said:

Has anyone managed to make an HP printer that is listed as "hpcups requires proprietary plugin". I can't make mine print. 405911016_Screenshot2019-06-12at22_52_13.png.d06618fb17a29fd5c5ffa3055e4c4998.png 

Have you made this work? i struggle with the same issue 😐

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.