• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue 'run-parts: /etc/cron.daily/60sa-update' in my mailbox today?

jmar83

Regular Pleskian
Why?

Screenshot here:


Unbenannt.jpg


What is "sa" from "60sa-update" ?

Thank you very much for your feedback.
 
Hi

Thank you for your feedback.

1.) I don't have that mail daily

2.) It has an exit code that not equals 0 which implies an error or at least a warning (which must not imply a problem in every case)

3.) The file /var/log/sa-update.log seems to be huge, but on the last line i see:

Unbenannt0.jpg
 
You can disable the sa-update execution by moving 60sa-update file from /etc/cron.daily to a different location:

# mv /etc/cron.daily/60sa-update /root
 
This is an OS notification. If you don't want it either move the /etc/cron.daily/60sa-update as Igor said or add an empty MAILTO="" in the script (this can be overwritten by an upcoming Plesk update):

Code:
#!/bin/bash
MAILTO=""
### Copyright 1999-2022. Plesk International GmbH. All rights reserved.

sa_update()
{
 
@maartenv : Thank you very much.

@IgorG : Regarding your link to the other thread with PERL source code: What do you think about that hotfix solution?

Perl:
sub read_content {
  my ($file_name, $binary_mode) = @_;
  my $content;

  my $file = IO::File->new;
 
 
  # Custom {
  if (-e $file_name) {
    #print "File $file_name exists!\n";
    
    
    # Original source code {
    $file->open($file_name, '<') or die "Cannot open file $file_name: $!";
  if ($binary_mode) {
    binmode $file;
  }
 
  my($number_of_bytes,$buffer);
  $content = '';
  while (($number_of_bytes = $file->read($buffer, 16384)) > 0) {
    $content .= $buffer;
  }
  defined $number_of_bytes or die "Error reading from file $file_name: $!";
  $file->close or die "Error closing $file_name: $!";
    # } Original source code
    
    
    
  }
  else {     
    #print "File $file_name does not exist!\n";
    my $logfile = '/var/log/sa-update-userlog.log';   
    my $str = "File $file_name does not exist!";       
    open(FH, '>', $logfile);
    print FH $str;
    close(FH);
  }
  # } Custom
 

  return $content;
}


if (-e $file_name) ... else ... is MY code and the code in "if" condition is still the same as original :)
 
Back
Top