V13 to V14 upgrade within Docker container
# help-with-umbraco
a
I've been following along with @CarlCod_es and the docker workshop and if running fine for V13, but has anyone else come across an error when trying to upgrade? I'm coming across the following: error:invalid_request error_description:This server only accepts HTTPS requests. error_uri:https://documentation.openiddict.com/errors/ID2083
c
The error in the link points to "This server only accepts HTTPS requests." - is that what you mean? I've not seen that before myself. Are you using OpenIdDict in the container?
when you upgrade, are up updrading the code outside the container, and then building a new container image?
a
It's the first time I've been using Docker to run Umbraco so I ran through the workshop for V13. All working fine but wanted to see how the upgrade would work. Updated to V14 in the solution and the reference in umbWeb and included unattended install in the app settings and ran the docker compose. Website was running but it's once I try and head to /umbraco (which I think then tries to run the install) that I get that error message. I'm guessing it's a HTTPS issue? Sorry if I'm totally missing something quite a few new things in here for me
s
You need to do some configuration to make it run on an insecure connection: https://github.com/umbraco/Umbraco-CMS/pull/16614
So in short, in appsettings, set
Umbraco:CMS:Global:UseHttps
to
false
.
c
Ah - nice one Seb.
How on earth do you keep a track of all this 🙂
a
Ah ace! Thanks both
s
I don't! 😅 I'm pretty good at searching for hunches though haha
c
Excellent find - I'll make sure I make a note of this when I publish the v14 version of the workshop 🙂
22 Views