Hmm, I'm not that crazy..
I tested it on local and test so far.
I had issues after updating the version of which the most important was that all bundles stopped working - which still needs resolving as I have no idea why it happened.
You can again start with v 7.6 site and download test database and setup locally. Now, upgrade the site to v7.15.1. Once all completed then copy back the database to server as well as the new folder/files.
We have tried both the options earlier and they will work for you.
This is my Plan B after the first attempt didn't work.
We've update from nuget though and I can't see any advantages doing it from zip file..
I tried this but this needs live site being off-line for the time of setup locally which may be too long. Anyway we can't restore on live as we use different db server version there and no chance for upgrading right now.
I thought there might be another way but in this case I will try 1.
The site that you've already upgraded through nuget should be fine to deploy, it just needs to know that the database hasn't been upgraded yet. If you've deployed the web.config from your local upgrade to the test site, it'll expect that it's already looking at a 7.15.1 database.
If you set umbracoConfigurationStatus in web.config back to "7.6.0", the test site will then know that the database needs to be upgraded.
What's the best way to upgrade from 7.6 to 7.15.1 (including db upgrade)
I am trying to upgrade the site from v 7.6 to v. 7.15.1
I have done the upgrade on localhost which included updating the db.
Now I transferred my files from localhost o the test site and on there I am getting an error in log:
and I can't login to the backoffice.
It seems to be looking for
umbracoUserLogin
on test while it doesn't exist yet because on test the db is not updated yet.How to update the db on test in this case while the files have already been updated on localhost and transferred to test site?
Hi Manila
How did you do upgrade locally?
THanks,
Alex
Via nuget
Hi Manila
Did you deploy all your files on live?
Thanks,
Alex
Hmm, I'm not that crazy.. I tested it on local and test so far.
I had issues after updating the version of which the most important was that all bundles stopped working - which still needs resolving as I have no idea why it happened.
So obviously I cannot do it straight on live.
Hi Manila,
You need to run the upgrade on test site too as it will update the database.
You have 2 options:-
Do the same process on Test site. But you need to try Manually Upgrading from a zip file package rather than nuget. https://our.umbraco.com/documentation/getting-started/setup/upgrading/general
You can again start with v 7.6 site and download test database and setup locally. Now, upgrade the site to v7.15.1. Once all completed then copy back the database to server as well as the new folder/files.
We have tried both the options earlier and they will work for you.
Regards, Shaishav
This is my Plan B after the first attempt didn't work. We've update from nuget though and I can't see any advantages doing it from zip file..
I tried this but this needs live site being off-line for the time of setup locally which may be too long. Anyway we can't restore on live as we use different db server version there and no chance for upgrading right now.
I thought there might be another way but in this case I will try 1.
The site that you've already upgraded through nuget should be fine to deploy, it just needs to know that the database hasn't been upgraded yet. If you've deployed the web.config from your local upgrade to the test site, it'll expect that it's already looking at a 7.15.1 database.
If you set
umbracoConfigurationStatus
in web.config back to "7.6.0", the test site will then know that the database needs to be upgraded.That is a good information, I'll try it soon. Thanks
It worked to the point whn I deployed the upgraded site to test and started the db upgrade process.
Unfortunately I got an error just at the beginning:
Full stack:
So it still has problems with old db structure.
@manila I answered your question here, please see my answer on stackoverflow for your question.
Hi, yes, I saw your answer. I had no time to try the upgrade up to now though.
See my comment above with the error stack.
Yes, App_Data has been cleared.
It has a problem with db though, not sure which table as the error isn't very specific.
Hi, yes, I saw your answer. I had no time to try the upgrade up to now though.
See my comment above with the error stack.
Yes, App_Data has been cleared.
It has a problem with db though, not sure which table as the error isn't very specific.
I tried all suggested options from this post: https://our.umbraco.com/forum/templates-partial-views-and-macros/77037-invalid-column-name-controlid-when-i-try-to-restore-my-local-db-in-server-sql-server but nothing helped.
Adding the db user role "sysadmin" worked so I now upgraded the db in the test environment.
is working on a reply...