Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Meni 164 posts 197 karma points
    Feb 15, 2021 @ 17:12
    Meni
    0

    How to upgrade Umbraco 7.15.6 website to Umbraco 8?

    Hi, any good tutorial on how to upgrade Umbraco 7.15.6 website to Umbraco 8?

    I tried this one:

    https://umbraco.tv/videos/umbraco-cloud/umbraco-cloud-tutorials/upgrades/migrate-an-umbraco-cloud-project-from-7-to-8/introduction/

    But apparently it's for Umbraco cloud, so it's not for me. I tried this tutorial, but I had issues with production as I pasted the .sdf file in the local App_Data and the connection string in web.config was connected to production.

    So basically what I need is a tutorial that explains how to migrate a regular Umbraco 7 site to Umbraco 8. How to retrieve the Database from Azure. Where to put it locally in order to connect to it locally without affect production.

    How to edit the local web,.config to connect the local database, and not production.

    Thanks.

  • Alexandru Rustin 5 posts 84 karma points
    Feb 15, 2021 @ 17:39
    Alexandru Rustin
    0

    I would check out this page

    https://our.umbraco.com/documentation/getting-started/setup/upgrading/migrating-to-v8#:~:text=Due%20to%20this%2C%20it%20will,been%20implemented%20in%20Umbraco%208.1.

    This explains what you need to do regarding umbraco step by step.

    For the other question a simple search to stackoverflow points to this :

    https://stackoverflow.com/questions/5475306/how-do-i-copy-sql-azure-database-to-my-local-development-server#:~:text=In%20SQL%20Server%202016%20Management,your%20database%20to%20a%20local%20.

    If possible, you can work on a copy/backup directly on azure, even easier in my opinion.

  • Paul Wright (suedeapple) 264 posts 666 karma points
    Feb 15, 2021 @ 17:54
    Paul Wright (suedeapple)
    0

    How big is the site?

    It maybe quicker just to install version 8, and manually input the data again.

    If it takes you 1 Day, then that might be quicker than spending 5 days trying to find an upgrade solution.

  • Meni 164 posts 197 karma points
    Feb 15, 2021 @ 18:13
    Meni
    0

    It's an online magazine, few thousands posts. You mean clean installation, then to import locally all the data?

    How do I do it?

    I need a simple tutorial of how to migrate 7.15.7 to Umbraco 8. That's it

  • Paul Wright (suedeapple) 264 posts 666 karma points
    Feb 15, 2021 @ 18:16
    Paul Wright (suedeapple)
    0

    In that case, have you had a read of the official documentation?

    https://our.umbraco.com/documentation/Getting-Started/Setup/Upgrading/version-specific

  • Meni 164 posts 197 karma points
    Feb 15, 2021 @ 18:36
    Meni
    0

    Yes, but I need something more specific.

    1. How do I get the database from Azure? I downloaded a .bacpac file size ~60mb - is it the database?

    2. How do I connect to this database?

    Any other steps when I install locally?

  • SkyTheLine 32 posts 102 karma points
    Feb 17, 2021 @ 14:52
    SkyTheLine
    0

    Hi

    About Azure:

    Go to your database and on the top bar click on "export".

    after that use a Storage Account, where the .bacpac should be downloaded.

    After that use the creds. from your database. If you're not sure, you can find it in your web.config from your wwwroot Umbraco installation.

    For downloading the .bacpac to your local machine use "Azure Storage Explorer" https://azure.microsoft.com/en-us/features/storage-explorer/

    go to your tenant/Storage Account and download the file.

  • Meni 164 posts 197 karma points
    Feb 18, 2021 @ 04:49
    Meni
    0

    Hi, thanks. I did it. Now how can I connect to it locally? Not sure what I need to edit in the web.config

    This is how it's in my web.config:

     <add name="umbracoDbDSN" connectionString="Server=*******,****;Data Source=*******;Initial Catalog=*****;Persist Security Info=********;User ID=*******;Password=****; ... ... " providerName="System.Data.SqlClient" />
    

    What should I put instead?

    Also, where should I put the .bacpac - inside App_Data? or just in any folder and just give the path?

    Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies