How to re-flash router with omnia-medkit-latest-minimal?

I have tried to re-flash router with https://api.turris.cz/openwrt-repo/omnia/medkit/omnia-medkit-latest-minimal.tar.gz but I can not access to the router.

I get IP, but I have not access to Foris or LuCi. I only get access by SSH but I do not know the default password…

I have tried rename omnia-medkit-latest-minimal.tar.gz to omnia-medkit-latest.tar.gz without luck.

— EDITED —

I’ve left the router are-flashing again and I’ve go to smoke a cigar, when I’ve back everything was equal. I’ve unplug the USB, plug it on PC to put omnia-medkit-latest-full.tar.gz and when I’ve plug it again, in router, the leds have flashing in green and now I have access…

But with this error:

Firmware update has failed due to a connection or installation error. You should check your cable connection before proceeding to the next step. But do not worry much about the update as the router will run the updater regularly.

Updater has returned the following error:

unreachable: https://api.turris.cz/updater-defs/3.3/omnia/stable-new/base.lua: curl: (22) The requested URL returned error: 404 Not Found

In https://api.turris.cz/updater-defs/3.3/omnia/ do not exists the directory: stable-new

— EDITED AGAIN —

Executing updater.sh from command line I get similar message:

root@turris:~# updater.sh
WARN:Branch overriden to stable-new
DIE:
unreachable: https://api.turris.cz/updater-defs/3.3/omnia/stable-new/base.lua: curl: (22) The requested URL returned error: 404 Not Found

uci: Entry not found
uci: Entry not found
uci: Entry not found

Can someone with TurrisOS 3.3 publish your /etc/config/updater?

# cat /etc/config/updater

config pkglists 'pkglists'
	list lists 'base'
	list lists 'cacerts'
	list lists 'luci-controls'
	list lists 'lxc'
	list lists 'nas'
	list lists 'netutils'
	list lists 'shell-utils'

config override 'override'
	option disable '0'

Thanks @white

I have commented some lines:

config pkglists 'pkglists’
list lists ‘base’
#list lists ‘cacerts’
#list lists ‘luci-controls’
#list lists ‘lxc’
#list lists ‘nas’
#list lists ‘netutils’
#list lists ‘shell-utils’

config override ‘override’
#option branch 'stable-new’
option disable ‘0’

Updated:

root@turris:~# updater.sh
WARN:Script revision-specific not found, but ignoring its absence as requested
WARN:Script serial-specific not found, but ignoring its absence as requested
WARN:Multiple candidates from same repository with same version for package shairport-sync-openssl
WARN:Couldn’t load flags: cannot open /usr/share/updater/flags: No such file or directory
INFO:Queue install of kmod-usb-serial/turris/4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15
INFO:Queue install of kmod-usb-serial-wwan/turris/4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15
INFO:Queue install of kmod-usb-serial-qualcomm/turris/4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15
INFO:Executing preupdate hooks…
INFO:Subprogram output: /etc/updater/hook_preupdate/05_schnapps.sh:
Snapshot number 1 created

INFO:End of subprogram output
INFO:Executing postupdate hooks…
uci: Entry not found
uci: Entry not found

And after do full power cycle (reboot do that disappear my wifi 5GHz) all seems work without troubles.

Can someone with TurrisOS 3.3 publish your “/etc/opkg/distfeeds.conf”?

Mine is pointing to “omnia-stable-new”:

src/gz omnia_base https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//base
src/gz omnia_lucics https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//lucics
src/gz omnia_management https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//management
src/gz omnia_packages https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//packages
src/gz omnia_printing https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//printing
src/gz omnia_routing https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//routing
src/gz omnia_telephony https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//telephony
src/gz omnia_turrispackages https://api.turris.cz/openwrt-repo/omnia-stable-new/packages//turrispackages

And after see the problems with “updater.sh” I am not sure if this is correct.

This is customfeeds.conf:

# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files

and this is distfeeds.conf:

src/gz omnia_base https://api.turris.cz/openwrt-repo/omnia/packages//base
src/gz omnia_lucics https://api.turris.cz/openwrt-repo/omnia/packages//lucics
src/gz omnia_management https://api.turris.cz/openwrt-repo/omnia/packages//management
src/gz omnia_packages https://api.turris.cz/openwrt-repo/omnia/packages//packages
src/gz omnia_routing https://api.turris.cz/openwrt-repo/omnia/packages//routing
src/gz omnia_telephony https://api.turris.cz/openwrt-repo/omnia/packages//telephony
src/gz omnia_turrispackages https://api.turris.cz/openwrt-repo/omnia/packages//turrispackages

You’re right, this is wrong. There must be a bug in our building machinery. We’ll have a look into that.

I made sure these URLs point to the same data as the correct ones for now, but the correct ones are just „omnia“, not „omnia-stable-new“.

Also, can you check what uci get updater.override.branch outputs? It should complain that such option is not there.

Thanks @marck48 and @vorner.

Also, can you check what uci get updater.override.branch outputs? It should complain that such option is not there.

I correct this yesterday:

# uci get updater.override.branch
uci: Entry not found

# uci show | grep updater
foris.eula.agreed_updater='1'
schnapps.keep.max_updater='5'
updater.pkglists=pkglists
updater.pkglists.lists='base' 'cacerts' 'lxc'
updater.override=override
updater.override.disable='0'

And now “/etc/opkg/distfeeds.conf”:

src/gz omnia_base https://api.turris.cz/openwrt-repo/omnia/packages//base
src/gz omnia_lucics https://api.turris.cz/openwrt-repo/omnia/packages//lucics
src/gz omnia_management https://api.turris.cz/openwrt-repo/omnia/packages//management
src/gz omnia_packages https://api.turris.cz/openwrt-repo/omnia/packages//packages
src/gz omnia_printing https://api.turris.cz/openwrt-repo/omnia/packages//printing
src/gz omnia_routing https://api.turris.cz/openwrt-repo/omnia/packages//routing
src/gz omnia_telephony https://api.turris.cz/openwrt-repo/omnia/packages//telephony
src/gz omnia_turrispackages https://api.turris.cz/openwrt-repo/omnia/packages//turrispackages

PS: If omnia-medkit-latest-minimal has marked packages groups as “nas” they will by installed in the start wizard, in step “update”, and “minimal” will not be “minimal”.

The same for Turris 1.0 - I had to use medkit from SD card and got the same error and had also bad URLs … “turris-stable-new” … after change to “turris” - all OK