Please Backup your node first including oraid binary and data to prevent Apphash error
Download libwasmvm v1.5.2
wget https://github.com/oraichain/wasmvm/raw/v1.5.2/internal/api/libwasmvm.x86_64.so -O /usr/local/lib/libwasmvm.x86_64.so
cd $HOME
wget -O oraid https://github.com/oraichain/orai/releases/download/v0.41.7-ASA-2024-007/oraid-amd64
chmod +x oraid
sudo mv oraid $(which oraid)
Add new Enviroment variable for libwasmvm multilple version on Oraichain Services
[Unit]
Description=Orai Node
After=network.target
[Service]
Type=simple
User=USER
ExecStart=/home/USER/go/bin/oraid start --home /home/USER/.oraid
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="LD_LIBRARY_PATH=/usr/local/lib"
[Install]
WantedBy=multi-user.target
[Unit]
Description="orai node"
After=network-online.target
[Service]
User=USER
ExecStart=/home/USER/go/bin/cosmovisor run start --home /home/USER/.oraid
Restart=always
RestartSec=3
LimitNOFILE=4096
Environment="DAEMON_NAME=oraid"
Environment="DAEMON_HOME=/home/USER/.oraid"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="LD_LIBRARY_PATH=/usr/local/lib"
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo service oraid restart && journalctl -fu oraid -o cat