https://nopaste.linux-dev.org/?1327202
you mean line 59,60,61?
In don't have try.
####
Now i have add line 59, 60, 61 in my /etc/cron-apt/config at the end.
How can i now check the notification setup?
https://nopaste.linux-dev.org/?1327202
you mean line 59,60,61?
In don't have try.
####
Now i have add line 59, 60, 61 in my /etc/cron-apt/config at the end.
How can i now check the notification setup?
That is to increase verbosity of logging.
Now, when the next update is available (after the cron job ran, not after you searched manually for an update), look for entries in /var/log/syslog related to cron-apt
as mentioned here
id you check syslog for any related entry as votdev suggested
Yes, but no reference to cron-apt, now I'm getting smbd errors gonna restart and download the syslog
Ok, this morning 18th Jan update for openmediavault 5.5.23-1 no email received, have downloaded the syslog what specific output are we looking for, I can locate the following;
Jan 18 04:00:01 kingfisher CRON[14381]: (root) CMD (test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt)
Jan 18 04:55:29 kingfisher cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 18 04:00:01 GMT 2021
Jan 18 04:55:29 kingfisher cron-apt: CRON-APT SLEEP: 3293, Mon Jan 18 04:54:54 GMT 2021
Jan 18 04:55:29 kingfisher cron-apt: CRON-APT ACTION: 0-update
Jan 18 04:55:29 kingfisher cron-apt: CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
Jan 18 08:03:49 kingfisher cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 18 07:36:52 GMT 2021
Jan 18 08:03:49 kingfisher cron-apt: CRON-APT SLEEP: 1610, Mon Jan 18 08:03:42 GMT 2021
Jan 18 08:03:49 kingfisher cron-apt: CRON-APT ACTION: 0-update
Jan 18 08:03:49 kingfisher cron-apt: CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
Alles anzeigen
geaves for Volker to notice, could you please add this info & log to https://github.com/openmediavault/openmediavault/issues/905 ?
Ok, this morning 18th Jan update for openmediavault 5.5.23-1 no email received, have downloaded the syslog what specific output are we looking for, I can locate the following;
CodeAlles anzeigenJan 18 04:00:01 kingfisher CRON[14381]: (root) CMD (test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt) Jan 18 04:55:29 kingfisher cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 18 04:00:01 GMT 2021 Jan 18 04:55:29 kingfisher cron-apt: CRON-APT SLEEP: 3293, Mon Jan 18 04:54:54 GMT 2021 Jan 18 04:55:29 kingfisher cron-apt: CRON-APT ACTION: 0-update Jan 18 04:55:29 kingfisher cron-apt: CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 Jan 18 08:03:49 kingfisher cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 18 07:36:52 GMT 2021 Jan 18 08:03:49 kingfisher cron-apt: CRON-APT SLEEP: 1610, Mon Jan 18 08:03:42 GMT 2021 Jan 18 08:03:49 kingfisher cron-apt: CRON-APT ACTION: 0-update Jan 18 08:03:49 kingfisher cron-apt: CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
I've got the mail
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 18 04:00:01 CET 2021
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT SLEEP: 3591, Mon Jan 18 04:59:52 CET 2021
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT ACTION: 0-update
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT ACTION: 3-download
Jan 18 05:00:06 HPt630 cron-apt: CRON-APT LINE: /usr/bin/apt-get autoclean -y
Jan 18 05:00:06 HPt630 cron-apt: Reading package lists...
Jan 18 05:00:06 HPt630 cron-apt: Building dependency tree...
Jan 18 05:00:06 HPt630 cron-apt: Reading state information...
Jan 18 05:00:08 HPt630 cron-apt: CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Jan 18 05:00:08 HPt630 cron-apt: Reading package lists...
Jan 18 05:00:08 HPt630 cron-apt: Building dependency tree...
Jan 18 05:00:08 HPt630 cron-apt: Reading state information...
Jan 18 05:00:08 HPt630 cron-apt: Calculating upgrade...
Jan 18 05:00:08 HPt630 cron-apt: The following packages will be upgraded:
Jan 18 05:00:08 HPt630 cron-apt: openmediavault
Jan 18 05:00:08 HPt630 cron-apt: 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Jan 18 05:00:08 HPt630 cron-apt: Need to get 1717 kB of archives.
Jan 18 05:00:08 HPt630 cron-apt: After this operation, 2048 B of additional disk space will be used.
Jan 18 05:00:08 HPt630 cron-apt: Get:1 http://packages.openmediavault.org/public usul/main amd64 openmediavault all 5.5.23-1 [1717 kB]
Jan 18 05:00:08 HPt630 cron-apt: Fetched 1717 kB in 0s (12.6 MB/s)
Jan 18 05:00:08 HPt630 cron-apt: Download complete and in download only mode
Jan 18 05:00:08 HPt630 postfix/pickup[28136]: 64805141B50: uid=0 from=<root>
Jan 18 05:00:08 HPt630 postfix/cleanup[1623]: 64805141B50: message-id=<20210118040008.64805141B50@HPt630.local>
Jan 18 05:00:08 HPt630 postfix/qmgr[944]: 64805141B50: from=<mail_xxx@icloud.com>, size=1107, nrcpt=2 (queue active)
Jan 18 05:00:08 HPt630 postfix/pipe[1630]: 64805141B50: to=<openmediavault-notification@localhost.localdomain>, relay=omvnotificationfilter, delay=0.13, delays=0.07/0.02/0/0.04, dsn=2.0.0, status=sent (delivered via omvnotificationfilter service)
Jan 18 05:00:10 HPt630 postfix/smtp[1631]: 64805141B50: replace: header Subject: CRON-APT completed on HPt630.local [/etc/cron-apt/c: Subject: [HPt630.local] CRON-APT completed on HPt630.local [/etc/cron-apt/config]
Jan 18 05:00:12 HPt630 postfix/smtp[1631]: 64805141B50: to=<mail_xxx@icloud.com>, relay=smtp.mail.me.com[17.57.154.19]:587, delay=4.2, delays=0.07/0.07/1.5/2.6, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 217CCB40274)
Jan 18 05:00:12 HPt630 postfix/qmgr[944]: 64805141B50: removed
Alles anzeigen
I've got the mail
Well you would the Cron-Apt action is that when you select it to download and install.
geaves for Volker to notice, could you please add this info & log to https://github.com/openmediavault/openmediavault/issues/905 ?
Have posted it there but TBH this is a PIA, the thread was started here not on GH, and Volker replied here. I don't want to get into the forum/github use again. Volker's replied to github and I see why, one receives email notifications from github.
Well you would the Cron-Apt action is that when you select it to download and install.
Hmmm, strange.
I didn't know I was sleepwalking , I received the mail before I was awake this morning.
I received the mail before I was awake this morning
it seems the issue I'm facing is the CRON-APT ACTION: 3-download is not initiated on my setup, so I've tried something to see if it works.
it seems the issue I'm facing is the CRON-APT ACTION: 3-download is not initiated on my setup, so I've tried something to see if it works.
Here is when the actual update happens
Update Management - History:
Start-Date: 2021-01-18 06:09:12
Commandline: apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::=--force-confold install openmediavault
Upgrade: openmediavault:amd64 (5.5.22-1, 5.5.23-1)
End-Date: 2021-01-18 06:09:46
My output is different as I installed the kernel update which I shouldn't have as I use the proxmox kernel, but I've now resolved that.
My output is different as I installed the kernel update which I shouldn't have as I use the proxmox kernel, but I've now resolved that.
I use the proxmox kernel also.
I use the pro mix kernel also.
You use ZFS
You use ZFS
No, but I've installed the kernel in the past out of curiosity and never switched back.
Hello, did we have a solution for me?
Greets
openmedianer
Hello i get this notification:
ZitatAlles anzeigenDear admin,
your user account was used to log in to omv5 (::ffff:192.168.178.88) via a web browser.
Date and time: Sat, 23 Jan 2021 10:04:49 +0100
Remote address: ::ffff:192.168.178.52
User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
If you recently logged in to the control panel, you can disregard this email. If you have not logged in recently and believe someone may have accessed your account, you should reset your password.
Sincerely,
your openmediavault system
But i don't get a notification for new updates "openmediavault-omvextraorg. 5.4.5"?
How can i solved the problem?
But i don't get a notification for new updates "openmediavault-omvextraorg. 5.4.5
Neither do I and as it can't be reproduced there is no fix see here
Works like a charme here:
The following packages are already downloaded and ready to install. Go to the 'System | Update Management' page in the web interface or run 'omv-update' from the CLI to install them finally.
You have received this notification because you have enabled software update notifications on this host. To change your notification preferences, please go to the 'System | Notification' page in the web interface.
CRON-APT RUN [/etc/cron-apt/config]: Sat Jan 23 07:35:56 CET 2021 CRON-APT SLEEP: 610, Sat Jan 23 07:46:06 CET 2021 CRON-APT ACTION: 3-download CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
openmediavault-omvextrasorg
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/77.0 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Download complete and in download only mode
Alles anzeigen
HTH
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!