`release_autorun.sh` cannot be found after 1.4.20.1 update

Hey quilibrium ennthusiast !

After updating my node, I get the following error:

Could you tell me how to get my node working again?

Many thanks!

Hi,

it looks like the release_autorun.sh script is not found for some reason. To trouble shoot, could you go to the /root/ceremonyclient directory and share the output of the following commands:

  • git remote show origin
  • git branch --show
1 Like

Thank you for your help. Bellow results of commands :

> root@s102142:~/ceremonyclient# git remote show origin
> fatal: not a git repository (or any of the parent directories): .git
> root@s102142:~/ceremonyclient# git branch --show
> fatal: not a git repository (or any of the parent directories): .git
> root@s102142:~/ceremonyclient#

Thanks, it looks like the git repo got lost somehow. Is there anything in the ceremonyclient/node/.config directory?

1 Like

Yes, .config directory is not empty : there are my config and keys yml files

And my store directory doesn’t empty too.

Are you sure that you are on correct branch (release branch)?

1 Like

I followed this guide to update my node : Upgrading to Quilibrium v1.4.20-p1 from .20 – Quilibrium Guide

Is it the correct way ? What can i do to check if it is the good branch ?

I followed this guide to update my node : Upgrading to Quilibrium v1.4.20-p1 from .20 – Quilibrium Guide

Was the node set up using this guide? The original error message shows that the systemd unit file tries to run the release_autorun.sh script, but as I’m reading through the guide now, it seems to run the binaries directly. Tagging @demipoet as he/she is the author of the guide.

In any case, the simplest (but not most future proof) way to get your node working would be to

  1. Back up ceremonyclient/node/.config
  2. Download https://raw.githubusercontent.com/QuilibriumNetwork/ceremonyclient/release/node/release_autorun.sh to ceremonyclient/node/ and make it executable (chmod +x release_autorun.sh)
  3. Restart the service

What can i do to check if it is the good branch ?

The output of the commands in your post show that you don’t have a git repo in the ceremonyclient directory for some reason, so you’re definitely not on the release branch and you can’t switch to it either.

1 Like

I’m going to try the manipulations you’ve indicated, certainly tomorrow. I’ll update if it worked or if the error persists. Thanks a lot for your help guys, it’s nice

1 Like

Hi @Guibz , if you followed this guide : Upgrading to Quilibrium v1.4.20-p1 from .20 – Quilibrium Guide , then you should definitely not try to find release_autorun.sh because you wont find it. My guide is straightforward in sense that it does not require you to install git to your server anymore, it downloads the binaries straight from the releases site releases.quilibrium.com .

What prompted you to change your service configuration file to try to look for the release_autorun.sh file? This page here Upgrading to Quilibrium v1.4.20-p1 from .20 – Quilibrium Guide should complete the upgrade on its own.

Thanks for the tag @abo

2 Likes

Thank you for your reply. I think it’s because i used autorun script until 1.4.19.

In my ceremonyclient.service i have this :

May i need change ExecStart by another value ? Because node search release_autorun.sh file but it doesn’t exist. What must i change on my file ?

Edit :
Everything seems to be working now, I’ve modified the ExecStart to point to node-1.4.20.1-linux-amd64 in the /ceremonyclient/node folder, reload my services

systemctl daemon-reload

Then restart the node

service ceremonyclient restart

And everything’s up and running again :slight_smile:

2 Likes

this is correct. same as mine below I assume

1 Like

I had this error on some nodes, and I think the issue is related to the server booting too fast and creating somewhat a conflict with the release_autorun and/or the service.

Usually restarting the node solves this for me, or adding sleep 5 to the release_autorun “start_process” function.

2 Likes