You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used OWUT to upgrade a configured x86/64 device from OpenWRT version 24.10.0-rc4 (with default partition size) to 24.10.0-rc5 with the rootfs expansion option.
Specifically, I ran: 'owut upgrade -S 1024'
Although the version upgrade succeeded, upon reboot I noticed that the previous configuration was cleared. ( All settings were back to default, such as LAN IP, blank root password, http was not enabled for LuCI, etc. )
I had made a backup on rc4 immediately before upgrading, so was able to easily restore settings.
The configuration loss was likely a result of the partition resize process.
I am reporting this in hopes that there is a possible future workaround, or at least as an informational addition to the OWUT documentation / FAQ. Thank you.
The text was updated successfully, but these errors were encountered:
His issue is resolved, but I asked @JustAnotherEndUser to log this to track improvements that at least reduce the need to dig out the wiki article, and best case fix the issues with sysupgrade that cause loss of config when upgrading.
@dangowrt Quick question: would I be correct in saying that if I detect /sys/class/block/mtdblock* on an OpenWrt device, then its root file system cannot be expanded?
I'm on sort of a side quest to this issue; I would like to suppress --rootfs-size from appearing in owut's options on devices where it makes no sense, and poking around, that looks like a candidate. Are there devices with no mtdblock but instead have only ubiblock devices serving my purpose (i.e., should I look for both)? Are there others? (My hardware selection is quite limited, so I'm sort of guessing on all of this.)
I used OWUT to upgrade a configured x86/64 device from OpenWRT version 24.10.0-rc4 (with default partition size) to 24.10.0-rc5 with the rootfs expansion option.
Specifically, I ran: 'owut upgrade -S 1024'
Although the version upgrade succeeded, upon reboot I noticed that the previous configuration was cleared. ( All settings were back to default, such as LAN IP, blank root password, http was not enabled for LuCI, etc. )
I had made a backup on rc4 immediately before upgrading, so was able to easily restore settings.
The configuration loss was likely a result of the partition resize process.
I am reporting this in hopes that there is a possible future workaround, or at least as an informational addition to the OWUT documentation / FAQ. Thank you.
The text was updated successfully, but these errors were encountered: