• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

aum auto-update resulting in /etc/cron.daily/asl: line 95: [: missing `]'

Visnet

Basic Pleskian
TITLE:
aum auto-update resulting in /etc/cron.daily/asl: line 95: [: missing `]'
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx, 17.5.3, CentOS Linux 7.5.1804, 64-bit
PROBLEM DESCRIPTION:
This is a third-party bug, seemingly caused by an automatic update from ASL's `aum` package:
```
# tail -n1 /var/log/yum.log
Nov 07 03:44:53 Updated: 1:aum-5.0-5715.el7.art.x86_64
```

The ASL cron outputs an error, which was automatically e-mailed:
```
/etc/cron.daily/asl:

/etc/cron.daily/asl: line 95: [: missing `]'
```

The daily ASL cron was updated through this package, and now contains an error in line 95, which seems like a typo (unnecessary use of "\").

Please report this bug to ASL.​
STEPS TO REPRODUCE:
How to reproduce:
  • Update package to `aum-5.0-5715.el7.art.x86_64`
  • Execute `/etc/cron.daily/asl` (automatically through cron or manually)
ACTUAL RESULT:
The cron output shows:
```
# /etc/cron.daily/asl
/etc/cron.daily/asl: line 95: [: missing `]'
```​
EXPECTED RESULT:
The cron output should be empty and the cron job should exit normally.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Hi,

IMHO.

Code:
# plesk version | grep version | grep -v ^W
Product version: Plesk Onyx 17.5.3 Update #60
     OS version: CentOS 7.2.1511

# /etc/cron.daily/asl
/etc/cron.daily/asl: line 95: [: missing `]'

# rpm -qf /etc/cron.daily/asl
aum-5.0-5715.el7.art.x86_64

# yum info -v aum-5.0-5715.el7.art.x86_64
Loading "fastestmirror" plugin
Config time: 0.011
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
pkgsack time: 0.598
Installed Packages
Name        : aum
Arch        : x86_64
Epoch       : 1
Version     : 5.0
Release     : 5715.el7.art
Size        : 26 M
Repo        : installed
From repo   : tortix-common
Committer   : Support <[email protected]>
Committime  : Mon Jan 23 18:00:00 2017
Buildtime   : Tue Nov  6 20:16:14 2018
Install time: Wed Nov  7 17:43:35 2018
Installed by: System <unset>
Changed by  : System <unset>
Summary     : Atomic Updater Modified
URL         : http://www.atomicorp.com/
License     : Commercial
Description : Atomic Updater Modified (AUM) is utility that can check for and automatically
            : download and install updates from Atomicorp.

Looks like it is not a bug from Plesk because the package is not from Plesk repository. I have checked line 95 in the file and found a strange thing (typo?). In my test environment, if I remove this slash, the script works. I suggest waiting for an update of the package.

aum.png

---

Updated:
I carefully read the first message and found the same diagnostic info :oops:
 
Last edited:
Hi AYamshanov,

Thanks for your quick response.

I understand that this is not a bug from/in Plesk, but I believe with the basic Atomicorp ruleset bugs should be reported through Plesk, that's why I have posted it here.
 
ASL support has confirmed this bug and indicated that it will be solved by an automatic `aum` update today.
 
Back
Top