Optional migration from Turris OS 3.x for advanced users

VLANs should be migrated well no matter how many of them there are with exception of networks that were configured solely on switch (not connected to router’s CPU)… those are ignored and unless there is increased amount of users having this kind of setup it won’t be implemented. Just to note that is configuration where router does not have access to that network.

WiFi networks linked with VLANs or even virtual interfaces or anything else is all migrated.

Migration just takes VLAN configuration on switch and creates appropriate virtual interfaces for them and assigns them to network that terminating interface (CPU port) was part of.

2 Likes

Yes. All my vlans are connected to router’s CPU. I got no other router or firewall in that network so I have no other choice. I am glad that it should work well.

thank you, but the omnia is not remote, so if i do it, it is here around the corner.
I do want to do it, so i have a question. Would it be for example better to de-activate some installed options like honeypots, discover new LAN gear, pakon, etc ( not openvpn) so make the Omnia 3.X more basic to make the transition more easy?
I’m fine with configing the new TOS5, since all here is rather basic? ( No VPN’s, just plain WAN DHCP to cable )

thxs

Edit: or do you mean remote that i use the online update instead of doing it on the machine itself with the schnapps/medkit method?

What is deactivate? Disable, remove, remove together with configuration?

Error from 2020/06/06 00:39:57

Updater selhal:

inconsistent: Package updater-ng is requested as critical. Cyclic dependency is not allowed for critical requests.

I tried to update my router and I got this error. I followed 3.x migration guide but I got stuck at this point.
My system:

  • Turris 1.1
  • OS version 3.11.17
  • Root on 32 GB SD card with BTRFS
  • I didn’t install any additional SW to my router outside of Forris interface.

If you need anything else just let me know. I have downloaded config and diagnostic data before installation.

1 Like

After the upgrade to v3.11.17, I was interested to migrate to 5.x.
When I checked the rollback to get familiar with Schnapps I noticed the post snapshot size was very small.
Is it normal? Only 92kb?

root@turris:~# schnapps list
    # | Type      | Size        | Date                        | Description
------+-----------+-------------+-----------------------------+------------------------------------
    1 | rollback  |     5.73MiB | 2016-11-22 04:58:09 +0000   | Rollback to snapshot factory
    5 | rollback  |    23.86MiB | 2016-11-23 22:26:48 +0000   | Rollback to snapshot 4
   10 | single    |    24.23MiB | 2016-11-25 21:21:05 -0800   | User created snapshot
  330 | pre       |    17.38MiB | 2020-03-12 08:38:11 -0700   | Automatic pre-update snapshot
  331 | post      |    13.11MiB | 2020-03-12 08:38:26 -0700   | Automatic post-update snapshot
  336 | pre       |    13.11MiB | 2020-04-07 15:42:31 -0700   | Automatic pre-update snapshot
  337 | post      |    13.12MiB | 2020-04-07 15:42:41 -0700   | Automatic post-update snapshot
  341 | time      |    13.67MiB | 2020-05-03 01:05:02 -0700   | Snapshot created by cron
  342 | pre       |    13.54MiB | 2020-05-04 12:58:20 -0700   | Automatic pre-update snapshot
  343 | post      |    13.53MiB | 2020-05-04 12:58:28 -0700   | Automatic post-update snapshot
  344 | time      |    14.12MiB | 2020-05-10 01:05:02 -0700   | Snapshot created by cron
  345 | pre       |    14.15MiB | 2020-05-14 00:19:50 -0700   | Automatic pre-update snapshot
  346 | post      |    13.34MiB | 2020-05-14 00:20:02 -0700   | Automatic post-update snapshot
  347 | time      |    14.07MiB | 2020-05-17 01:05:02 -0700   | Snapshot created by cron
  348 | time      |    14.28MiB | 2020-05-24 01:05:03 -0700   | Snapshot created by cron
  349 | time      |    13.72MiB | 2020-05-31 01:05:02 -0700   | Snapshot created by cron
  350 | pre       |    11.29MiB | 2020-06-04 04:57:45 -0700   | Automatic pre-update snapshot
  351 | post      |    92.00KiB | 2020-06-04 05:00:49 -0700   | Automatic post-update snapshot

You don’t have to care about packages that are provided in Foris/reForris. The problem can cause 3rd party opkg packages from other source. I would recommend to remove those 3rd party packages to remove completely including their configuration that usually is in /etc/config folder or other /etc folders as afterwards you will need to install new version of package that is compiled against musl library instead of uClibc libraries. Updater (pkgupdate script) will complain if something is not as it should be anyway. After upgrade you will have to install those newer versions and reconfigure its configuration as between TOS3 and TOS5 were several years of development of OpenWRT that happened in the background. If you don’t use any of those 3rd party packages or don’t know what i talk about, then most probably automatic update script will work for you and you don’t have to worry.

1 Like

ok, me think it is running…

BusyBox v1.29.3 () built-in shell (ash)

  _______  _    _  _____   _____   _____   _____
 |__   __|| |  | ||  __ \ |  __ \ |_   _| / ____|
    | |   | |  | || |__) || |__) |  | |  | (___
    | |   | |  | ||  _  / |  _  /   | |   \___ \
    | |   | |__| || | \ \ | | \ \  _| |_  ____) |
    |_|    \____/ |_|  \_\|_|  \_\|_____||_____/



xx@xx:~# pkgupdate
WARN:Requested package luci-i18n-ddns-en that is missing, ignoring as requested.
xx@xx:~# opkg-cl update
Downloading https://repo.turris.cz/omnia/packages//base/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  151k  100  151k    0     0   599k      0 --:--:-- --:--:-- --:--:--  679k
Updated list of available packages in /var/opkg-lists/omnia_base
Downloading https://repo.turris.cz/omnia/packages//base/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    961      0 --:--:-- --:--:-- --:--:--   967
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//hardware/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1423  100  1423    0     0   9486      0 --:--:-- --:--:-- --:--:--  9550
Updated list of available packages in /var/opkg-lists/omnia_hardware
Downloading https://repo.turris.cz/omnia/packages//hardware/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    937      0 --:--:-- --:--:-- --:--:--   949
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//lucics/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 77284  100 77284    0     0   385k      0 --:--:-- --:--:-- --:--:--  385k
Updated list of available packages in /var/opkg-lists/omnia_lucics
Downloading https://repo.turris.cz/omnia/packages//lucics/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0   1118      0 --:--:-- --:--:-- --:--:--  1126
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//management/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2451  100  2451    0     0  17890      0 --:--:-- --:--:-- --:--:-- 18022
Updated list of available packages in /var/opkg-lists/omnia_management
Downloading https://repo.turris.cz/omnia/packages//management/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0   1070      0 --:--:-- --:--:-- --:--:--  1078
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//node/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3060  100  3060    0     0  22835      0 --:--:-- --:--:-- --:--:-- 23007
Updated list of available packages in /var/opkg-lists/omnia_node
Downloading https://repo.turris.cz/omnia/packages//node/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0   1126      0 --:--:-- --:--:-- --:--:--  1135
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//openwisp/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   400  100   400    0     0   2816      0 --:--:-- --:--:-- --:--:--  2816
Updated list of available packages in /var/opkg-lists/omnia_openwisp
Downloading https://repo.turris.cz/omnia/packages//openwisp/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    794      0 --:--:-- --:--:-- --:--:--   798
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//packages/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  202k  100  202k    0     0   707k      0 --:--:-- --:--:-- --:--:--  727k
Updated list of available packages in /var/opkg-lists/omnia_packages
Downloading https://repo.turris.cz/omnia/packages//packages/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    807      0 --:--:-- --:--:-- --:--:--   807
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//php/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5998  100  5998    0     0  43463      0 --:--:-- --:--:-- --:--:-- 43781
Updated list of available packages in /var/opkg-lists/omnia_php
Downloading https://repo.turris.cz/omnia/packages//php/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    898      0 --:--:-- --:--:-- --:--:--   904
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//printing/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4557  100  4557    0     0  27125      0 --:--:-- --:--:-- --:--:-- 27287
Updated list of available packages in /var/opkg-lists/omnia_printing
Downloading https://repo.turris.cz/omnia/packages//printing/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    967      0 --:--:-- --:--:-- --:--:--   974
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//routing/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11666  100 11666    0     0  72912      0 --:--:-- --:--:-- --:--:-- 72912
Updated list of available packages in /var/opkg-lists/omnia_routing
Downloading https://repo.turris.cz/omnia/packages//routing/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    980      0 --:--:-- --:--:-- --:--:--  1000
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//sidn/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1672  100  1672    0     0  12477      0 --:--:-- --:--:-- --:--:-- 12571
Updated list of available packages in /var/opkg-lists/omnia_sidn
Downloading https://repo.turris.cz/omnia/packages//sidn/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0   1041      0 --:--:-- --:--:-- --:--:--  1048
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//telephony/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14864  100 14864    0     0  90634      0 --:--:-- --:--:-- --:--:-- 91190
Updated list of available packages in /var/opkg-lists/omnia_telephony
Downloading https://repo.turris.cz/omnia/packages//telephony/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    937      0 --:--:-- --:--:-- --:--:--   937
Signature check passed.
Downloading https://repo.turris.cz/omnia/packages//turrispackages/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  153k  100  153k    0     0   492k      0 --:--:-- --:--:-- --:--:--  494k
Updated list of available packages in /var/opkg-lists/omnia_turrispackages
Downloading https://repo.turris.cz/omnia/packages//turrispackages/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0   1118      0 --:--:-- --:--:-- --:--:--  1126
Signature check passed.
xx@xx:~# opkg-cl install tos3to4
Installing tos3to4 (1.0.2-2) to root...
Downloading https://repo.turris.cz/omnia/packages//turrispackages/tos3to4_1.0.2-2_mvebu.ipk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1778  100  1778    0     0  13268      0 --:--:-- --:--:-- --:--:-- 13469
Configuring tos3to4.
xx@xx:~# updater-supervisor -d
xx@xx:~#

ok…after 24 min i can log in with ssh, internet all the time kept working, still no reboot

BusyBox v1.30.1 () built-in shell (ash)

      ______                _         ____  _____
     /_  __/_  ____________(_)____   / __ \/ ___/
      / / / / / / ___/ ___/ / ___/  / / / /\__
     / / / /_/ / /  / /  / (__  )  / /_/ /___/ /
    /_/  \__,_/_/  /_/  /_/____/   \____//____/

 -----------------------------------------------------
 TurrisOS 5.0.0, Turris Omnia
 -----------------------------------------------------
xx@xx:~#

edit thxs pepe, i never understand how to do that :slight_smile:

1 Like

how do i know it is finished? Will it reboot itself?

Turris OS never reboots itself (except the automatic reboot 3 days after update). I think it should show you a notification in Foris asking for reboot.

You can also look in file /tmp/update-state/state. On my fully updated TOS 5 it shows exit. So I assume anything else would mean that it is still working.

20 words 20 words …thats says failure

hmm, tried pkgupdate, that gave a write erorr, did a reboot, all light are happily burning, but no acces on 192.x.1

Edit, did a reset, did the second reset, and did a factory reset. All omnia lights are giving the impression it works, but not reachable on SSH, on web, and no internets. strange.
Also, it does not give out DHCP ip’s to local machines, so main pc here does not see the omnia.

ok…it is breathing again, back on 3,17. pfffff.

The migration was successful apart from the LXC container configuration migration, since LXC 1 to LXC 3 upgrade. My configs were still using the LXC 1 keys after the migration.

People with the same issue can use


to resolve the simple config issues.

hi i just updated from the last Version from the 3 branche and everithing ist fine i just couldn’t get nextcloud to work. I have intalled it after the upgrade and switch to the hbs branche. The Problem seemse to be the creation of a Nextcloud username and password could you help me? is it possible to write it manueally in a file? Sorry i din’t know how i should get an log from the nextcloud the only massage is internal server error.

Thanks for your help.

I wonder, did you see the same things i saw posted above ? So after :
opkg-cl update
opkg-cl install tos3to4
updater-supervisor -d

what did SSH tell you?

in my update the ssh conection get lost after a while but the update went smooth after it i was in the hbk branche an changed it to the stable branche. ssh dind’t show me anithing by the way

ah, and how long was after a while, 5 min/15/? And when did you reboot?
ah, thxs, so basically over here it just failed i assume.

ah sorry thge ssh conection gets lost by switching to the stable branche not by the upgrade to 5

after an hour where nothings has happend i changed to the stable branche. In this procession the ssh get lost and everey conektion to the Omnia get lost after that i waitet 1 hour an pulled the power to reboot it

So, your omnia was on stable 3.17 before you started? And after an hour you switched in ssh to HBT, was the ssh telling you it was on TOS 5 ? and then after one hour you did a hard power reboot?

Yas just like that but i think the update to 5 just took 5 to 10 minits.