Translations:Потеря файлов при обновлении ПО/9/en: различия между версиями

Материал из Wiren Board
 
Строка 5: Строка 5:
</syntaxhighlight>
</syntaxhighlight>
When you upgrade packages, the user data remains unchanged, but you may see a dialog box like:
When you upgrade packages, the user data remains unchanged, but you may see a dialog box like:
<div class="tcenter" style="clear:none">[[Special:MyLanguage/Файл:Dialog.png|900px|center|Folder with settings from ''Configs'' Configs]]</div>
<div class="tcenter" style="clear:none">[[File:Dialog.png|900px|center|Folder with settings from ''Configs'' Configs]]</div>
in which you choose whether to overwrite the configuration files. This window appears if you have modified the configuration file related to the updated package (''for example, you have added extension modules or modbus devices via the web interface''). To save the controller settings you've made before, you should refuse to overwrite the configuration file by selecting <nowiki>''</nowiki>''keep the local version currently installed''<nowiki>''</nowiki>. In case of confirmation of overwriting (choosing the top point), old configuration files are '''irretrievably''' deleted.
in which you choose whether to overwrite the configuration files. This window appears if you have modified the configuration file related to the updated package (''for example, you have added extension modules or modbus devices via the web interface''). To save the controller settings you've made before, you should refuse to overwrite the configuration file by selecting <nowiki>''</nowiki>''keep the local version currently installed''<nowiki>''</nowiki>. In case of confirmation of overwriting (choosing the top point), old configuration files are '''irretrievably''' deleted.

Текущая версия на 18:23, 26 апреля 2019

Определение сообщения (Потеря файлов при обновлении ПО)
Не стоит путать обновление прошивки контроллера с обновлением установленных на устройстве пакетов, производимым командами 
<syntaxhighlight lang="bash">
apt-get update
apt-get upgrade
</syntaxhighlight>
При обновлении пакетов, пользовательские данные остаются без изменений, однако может появиться диалоговое окно вида:
<div class="tcenter" style="clear:none">[[Special:MyLanguage/Файл:Dialog.png|900px|center|Директория с настройками из раздела ''Configs'']]</div>
В котором нужно выбрать, перезаписать ли конфигурационные файлы. Это окно появляется, если Вы производили изменение конфигурационного файла, относящегося к обновляемому пакету (''например, добавляли модули расширения или modbus-устройства через веб-интерфейс''). Чтобы произведённые Вами ранее настройки контроллера сохранились, нужно отказаться от перезаписи конфигурационного файла, выбрав пункт <nowiki>''</nowiki>''keep the local version currently installed''<nowiki>''</nowiki>. В случае же подтверждения перезаписи (выбора самого верхнего пункта), старые конфигурационные файлы '''безвозвратно''' удаляются.

Do not confuse the controller firmware update with the update of the installed packages on the device, produced by the commands

apt-get update
apt-get upgrade

When you upgrade packages, the user data remains unchanged, but you may see a dialog box like:

Folder with settings from Configs Configs

in which you choose whether to overwrite the configuration files. This window appears if you have modified the configuration file related to the updated package (for example, you have added extension modules or modbus devices via the web interface). To save the controller settings you've made before, you should refuse to overwrite the configuration file by selecting ''keep the local version currently installed''. In case of confirmation of overwriting (choosing the top point), old configuration files are irretrievably deleted.