Just updated to 19.07.7 - What now?

Hello.

I just upgraded my router (Netgear R7800) to the latest version of OpenWrt. I've got a few errors regarding different config files in /etc/config/ from the config files in the new packages, but some other errors says uci: Entry not found.

Here is the result of opkg restore after the opkg update once the sysupgrade restarted the router
https://paste.debian.net/1187116/

So, I'll paste here the ones I have questions. I have tried to match the old and the new file but I need confirmation about the new files can be kept as I have them.

First is sqm package.
Old config file:

config queue 'wan'
        option debug_logging '1'
        option verbosity '5'
        option squash_dscp '1'
        option squash_ingress '1'
        option ingress_ecn 'ECN'
        option egress_ecn 'NOECN'
        option interface 'eth0.12'
        option download '180000'
        option upload '90000'
        option qdisc 'cake'
        option script 'piece_of_cake.qos'
        option qdisc_advanced '1'
        option qdisc_really_really_advanced '0'
        option enabled '1'
        option linklayer 'ethernet'
        option overhead '44'

and the new config file:

config queue 'wan' 
        option debug_logging '1'
        option verbosity '5'      
        option squash_dscp '1'    
        option squash_ingress '1' 
        option ingress_ecn 'ECN'  
        option egress_ecn 'NOECN'        
        option interface 'eth0.12'       
        option download '180000'         
        option upload '90000'            
        option qdisc 'cake'                    
        option script 'piece_of_cake.qos'      
        option qdisc_advanced '1'              
        option qdisc_really_really_advanced '0'
        option itarget 'auto'                  
        option etarget 'auto'      
        option enabled '1'         
        option linklayer 'ethernet'
        option overhead '44'

Can I use this new file? Is it ok? I restarted sqm returned no visible errors.

The next case is ddns

Old file:

config ddns 'global'
        option ddns_loglines '250'

config service 'noip_ddns'
        option enabled '1'
        option use_ipv6 '0'
        option interface 'wan'
        option service_name 'no-ip.com'
        option update_script '/usr/lib/ddns/update_no-ip_com.sh'
        option domain '[REPLACED]'
        option username 'PsySc0rpi0n'
        option password '[REPLACED]'
        option use_https '1'
        option cacert '/etc/ssl/certs'
        option use_syslog '1'
        option use_logfile '1'
        option ip_source 'network'
        option ip_network 'wan'
        option force_ipversion '0'
        option check_interval '10'
        option check_unit 'minutes'
        option force_interval '72'
        option force_unit 'hours'
        option retry_count '5'
        option retry_interval '60'
        option retry_unit 'seconds'
        option lookup_host '[REPLACED]'

and the new file is:

config ddns "global"
option ddns_dateformat "%F %R"
option ddns_loglines "250"
option upd_privateip "0"
config service "myddns_ipv4"
option service_name     "dyndns.org"
option lookup_host      "yourhost.example.com"
option domain           "yourhost.example.com"
option username         "your_username"
option password         "your_password"
option interface        "wan"
option ip_source        "network"
option ip_network       "wan"
config service "myddns_ipv6"
option update_url       "http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]"
option lookup_host      "yourhost.example.com"
option domain           "yourhost.example.com"
option username         "your_username"
option password         "your_password"
option use_ipv6         "1"
option interface        "wan6"
option ip_source        "network"
option ip_network       "wan6"

Can I still use the old file as is?

I'll be adding next ones in a few minutes... Hope I can get some help!
Tanks
HS

From which version did you upgrade?

2 Likes

UCI is trying to apply config defaults to reset/convert settings from earlier versions, but fails because the configs have already been set up:

It doesn't seem to be critical, so it should be fine.

2 Likes

I updated from .5 iirc. I installed OpenWrt, for the first time, more or less 1 year ago.

I think I managed to clean the errors. I don't get the same errors if I try to upgrade the same packages, so I think it's all good!

Thank you

1 Like

If you upgraded from 19.07.5 then it is not an issue to keep the existing configuration. The errors you got are normal, mostly because the install script found the configuration files carried over the upgrade.
Keep in moind though that moving from one major release to another (e.g 18.06.8 -> 19.07.7) might cause problems due to incompatibility of configuration files. A clean upgrade with manual reconfigure is strongly advised.

3 Likes

Thank you for the update. I was aware about the updates from major release to a newer major release. I read it somewhere in the wiki, iirc.

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