Master Upgrade StepsΒΆ
Delete following files from the 2nd level motadata folder:
- upgrade.zip
- upgrade
- motadata-upgrade
- motadata-upgrade.conf
cd /motadata/motadata
rm -rf upgrade.zip
rm -rf upgrade
rm -rf motadata-upgrade
rm -rf motadata-upgrade.conf
Download motadata-upgrade.zip file and FTP the file to motadata server (2nd level motadata folder).
Unzip motadata-upgrade.zip file.
cd /motadata/motadata unzip motadata-upgrade.zip
Following files should be visible:
- motadata-upgrade.py
- packages.zip
- upgrade-installer
- upgrade-installer.config
- upgrade.zip
Add 775 permission to motadata-upgrade.py:
cd /motadata/motadata chmod 775 motadata-upgrade.py
Run upgrade command:
cd /motadata/motadata ./motadata-upgrade.py <current_version> //for ex: ./motadata-upgrade.py 1.1.0
Go to the system folder.
cd /lib/systemd/system
Add entries in motadata service:
vi motadata.service --- use i command to edit ----- ---- add a new line after Killmode = none ------ LimitCORE=infinity LimitNOFILE=500000 ---- press escape ------- ----save using: wq!------
Run the below command. This command is required every time you make changes in motadata.service.
systemctl daemon-reload