Community discussions

MikroTik App
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

openspeedtest container error

Sun Jul 16, 2023 9:47 am

I tried to install openspeedtest server using instructions from this topic: viewtopic.php?t=190891

I have ax3, with 32GB USB 3.0 stick plugged in and at the end I get error message in log: "not enough disk space to download layer"

container error.jpg
Here is my configuration:
# 2023-07-16 08:39:39 by RouterOS 7.11beta4
# software id = 
#
# model = C53UiG+5HPaxD2HPaxD
# serial number = 
/container mounts
add dst=/var/log/nginx name=openspeed src=/usb1-part1/openspeed/var
/disk
set usb1 type=hardware
add parent=usb1 partition-number=1 partition-offset=512 partition-size=\
    "30 943 995 392" type=partition
set usb2 type=hardware
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf name=bridge \
    vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] comment=WAN
set [ find default-name=ether2 ] comment=TRUNK
set [ find default-name=ether3 ] comment=VLAN10_TEA_RADNI_PC
set [ find default-name=ether4 ] comment=VLAN88_HOME
set [ find default-name=ether5 ] comment=VLAN88_HOME
/interface wifiwave2
set [ find default-name=wifi1 ] channel.band=5ghz-ax .skip-dfs-channels=\
    disabled .width=20/40/80mhz comment="5 GHz" configuration.country=Croatia \
    .manager=local .mode=ap .ssid=Mikrotik mtu=1500 \
    security.authentication-types=wpa2-psk,wpa3-psk
set [ find default-name=wifi2 ] channel.band=2ghz-ax .frequency=2412 \
    .skip-dfs-channels=disabled .width=20mhz comment="2.4 GHz" \
    configuration.country=Croatia .manager=local .mode=ap .ssid=Mikrotik \
    security.authentication-types=wpa2-psk,wpa3-psk
/interface veth
add address=10.10.88.100/24 comment=IPERF3 gateway=10.10.88.1 name=\
    veth1-iperf3
add address=10.10.88.110/24 comment=OPENSPEEDTEST gateway=10.10.88.1 name=\
    veth2-openspeedtest
/interface wireguard
add comment="cloud vpn" listen-port=XXXXX mtu=1420 name=freevpn-wg
/interface vlan
add interface=bridge name=VLAN10_TEA_PC vlan-id=10
add interface=bridge name=VLAN20_SECURITY vlan-id=20
add interface=bridge name=VLAN30_IOT vlan-id=30
add interface=bridge name=VLAN40_IPTV vlan-id=40
add interface=bridge name=VLAN88_HOME vlan-id=88
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
add name=HOME
/interface wifiwave2 configuration
add channel.band=5ghz-ax .frequency=5220 .width=20/40/80mhz country=Croatia \
    disabled=no mode=ap name=cfg1-5 security.authentication-types=\
    wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes ssid="Gazdin WiFi"
add channel.band=2ghz-ax .frequency=2437 .width=20mhz country=Croatia \
    disabled=no mode=ap name=cfg2-2.4 security.authentication-types=\
    wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes ssid="Gazdin WiFi"
add channel.band=2ghz-ax .frequency=2412 .width=20mhz country=Croatia \
    disabled=no mode=ap name=cfg3-2.4@2412MHz security.authentication-types=\
    wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes ssid="Gazdin WiFi"
add channel.band=5ghz-ax .frequency=5745 .width=20/40/80mhz country=Croatia \
    disabled=no mode=ap name=cfg4-5@5745MHz security.authentication-types=\
    wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes ssid="Gazdin WiFi"
/interface wifiwave2
add channel.frequency=5745 comment=AP_Kat_5GHz configuration=cfg4-5@5745MHz \
    configuration.mode=ap disabled=no name=cap-wifi1
add channel.frequency=2412 comment=AP_Kat_2.4GHz configuration=\
    cfg3-2.4@2412MHz configuration.mode=ap disabled=no name=cap-wifi2
add channel.frequency=5220 comment=AP_Prizemlje_5GHz configuration=cfg1-5 \
    configuration.mode=ap disabled=no name=cap-wifi3
add channel.frequency=2437 comment=AP_Prizemlje_2.4GHz configuration=cfg2-2.4 \
    configuration.mode=ap disabled=no name=cap-wifi4
/interface wifiwave2 datapath
add bridge=bridge disabled=no interface-list=LAN name=datapath_VLAN30 \
    vlan-id=30
add bridge=bridge disabled=no interface-list=LAN name=datapath_VLAN20 \
    vlan-id=20
/interface wifiwave2
add comment=IoT_WiFi configuration.mode=ap .ssid=IoT datapath=datapath_VLAN30 \
    disabled=no mac-address=XX:XX:XX:XX:XX:XX master-interface=cap-wifi4 \
    name=cap-wifi5 security.authentication-types=wpa-psk,wpa2-psk
add comment=WiFi_CCTV configuration.mode=ap .ssid=WiFi_CCTV datapath=\
    datapath_VLAN20 disabled=no mac-address=XX:XX:XX:XX:XX:XX \
    master-interface=cap-wifi4 name=cap-wifi6 security.authentication-types=\
    wpa-psk,wpa2-psk
/ip pool
add name=dhcp_pool1 ranges=10.10.10.2-10.10.10.5
add name=dhcp_pool2 ranges=10.10.20.2-10.10.20.150
add name=dhcp_pool3 ranges=10.10.30.2-10.10.30.254
add name=dhcp_pool4 ranges=10.10.40.2-10.10.40.50
add name=dhcp_pool5 ranges=10.10.88.2-10.10.88.254
/ip dhcp-server
add address-pool=dhcp_pool1 interface=VLAN10_TEA_PC lease-time=1d name=\
    dhcp_VLAN10
add address-pool=dhcp_pool2 interface=VLAN20_SECURITY lease-time=1d name=\
    dhcp_VLAN20
add address-pool=dhcp_pool3 interface=VLAN30_IOT lease-time=1d name=\
    dhcp_VLAN30
add address-pool=dhcp_pool4 interface=VLAN40_IPTV lease-time=1d name=\
    dhcp_VLAN40
add address-pool=dhcp_pool5 interface=VLAN88_HOME lease-time=1d name=\
    dhcp_VLAN88
/port
set 0 name=serial0
/container
add interface=veth1-iperf3 logging=yes start-on-boot=yes workdir=/
add dns=8.8.8.8 envlist=speedtest_envs interface=veth2-openspeedtest \
    root-dir=usb1-part1/speedtest start-on-boot=yes
/container config
set registry-url=https://registry-1.docker.io tmpdir=usb1-part1
/container envs
add key=TZ name=speedtest_envs value=Europe/Zagreb
/interface bridge port
add bridge=bridge comment=defconf frame-types=admit-only-vlan-tagged \
    interface=ether2
add bridge=bridge comment=defconf frame-types=\
    admit-only-untagged-and-priority-tagged interface=ether3 pvid=10
add bridge=bridge comment=defconf frame-types=\
    admit-only-untagged-and-priority-tagged interface=ether4 pvid=88
add bridge=bridge comment=defconf frame-types=\
    admit-only-untagged-and-priority-tagged interface=ether5 pvid=88
add bridge=bridge comment=defconf frame-types=\
    admit-only-untagged-and-priority-tagged interface=wifi1 pvid=88
add bridge=bridge comment=defconf frame-types=\
    admit-only-untagged-and-priority-tagged interface=wifi2 pvid=88
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
    interface=veth1-iperf3 pvid=88
/ip neighbor discovery-settings
set discover-interface-list=LAN
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=15360
/interface bridge vlan
add bridge=bridge tagged=bridge,ether2 untagged=wifi1,wifi2,ether4,ether5 \
    vlan-ids=88
add bridge=bridge tagged=bridge untagged=ether3 vlan-ids=10
add bridge=bridge tagged=bridge,ether2 vlan-ids=20
add bridge=bridge tagged=bridge,ether2 vlan-ids=30
add bridge=bridge tagged=bridge,ether2 vlan-ids=40
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=VLAN10_TEA_PC list=LAN
add interface=VLAN20_SECURITY list=LAN
add interface=VLAN30_IOT list=LAN
add interface=VLAN40_IPTV list=LAN
add interface=VLAN88_HOME list=LAN
add interface=VLAN88_HOME list=HOME
add interface=veth1-iperf3 list=LAN
add interface=*F list=LAN
add interface=*11 list=LAN
/interface wifiwave2 access-list
add action=accept allow-signal-out-of-range=30s disabled=no interface=any \
    mac-address=00:C3:0A:B7:ED:1C signal-range=-67..0
add action=reject allow-signal-out-of-range=1s disabled=no interface=any \
    mac-address=00:C3:0A:B7:ED:1C signal-range=-120..-68
/interface wifiwave2 capsman
set ca-certificate=auto enabled=yes package-path="" require-peer-certificate=\
    no upgrade-policy=none
/interface wifiwave2 provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg1-5 \
    slave-configurations=cfg4-5@5745MHz supported-bands=5ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=cfg2-2.4 \
    slave-configurations=cfg3-2.4@2412MHz supported-bands=2ghz-ax
/interface wireguard peers

/ip address

/ip dhcp-server network
add address=10.10.10.0/24 gateway=10.10.10.1
add address=10.10.20.0/24 gateway=10.10.20.1
add address=10.10.30.0/24 gateway=10.10.30.1
add address=10.10.40.0/24 gateway=10.10.40.1
add address=10.10.88.0/24 dns-server=10.10.88.13 gateway=10.10.88.1
/ip dns
set allow-remote-requests=yes
/ip firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=\
    "defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
add action=accept chain=forward comment=\
    "defconf: accept established,related, untracked" connection-state=\
    established,related,untracked
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
    ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
    ipsec-policy=out,ipsec
add action=drop chain=forward comment="Prekid prometa od VLAN10 na VLAN88" \
    in-interface=VLAN10_TEA_PC out-interface=VLAN88_HOME
add action=drop chain=forward comment="Prekid prometa od VLAN20 na VLAN88" \
    in-interface=VLAN20_SECURITY out-interface=VLAN88_HOME
add action=drop chain=forward comment="Prekid prometa od VLAN30 na VLAN88" \
    in-interface=VLAN30_IOT out-interface=VLAN88_HOME
add action=drop chain=forward comment="Prekid prometa od VLAN40 na VLAN88" \
    in-interface=VLAN40_IPTV out-interface=VLAN88_HOME
add action=drop chain=forward comment="defconf: drop invalid" \
    connection-state=invalid
add action=drop chain=forward comment=\
    "defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
    connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
    ipsec-policy=out,none out-interface-list=WAN
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
/ipv6 firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=accept chain=input comment="defconf: accept ICMPv6" protocol=\
    icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
    33434-33534 protocol=udp
add action=accept chain=input comment=\
    "defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
    udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
    protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
    ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
    ipsec-esp
add action=accept chain=input comment=\
    "defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
    "defconf: drop everything else not coming from LAN" in-interface-list=\
    !LAN
add action=accept chain=forward comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
    connection-state=invalid
add action=drop chain=forward comment=\
    "defconf: drop packets with bad src ipv6" src-address-list=bad_ipv6
add action=drop chain=forward comment=\
    "defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
    hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
    icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
    500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
    ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
    ipsec-esp
add action=accept chain=forward comment=\
    "defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
    "defconf: drop everything else not coming from LAN" in-interface-list=\
    !LAN
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name=hAP_ax3_router
/system note
set show-at-login=no
/system package update
set channel=testing
/tool mac-server
set allowed-interface-list=none
/tool mac-server mac-winbox
set allowed-interface-list=HOME
You do not have the required permissions to view the files attached to this post.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5500
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: openspeedtest container error

Sun Jul 16, 2023 10:30 am

Change tmp location to other folder

I use:
usb1-part1/pull
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Sun Jul 16, 2023 11:00 am

I tried but I still get the same error.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5500
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: openspeedtest container error

Sun Jul 16, 2023 11:37 am

That USB3 stick has been formatted on your device with ext4 filesystem ?

When you do the extraction part, you should see in Files where it puts the files.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Sun Jul 16, 2023 12:10 pm

Yes, it's formatted in ext4 format, here is Disk List screenshot:

Disk list.jpg
I don't know what is this USB2...


Also here is screenshot when I start extracting image:


File list.jpg
You do not have the required permissions to view the files attached to this post.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Mon Jul 17, 2023 2:42 pm

Any idea what to try ? Maybe another USB stick ?
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Sun Jul 30, 2023 8:49 pm

Tried today with adguard container... Same error... I can't install any container
 
User avatar
sch
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Tue Feb 26, 2013 1:05 pm

Re: openspeedtest container error

Mon Jul 31, 2023 1:14 pm

Please monitor system resources while pulling container image. Does router hdd free space not shrink?
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Mon Jul 31, 2023 2:16 pm

I see that free space on USB stick go from 28.8 GB to 28.5 GB, that's it. I set TMP folder to USB disk so i have plenty of disk space.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Mon Jul 31, 2023 4:37 pm

So, i replaced USB and now it's working... I formated drive to ext4, like previous one...
 
User avatar
jvanhambelgium
Forum Veteran
Forum Veteran
Posts: 993
Joined: Thu Jul 14, 2016 9:29 pm
Location: Belgium

Re: openspeedtest container error

Mon Jul 31, 2023 4:45 pm

I have similar issues on a RB5009. The USB-storage for sure is not super "stable" and after a few weeks often a container is completely trashed because the underlying USB-storage is gone. I need to unplug-replug etc. In the past I had to reformat completely.
I tried USB3.0 stick directly in the RB5009. Now I use a USB 2.0 "hub" connected in the RB5009 with a USB-stick 3.0 inserted in the hub
It is better, but still not rock solid.
I might be that some USB-sticker or better than others, but I have normally a decent ;

USB SanDisk 3.2Gen1 stick on a USB 2.10 480Mbps Interface
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1207
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: openspeedtest container error

Mon Jul 31, 2023 7:55 pm

I'm running adguard home right now in container so we will se how it will work, so far so good

Who is online

Users browsing this forum: No registered users and 1 guest