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
{{ message }}
Repository navigation
[FeatureRequest]: DWC upgrades to replace existing www folder #509
Following internal conversation @dc42's suggestion is:
I'd prefer to see DWC upgrades done by unzipping to a new folder, then when complete renaming the old /www folder to a backup folder name (deleting any existing backup) and renaming the new one to /www. This would keep the folder clean and also deal with the case of the unzip/upload failing part way through.
Tony added:
the method needs to handle plugins as well, and ideally other UIs.
Tested and working. It works in SBC mode, too - that is useful to get rid of older dev builds.
It is worth noting that this does NOT rename the entire web directory as it'd likely break installed DWC plugin components, so it only cleans up obsolete DWC resources.
Activity
T3P3 commentedon Jul 15, 2026
only makes sense in stand alone mode (in SBC mode this is a symlink) - low priority
Added cleanup of obsolete web files after a DWC update (#509)
chrishamm commentedon Oct 26, 2026
Tested and working. It works in SBC mode, too - that is useful to get rid of older dev builds.
It is worth noting that this does NOT rename the entire web directory as it'd likely break installed DWC plugin components, so it only cleans up obsolete DWC resources.