New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gonzo-1.1.0-rc1 update from Hedy 1.0.x does not run the migration script #710
Comments
How long did you wait? The hostnames of nodes reachable by olsrd are updated every 5 minutes. Do you still have this problem? Take a look in /tmp/hosts/olsr to see if there are any entries.
same as above.
What was the version installed before? Can you please post the file /root/migrate.log?
Again, what was the version installed before? Can you please post the file /root/migrate.log? |
I have found to problem. The migration script is not running. That means that the config files are not being updated to the latest version. If you want to do it manually, edit the file /etc/config/olsr and /etc/config/olsrd and change the library names from I am changing the title of this issue to reflect the real cause of the problem. |
The problem is with the variable CONFIG_VERSION_NUMBER. It needs to be changed. It will be changed in rc2 to "1.1.0-rc2-Gonzo" as this is the only way to get the name "Gonzo" to show up anywhere in LuCI or the shell banner and still work with migration. Eventually, it will be "1.1.0-Gonzo" when we release. It doesn't necessarily conform to "semantic versions" but who wants to conform anyhow? CONFIG_VERSION_NICK has been dropped upstream, which was the place where we put things like "Hedy" and "Kathleen". https://lists.infradead.org/pipermail/openwrt-adm/2017-October/000636.html |
Thanks for the really fast digging and analyzing. Base before update: the content of the migration.log: Tried your hints of doing it manually without success. Thanks again |
Please see #515 regarding the naming-options. What about using
This might require switching the migration script to DISTRIB_REVISION |
That is exactly what I want, but how do I get those values into /etc/openwrt_release? The options I have are
These values feed into /etc/openwrt_release. And since NICK was dropped upstream, we don't have it either. https://lists.infradead.org/pipermail/openwrt-adm/2017-October/000636.html |
and the migration-script need to be changed to check the value of DISTRIB_REVISION in place of DISTRIB_RELEASE (https://github.com/freifunk-berlin/firmware-packages/blob/151711fd5ab571d85fcad8e44d6e291b386475c2/utils/freifunk-berlin-migration/uci-defaults/freifunk-berlin-01-migration.sh#L15) |
new test with gonzo-1.1.0-rc2 Base before update: on GI-AR150 with firmware: TL WDR 3600 v1 with firmware: Think we can close this Issue |
Installing freifunk-berlin-bbbdigger on a new installed Gonzo 1.0.0 RC:
no problem after waiting a while.
After installing freifunk-berlin-bbbdigger on an updated machine:
No access to olsr-devices after updating
On workstation:
ping 10.230.18.1 --> OK
ping chris-core.olsr: Der Name oder Dienst nicht bekannt.
on freifunk-router:
ping 10.230.18.1 --> OK
ping chris-core.olsr: bad address 'chris-core.olsr'
In Luci:
OLSR | Nachbarn:
OLSR Daemon
Es konnte keine Verbindung zu OLSR-Daemon hergestellt werden
same experience on GI-AR150 with firmware:
freifunk-berlin-gonzo-1.1.0-rc1-c8948db-gl-ar150-sysupgrade.bin
and TL WDR 3600 v1 with firmware:
freifunk-berlin-gonzo-1.1.0-rc1-c8948db-tl-wdr3600-v1-sysupgrade.bin
The text was updated successfully, but these errors were encountered: