Recommended Posts

On 11/5/2022 at 3:23 PM, Copycat300 said:

I updated my Unraid server to 6.11.2 today.


When I attempted to start the CUPS docker, I get an Execution Error dialog box.  It states "Execution Error" and "Server error" in a single dialog box, and refuses to start.  


Anyone else observed this?  

I just updated to Unraid 6.11.3 today and I get exactly the same problem and error message.  Did you figure out how to fix it?

Link to comment
  • 2 weeks later...
  • 1 month later...
On 5/7/2022 at 10:38 PM, Devnol said:

then the /boot/config/go code for the above is as such:

cp /boot/config/rules.d/99-usb-rules.rules /etc/udev/rules.d/99-usb-rules.rules
cp /boot/config/cups/printer.sh /usr/local/bin/printer.sh

chmod 644 /etc/udev/rules.d/99-usb-rules.rules
chmod 744 /usr/local/bin/printer.sh

udevadm control --reload-rules

udevadm trigger --attr-match=subsystem=usb

sehe ich das richtig, das udevadm nach einem 'trigger' warten kann?
also wie hier z.B. das usb?


wäre es dann möglich den Drucker zu 'triggern' (also wenn USB angesteckt wird und der Drucker erkannt wird)

udevadm trigger --sysname-match=Druckername(z.B.Samsung CLP510)


und dann udevadm control --reload-rules
(hier sollten ja dann die Regeln neu geladen werden, oder?

hier sollte doch dann die /boot/config/rules.d
neu geladen werden oder?

falls das möglich ist, wie muss / sollte das dann umgesetzt werden.

würde mich über hilfe sehr freuen.





Am I correct in saying that udevadm can wait after a 'trigger'?
like here e.g. the usb?

would it then be possible to 'trigger' the printer (i.e. when USB is plugged in and the printer is recognized)

udevadm trigger --sysname-match=printer name(e.g. Samsung CLP510)

and then udevadm control --reload-rules
(the rules should be reloaded here, right?

here the /boot/config/rules.d
be reloaded right?

if this is possible, how must / should it be implemented.

Would appreciate help very much.


Edited by luckyheiko
Link to comment
  • 4 weeks later...
  • 3 weeks later...
On 11/21/2022 at 12:05 AM, P.Mass said:

I just updated to Unraid 6.11.3 today and I get exactly the same problem and error message.  Did you figure out how to fix it?

The issue is due to your USB port changing for your printer. This will happen every time you restart your Unraid server. There is a way to get it to reconnect automatically but the instructions I found on another thread didn't work for me as the command didn't find the file needed for my device. I considered another airprint application but don't have time to switch right now. 

Link to comment
  • 4 weeks later...

Hey all,

I'm lookin for some help with this cups docker. I'm in the middle of setting up VLANs for my network and wanted my printer and scanners to be within their own but for the life of me I cannot get cups to work with all the other subnets. I've upgraded to a Dream Machine and all the traffic is currently flowing unrestricted to each VLAN since I'm still testing it all out during setup.


I've edited the cupsd.conf so many times based on findings from the internet but I cannot get the printers to show up on other subnets. Crazy thing is, my iPhone can see a printer but my pcs do not discover it. When selecting it on the phone I get an error. If the docker gets switched to bridge network mode they come right up and work.


Would love any ideas!

Link to comment
  • 3 weeks later...

Would anyone be willing to help troubleshoot how to get this on a vlan? I have not had success isolating this into my iot vlan group. It’s the only docker that refuses to function correctly. 

Is something hard coded to only function in bridge mode or local host?

Link to comment
  • 1 month later...
Posted (edited)

Why does this work with /dev/bus/usb/001/005 (where my printer resides) but not with /dev/usb/lp0?


Edit: Oh okay I figured it out, since the contaienr itself creates a lp0 internally, it needs raw device. Got it

Edited by Arandomdood
Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.