-
Diagnostics exception email sent to wrong email address
Thanks, ya I found 3 corrupt files and replaced them with recent backups. I will go through the process of replacing the flash drive tomorrow. We are back up and running! Thanks for your help. This thread was closely related. Link
-
Diagnostics exception email sent to wrong email address
See the attached, it seems to be cycling through FSCK. Right now its at FSCK0013.204. It's still beeps every once in a while, but not as often as when it started.
-
Diagnostics exception email sent to wrong email address
ljm42, I have not really worried about it for over a year, I was just responding to Sunbear asking me out of the blue. Yes, I can see that it's sending to "root" in the sent folder of my smtp account. It's still sending the email to wrong recipient address (it's sending it to the smtp account). Either way, I took your advice and "simply" upgraded to the latest release and now Im wondering why the heck I did that. It never returned, no ping and the box is just beeping randomly now for 10 minutes. Thanks
-
Diagnostics exception email sent to wrong email address
Sunbear, It's not solved for me. I just tested it again. 1) Running Test from SMPT Settings works fine and the email goes to the correct recipient address. 2) Running Diagnostics Sends email to my smtp account at gmail, but not to my recipient address. 3) Running Diagnostics also tries to send to [email protected] still. I am on 6.9.2.
-
Diagnostics exception email sent to wrong email address
I rebooted into safe mode, ran diagnostics and the same thing happens. I bet it's a default php.ini error email, rather than the more robust unraid notify system. Meaning, php is not seeing a certain file and the default error email goes out.
-
Diagnostics exception email sent to wrong email address
Scratch that. I found a way to boot into safe mode without attaching a vid card etc.. Just let me know how to send you my diag file privately. Thanks
-
Diagnostics exception email sent to wrong email address
I can send you the diagnostics file privately if you tell me how. I just dont want it public. Regarding booting into safe mode, I can try that. Can you tell me if there is a way to boot into safe mode without using a keyboard and monitor?
-
Diagnostics exception email sent to wrong email address
One last clue. Here is the original message in my gmail smtp account. It is sending to root, BCC to my SMTP account. Bcc: [email protected] Return-Path: <[email protected]> Received: from NAS (ipx-x-x-x.lv.lv.cox.net. [x.x.x.x]) by smtp.gmail.com with ESMTPSA id p20sm6855462pfw.96.2021.12.16.10.33.55 for <[email protected]> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 10:33:57 -0800 (PST) Message-ID: <[email protected]> From: Console and webGui login account <[email protected]> X-Google-Original-From: "Console and webGui login account" <[email protected]> Received: by NAS (sSMTP sendmail emulation); Thu, 16 Dec 2021 10:33:55 -0800 Date: Thu, 16 Dec 2021 10:33:55 -0800 Subject: Output from your job 13 To: root Warning: copy(/boot/logs/nas-diagnostics-20211216-1033.zip): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/scripts/diagnostics on line 335
-
Diagnostics exception email sent to wrong email address
What would indicate this being a flash drive problem? Perhaps you need to test it on a fresh install. I have Docker service disabled, VM service disabled, my plugins are CA or Dynamix owned. I installed Unraid just a few days ago on a brand new thumb drive. I just ran it again, same syslog entry. With the same email sent to my SMTP account. Dec 16 10:33:55 NAS sSMTP[32004]: Creating SSL connection to host Dec 16 10:33:55 NAS sSMTP[32004]: SSL connection using TLS_AES_256_GCM_SHA384 Dec 16 10:33:57 NAS sSMTP[32004]: Sent mail for [email protected] (221 2.0.0 closing connection p20sm6855462pfw.96 - gsmtp) uid=0 username=root outbytes=556 You seem pretty dismissive about this, I guess it doesn't really matter. From my perspective it is clearly 2 bugs. Thanks for the help anyway.
-
Diagnostics exception email sent to wrong email address
I am not sure what the syslog entry has to do with it. How about remove/rename the /boot/logs folder (like my fresh install), then run diagnostics from the GUI (Like I did). It will email the smtp account (not the recipient).
-
Diagnostics exception email sent to wrong email address
You think a docker or plugin I have installed is sending an email to the wrong address when I run the built in diagnostics tool? At any rate, I found the actual reason for the error in the diagnostics script. Line 89 of the diagnostics file runs 'mkdir -p /boot/logs' but only if running diagnostics from cli (which I am not). It then attempts to copy files to that folder, but only if NOT running from cli on line 335. I would assume that if a dev has previously ran from CLI, this would not show up as an error, since the folder would exist. Mine is a new install. This is a bug in the script. LINE 89 if ($cli) { // script is called from CLI echo "Starting diagnostics collection... "; exert("mkdir -p /boot/logs"); $server = isset($var['NAME']) ? str_replace(' ','_',strtolower($var['NAME'])) : 'tower'; $date = date('Ymd-Hi'); $diag = "$server-diagnostics-$date"; $zip = "/boot/logs/$diag.zip"; } else { // script is called from GUI $diag = basename($zip, '.zip'); $split = explode('-', $diag); $date = "{$split[2]}-{$split[3]}"; } LINE 335 if ($cli) { echo "done.\nZIP file '$zip' created.\n"; } else { copy($zip,"/boot/logs/".basename($zip)); } But it still doesn't solve the issue of the diagnostics script sending to the wrong email address.
-
Diagnostics exception email sent to wrong email address
Here is a snip from my SMTP settings. The email was sent to the Sending email address/SMTP account, rather than the Email Recipient. All other Unraid emails have gone to the Email Recipient account. Hope this helps. Thanks
-
Diagnostics exception email sent to wrong email address
@trurl I appreciate the response. Right now Diagnostics shows every detail about my shares since I just moved everything to the array so that I can replace my cache NVME. To be clear though, I am not asking for help here. Just unofficially reporting a bug, I guess. Here is what was in the email sent to my SMTP account. My point is that it sent it to the wrong email address. Is email config contained within the diagnostics? Warning: copy(/boot/logs/nas-diagnostics-20211215-1338.zip): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/scripts/diagnostics on line 335
-
Phrendo started following Diagnostics exception email sent to wrong email address
-
Diagnostics exception email sent to wrong email address
Hello, I happened to have the logging window opened when I ran Diagnostics and noticed these lines show up in logging. Dec 15 13:38:53 NAS sSMTP[23610]: Creating SSL connection to host Dec 15 13:38:53 NAS sSMTP[23610]: SSL connection using TLS_AES_256_GCM_SHA384 Dec 15 13:38:55 NAS sSMTP[23610]: Sent mail for [email protected] (221 2.0.0 closing connection y16sm3292836pfl.69 - gsmtp) uid=0 username=root outbytes=556 Sending to [email protected] is odd, but also I did not receive any emails about it on the recipient address that I have configured in Unraid. I checked the smtp account (which is not the same as my recipient address), to find an email about a missing diagnostic file "Output from your job 16". The email shows TO: root, BCC: my smtp account address. So there seems to be two issues/bugs here. 1) the [email protected] send (this may only appear to be happening) 2) is the fact that it sent it to my smtp account rather than my recipient account (like all other unraid emails do). Thanks!
-
Docker CPU Core/Threading Usage
Thanks for the response @Squid. Regarding the CPU Pinning, I tried every variation, all while have the VM service turned off. I did figure it out though. The SQL procedure that I was testing with was forcing a single thread. Right now, I have the Docker pinned to the 6 cores (no HT) and I am running 6 instances of the SQL procedure. As you can see in the image below, it is in fact properly using the pinned CPUs (always was). It is odd that the docker stats command reports a sum of all cores on the CPU % though (this is what was throwing me off earlier). Again, thank you for the response.