K
K
kipishio kipishio2019-04-03 10:01:11
ubuntu
kipishio kipishio, 2019-04-03 10:01:11

How to launch the web interface and properly configure CUPS 2.2.7 on Ubuntu 18.04?

Hello. Help plzzz!
Because at work there are many ancient printers with a USB interface that constantly have problems with drivers and compatibility + everyone else has a different version of Windows OS, there is Windows 10 pro, there is Windows 10 Home, there is Windows 7, also x32 and x64, so I decided to try to set up a print- the server decided to try to install CUPS 2.2.7 on Ubuntu 18.04.
I did everything according to different designs, as a result, something started up, the web face opens but only the initial page, the rest of the links do not open and I can’t understand why
this is the main page
5ca45262613b9408305845.jpeg
, but when I try to open any link
5ca4527e0eca9769529067.jpeg
here is the CUPS config https://pastebin.com/zyB9mUix
here is the log https://pastebin.com/vWRypyfB

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kipishio kipishio, 2019-04-03
@kipishio

the question has disappeared, the solution is here https://forum.ubuntu.ru/index.php?topic=267939.0
you also need to make the /etc/cups/cupsd.conf config like this

MaxLogSize 0
# Show troubleshooting information in error_log.
LogLevel debug
Listen /run/cups/cups.sock
Listen 0.0.0.0:631
Port 631
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Negotiate
WebInterface Yes
<Location />
  Order allow,deny
  Allow all
</Location>
<Location /admin>
  AuthType Basic
  Require valid-user
  Allow all
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Basic
  Require valid-user
  Allow all
  Order allow,deny
</Location>
<Location /admin/log>
  AuthType Basic
  Require valid-user
  Allow all
  Order allow,deny
</Location>
Browsing On

the condition must also be met sudo usermod -aG lpadmin username from this instruction https://help.ubuntu.ru/wiki/%D1%80%D1%83%D0%BA%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question