Как сделать downgrade Hive OS (как откатить на старую версию HiveOs)

Часто задаваемые вопросы
Ответить
admin
Администратор
Сообщения: 99
Зарегистрирован: 08 авг 2018, 19:49

Как сделать downgrade Hive OS (как откатить на старую версию HiveOs)

Сообщение admin » 10 авг 2018, 01:34

Sometimes after update something is not working for you and you’d like to go back to previous version. Though it can’t be done via web panel but you can do it manually either from SSH shell or “Linux Command Execute” on the web.

Starting from version 0.5-67 you can just run

selfupgrade 0.5-67
Note: this method will not work on the versions lower than 0.5-67

Manual Downgrade

Go to the following address and you’ll see the list of available versions
http://download.hiveos.farm/repo/binary/

OK, you found the version you want, let’s say package “hive_0.5-07_all.deb” What you want is to see the version, it is “0.5-07” in this example.

The following command will install selected version version.

apt-get install -y --allow-downgrades hive=0.5-07

NOTE: Version downgrade may lead to some bug as setup scripts are not intended for this. But if you don’t rollback between major versions, like from 0.5 to 0.4. then it will work for 99%.

If the above command relies that there is not such version try to do the following

apt-get update -o Dir::Etc::sourcelist="sources.list.d/hiverepo.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
If for some reason above method does not work then there is another option to download the package itself and install manually from file.

Something like this

cd /tmp
wget http://download.hiveos.farm/repo/binary ... 07_all.deb
dpkg -i hive_0.5-07_all.deb

Ответить