homeassistant-addons
homeassistant-addons copied to clipboard
CUPS as a add-on
Thanks for the excellent add-ons. CUPS as an add-on has been requested by many home assistant users. I think @MaxWinterstein can solve this issue. here is some relevant discussion https://github.com/hassio-addons/repository/discussions/248#discussioncomment-2454543 https://github.com/ncarr/addon-repository
Having some old labelprinter laying around, this is on my wishlist :)
Whats the matter with the one from @ncarr? Does it miss something?
Having some old labelprinter laying around, this is on my wishlist :)
Whats the matter with the one from @ncarr? Does it miss something?
it is not working for me and a few other users.
Here is a screenshot of it
yeah, seems kinda buggy. Might have a look at this one day, but no promises ✌️
Did you check https://github.com/hassio-addons/repository/discussions/248#discussioncomment-4326731 - seems like someone fixed the existing one?
Did you check hassio-addons/repository#248 (comment) - seems like someone fixed the existing one?
I am running HA on RPi4.
Did you check hassio-addons/repository#248 (comment) - seems like someone fixed the existing one?
I am running HA on RPi4.
I see. Tried to install, failed.
Had a quick play with another repo: https://github.com/Luk164/addon-repository
Works with minimal adjustments, but not sure about the Avahi / Multicast DNS stuff. Need to have a second look later on.
Had a quick play with another repo: https://github.com/Luk164/addon-repository
Works with minimal adjustments, but not sure about the Avahi / Multicast DNS stuff. Need to have a second look later on.
This is on RPi4?
Yes.
Yes.
this one?
got this
Failed to install add-on
The command '/bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends cups avahi-daemon libnss-mdns dbus colord printer-driver-all printer-driver-gutenprint openprinting-ppds hpijs-ppds hp-ppd hplip printer-driver-foo2zjs gnupg2 lsb-release && echo "deb http://nginx.org/packages/debian `lsb_release -cs` nginx" | tee /etc/apt/sources.list.d/nginx.list && curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - && apt-get update && apt-get install nginx nginx-module-njs && apt-get clean -y && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
finally worked
correct repository, and restart fixed it.
I spoke too soon
s6-overlay-suexec: fatal: can only run as pid 1
I just added my running version to this repository.
Far away from perfect, but should work.
Atleast Url is working
you need to type "https://192.168.x.x:631" in the address bar to access the page
x86 here,
CUPS not accessible by direct IP
EDIT: I turned OFF SSL in the add-on config, and now it works, over HTTPS...?
I tried it but unfortunately I'm in the loop of errors :(
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/dbus-setup
cont-init: info: /etc/cont-init.d/dbus-setup exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun avahi (no readiness notification)
services-up: info: copying legacy longrun dbus (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
Found user 'avahi' (UID 104) and group 'avahi' (GID 109).
Successfully dropped root privileges.
avahi-daemon 0.8 starting up.
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
Failed to create server: Invalid host name
avahi-daemon 0.8 exiting.
Will close this as the add-on was added - and improved over the time.