Upgrading Rancher from v0.41.0 to v1.1.3: Old UI still crops up

So we followed the upgrade instructions with the data container.
http://docs.rancher.com/rancher/latest/en/upgrading/#upgrading-rancher-by-creating-a-data-container

It is quite a jump, but we were able to complete the update with no disruptions. The only issue that was reported is that the UI defers to the old UI on some URLs.

rancher.example.com:8080/env/1a7/infra/hosts – New UI
rancher.example.com:8080/infra/hosts – Old UI
rancher.example.com8080/apps – Old UI

This is just a low priority task that I think won’t get done without some pointers.
Has anyone dealt with this issue?
Any hints on where to look?

Thanks,

This sounds like you just have old HTML cached in your browser; neither of those “Old UI” URLs are valid anymore.

Caching is indeed the culprit, incognito mode just produces the 404 page.
Though some devs didn’t want to clean their cache from the ‘beginning of time’ to get a fix. (forms, passwords, etc)

At first clearing scripts cache just for the /apps page still kept redirecting, but we found the issue, the root URL on v0.41.0 caches a script that contains a client-side redirect to /apps. Had to attach a debugger and clean the cache before it does the redirect.

The current headers shouldn’t cause the situation in the first place, but can’t do anything about what was set a year ago…

FYI (since you said “beginning of time”) Chrome Dev tools -> Application -> Clear Storage will clear everything for only a single domain.

1 Like

Yup, works like a charm. Thanks for the tip!