Empty System menu in LUCI

Hello,
I wonder if this is normal. Hostname and time zone should be set here, but the menu 'System - System' just shows an empty page without any options:

I installed the zoneinfo packages and set the local time in /etc/config/system. It shows up correctly in Luci. But what is the purpose of an empty menu?

Cheers
Oscar

Device, and Openwrt version ?

Its in the blue line of the image, hence I left out the info.
AVM 4040 (IPQ40XX)
stable built, 19.07.7

Missed that part :slight_smile:

Newly installed ? or did you upgrade ?

No recent change, did a sysupgrade some time ago (built is 4 weeks old). I did not care about this, but now I am struggling with cron. It drove me potty to fiddle with the factual local time -- system time difference (system time = UTC), as I did not set local time before.

Probably it showsw empty due to some config file formatting error.
Check your /etc/config/system for typos

1 Like

This can be excluded, as I did not touch the file manually:`cat /etc/config/system

config system
        option hostname 'OpenWrt'
        option timezone 'UTC'
        option ttylogin '0'
        option log_size '64'
        option urandom_seed '0'

config timeserver 'ntp'
        option enabled '1'
        option enable_server '0'
        zonename='Europe/Vienna'
        list server '0.openwrt.pool.ntp.org'
        list server '1.openwrt.pool.ntp.org'
        list server '2.openwrt.pool.ntp.org'
        list server '3.openwrt.pool.ntp.org'
        .....continues with LED setting`
`

See if # uci show system prints an error somewhere, any errors present might not be immediately visible in the human-readable configuration files.

I think that you have the zonename on the wrong section and the line is missing the keyword "option"

This is how I have it:

root@router1:~# cat /etc/config/system

config system
        option hostname 'router1'
        option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4'
        option zonename 'Europe/Helsinki'
        option ttylogin '0'
        option log_size '128'
        option urandom_seed '0'
        option compat_version '1.1'

config timeserver 'ntp'
        option enabled '1'
        option enable_server '0'
        list server '0.openwrt.pool.ntp.org'
        list server '1.openwrt.pool.ntp.org'
        list server '2.openwrt.pool.ntp.org'
        list server '3.openwrt.pool.ntp.org'

The missing the keyword "option" is likely the reason for your empty screen, as it causes a parsing erorr.. If I remove that "option", I get:

root@router1:~# uci show system
uci: Parse error (invalid command) at line 5, byte 1
2 Likes

I was just about to reset everything back to default...
Thank you @hnyman and @Borromini. The command revealed a wrong line in the config file and the example of hnyman guided much better than the OpenWRT wiki, which I believe has room for improvement.

I changed /etc/config/system to

config system
        option hostname 'OpenWrt'
        option timezone 'CET-1CEST,M3.5.0,M10.5.0/3'
        option zonename 'Europe/Paris'
         ......

and the result is
image

Cheers
Oscar

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.