Project

General

Profile

Actions

Task #13293

closed

DataMiner - The installation scripts must check if already_installed_algorithms.txt is an empty file

Added by Giancarlo Panichi over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Start date:
Feb 06, 2019
Due date:
Feb 06, 2019
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

The installation scripts must check the file containing the list of already installed algorithms:

wps_algorithms_install_log/already_installed_algorithms.txt

So whether the file does not exist or the file is empty the algorithms must be installed.

Actions #1

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70

The new condition I'm adding when. Now, when the svn update command reports that nothing changed, the installer is still run in the following cases:

  • No already_installed_files.txt is present (this condition was already there)
  • The already_installed_files.txt is present but empty
  • The already_installed_files.txt is present but lists less algorithms than the ones present in the algorithms file from subversion
Actions #2

Updated by Andrea Dell'Amico over 6 years ago

I just tested the script on dataminer1-p-d4s.d4science.org and it works. The log text that's written to syslog has been changed so that it's possible to check what condition was verified.

Actions #3

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 70 to 100

The new script has been deployed everywhere.

Actions #4

Updated by Giancarlo Panichi over 6 years ago

  • Due date set to Feb 06, 2019
  • Status changed from Feedback to Closed

@andrea.dellamico@isti.cnr.it , the script works correctly, now in the presence of an empty file it installs the algorithms in the DataMiner server.

Actions #5

Updated by Giancarlo Panichi over 6 years ago

  • Description updated (diff)
Actions #6

Updated by Giancarlo Panichi over 6 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)