Update prepare task in Queued status: failed to self-update: /usr/local/solus/bin/installer no such file or directory

Have more questions? Submit a request

Applicable to:

  • SolusIO

Symptoms 

  • Update preparation task got hung - it is just loading at SolusIO > System Updates
  • The task prepare installer for version update at SolusIO > Tasks is in Queued status
  • There is the following error in the logs /var/log/solus/installer.log:

    CONFIG_TEXT: time="2020-05-15 09:30:07" level=info msg="failed to self-update from \"http://installer.dev.solusvm.com/testing/1.1.10040/installer\": rename /usr/local/solus/bin/installer /usr/local/solus/bin/.installer.old: no such file or directory"
    time="2020-05-15 09:30:07" level=error msg="failed to self-update: rename /usr/local/solus/bin/installer /usr/local/solus/bin/.installer.old: no such file or directory"
    time="2020-05-15 09:30:12" level=info msg="going to restart after self-update"

  • solus-update service is not running:

    # systemctl status solus-update
    ● solus-update.service - SOLUS IO update service
    Loaded: loaded (/etc/systemd/system/solus-update.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Tue 2020-05-19 04:40:09 UTC; 17s ago
    Process: 8150 ExecStart=/usr/local/solus/bin/installer -run-update-service (code=exited, status=203/EXEC)
    Process: 8148 ExecStartPre=/bin/chmod 640 /var/log/solus (code=exited, status=0/SUCCESS)
    Process: 8142 ExecStartPre=/bin/mkdir -p /var/log/solus (code=exited, status=0/SUCCESS)
    Main PID: 8150 (code=exited, status=203/EXEC)

Cause

The file /usr/local/solus/bin/installer is missing.

Resolution

  1. Connect to SolusIO Master via SSH
  2. Download the latest installer version and add execution permission to it:

    # wget install.solus.io/latest -O /usr/local/solus/bin/installer
    # chmod +x /usr/local/solus/bin/installer

  3. Start solus-update service:

    # systemctl start solus-update

  4. Wait for 3-5 minutes for all the related services to load

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.