[Bug 1869981] Re: Printer notification every day at midnight

2020-06-16 Thread Till Kamppeter
I have already found a solution for this and applied it upstream (1.27.5, already in Grrovy). The problem is that near midnight, for the log rotate cups-browsed is stopped and restarted. Stopping cups-browsed makes the cups-browsed- generated print queues getting removed and when re-starting

[Bug 1869981] Re: Printer notification every day at midnight

2020-06-16 Thread Sebastien Bacher
IRC discussion extract seb128 see /etc/logrotate.d/cups-daemon postrotate "invoke-rc.d --quiet cups restart > /dev/null"; and cups-browsed.service has Requires: cups.service so it will restart, too usually it's so the daemon closes the old logfile and opens the new one, but a full restart

[Bug 1869981] Re: Printer notification every day at midnight

2020-06-16 Thread Sebastien Bacher
Till, could you have a look to that? It has been mentioned on bug #1882462 as well, from the log there 'Jun 12 00:00:01 hero systemd[1]: Starting Rotate log files... Jun 12 00:00:01 hero systemd[1]: Starting Daily man-db regeneration... Jun 12 00:00:01 hero systemd[1]: Stopping Make remote CUPS

[Bug 1869981] Re: Printer notification every day at midnight

2020-06-11 Thread Jonathan Kayne
This is still occuring in 20.04 along with the notification at bootup. It has not been fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification every day at midnight

[Bug 1869981] Re: Printer notification every day at midnight

2020-06-05 Thread Till Kamppeter
** Changed in: cups (Ubuntu) Status: Expired => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification every day at midnight To manage notifications about

[Bug 1869981] Re: Printer notification every day at midnight

2020-05-31 Thread Launchpad Bug Tracker
[Expired for cups (Ubuntu) because there has been no activity for 60 days.] ** Changed in: cups (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
Apologies for hijacking Alan's bug. I thought we were experiencing the same symptoms. I'll let Alan add his info. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
This thread started with 20.04, so I thought you have 20.04, too. 20.04 comes with cups-browsed 1.27.3 and this version would not create this extra queue any more about which you are complaining. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
I'm using the latest available version on bionic: cups-browsed 1.20.2-0ubuntu3.1 What version are you expecting me to be running? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title:

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
Could you check which version of cups-browsed are you using? dpkg -l cups-browsed Looking into your cups-browsed_log it seems that you have an old version. To clean up any possible mess you could try sudo apt install --reinstall cups-browsed -- You received this bug notification because you

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
** Attachment added: "cups-browsed_log" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1869981/+attachment/5344359/+files/cups-browsed_log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
Sure... # systemctl stop cups-browsed # rm /var/log/cups/cups-browsed_log # lpstat -v device for Color-LaserJet-CP2025dn: hp:/net/HP_Color_LaserJet_CP2025dn?ip=192.168.66.6 device for HP_OfficeJet_Pro_7740_series_7646EB_: ipp://HP40B0347646EB.local:631/ipp/print # lpadmin -x

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
Could you stp cups-browsed, then run lpstat -v post the output here, then run lpadmin -x HP_OfficeJet_Pro_7740_series_7646EB_@HP40B0347646EB.local Now start cups-browsed again and wait until you get a notification, or if there does not show any, for something like two minutes. Now run lpstat

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
$ lpstat -v device for Color-LaserJet-CP2025dn: hp:/net/HP_Color_LaserJet_CP2025dn?ip=192.168.66.6 device for HP_OfficeJet_Pro_7740_series_7646EB_: ipp://HP40B0347646EB.local:631/ipp/print device for HP_OfficeJet_Pro_7740_series_7646EB_@HP40B0347646EB.local:

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
Please run the command lpstat -v and post the output here. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification every day at midnight To manage notifications

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
** Attachment added: "cups-browsed_log" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1869981/+attachment/5344288/+files/cups-browsed_log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
Could you edit /etc/cups/cups-browsed.conf to have a line DebugLogging file and then restart cups-browsed? Once done, restart CUPS and wait until you get the notification. Then attach /var/log/cups/cups-browsed_log to this bug report. -- You received this bug notification because you are a

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
** Attachment added: "cups-browsed.conf" https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1869981/+attachment/5344279/+files/cups-browsed.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
@mdeslaur, could you attach your /etc/cups/cups-browsed.conf file to this bug report? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification every day at midnight

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
I have two printers. I've had two printers configured in cups for a long time. I believe this issue started happening at the same time that a third printer started appearing automatically by cups, which is a duplicate of a printer I already have configured: Color-LaserJet-CP2025dn

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
I can reproduce the notification just by doing "systemctl restart cups", so perhaps it is related to the logrotate job restarting cups? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title:

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Alan Pope  濾
I am getting it on 3 machines. One is a clean install of 20.04 from the media dated 20200301. Another is an upgrade done some weeks back which was previously 18.04 installed from media dated 20190210. I can't tell you when I started getting it, but it's been a while. The clean install has been

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Till Kamppeter
When did the notifications start to occur? Are you running 20.04 already for longer and suddenly, probably after an update, the notifications started? Or did you switch from an older Ubuntu version (18.04, 19.10) to 20.04 and after this upgrade the notifications started? Or did you even observe

[Bug 1869981] Re: Printer notification every day at midnight

2020-04-01 Thread Marc Deslauriers
I just started getting this behaviour on 18.04 for the past few weeks too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869981 Title: Printer notification every day at midnight To manage