Skip to content

LINUX install.sh does not install cleanly on top of existing version #99

@jarno-niemela

Description

@jarno-niemela

Describe the bug
If I run install.sh in order to upgrade to new version I get following errors.

cp: cannot create regular file '/usr/local/bin/gladius-controld': Text file busy
cp: cannot create regular file '/usr/local/bin/gladius-networkd': Text file busy

To Reproduce
Steps to reproduce the behavior:

  1. Install Gladius with install.sh and start the daemons
  2. Run install again to simulate update
  3. See error messages

Expected behavior
Installer kills existing daemons, runs install and restarts daemons

Fix suggestion

As simple as adding following to start of the install script:

killall gladius-networkd
killall gladius-controld

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions