Copied to clipboard

Flag this post as spam?

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


  • Srdjan Lukic 34 posts 166 karma points
    Mar 09, 2023 @ 10:06
    Srdjan Lukic
    0

    Deploy Umbraco 11 to Curanet hosting

    Hi Guys

    I'm new to Umbraco 11 and have mostly workeding with Umbraco 7 and 8.

    I got it all working on my local host. And now I want to deploy the solution to the public host. Its justIt'sbasic sting with FTP access.

    I'm using the "dotnet publish" CLI and now I want to upload the code to the server. But when I upload all files I just get a blank page.

    I'm Using SQL Lite on this site.

    So what steps am I missing? Or do I need a special like of hosting? The server is running core.net.

    http://styrkvsp.dk.web15.curanetserver.dk

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Mar 09, 2023 @ 10:16
    Huw Reddick
    0

    does your server support .net core 7 ?

  • Srdjan Lukic 34 posts 166 karma points
    Mar 09, 2023 @ 10:27
    Srdjan Lukic
    0

    I just wrote to the provide. All I can see is that they support .Net Core not what version.

    So Umbraco 11 only supports Core 7 ?

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Mar 09, 2023 @ 10:35
    Huw Reddick
    0

    So Umbraco 11 only supports Core 7

    yes, that is correct

  • Srdjan Lukic 34 posts 166 karma points
    Mar 09, 2023 @ 11:27
    Srdjan Lukic
    0

    I got the answer from the hosting provider. And that say:

    As long as I use Self Contained Deployment then I can run Core 7 projects.

    Me looking blank at a computer screen

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Mar 09, 2023 @ 11:31
    Huw Reddick
    0

    Me looking blank at a computer screen

    Yes, me too :D, however the link below may help

    https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-7.0

  • Srdjan Lukic 34 posts 166 karma points
    Mar 09, 2023 @ 12:10
    Srdjan Lukic
    0

    I came across this CLI : dotnet publish -c Release -r win-x64 -o ./publish-64 --self-contained and apparently this should do the trick. but still no output.

    Do I need to set up something in my web config, about the SQL lite or is that automatically imported as part of build?

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Mar 09, 2023 @ 13:16
    Huw Reddick
    0

    If you are getting nothing at all then it would appear the umbraco app is not running at all, if it was but something was wrong then I would expect some sort of error to be generated.

    Perhaps you could ask your host if anything is being recorded in the servers event logs

Please Sign in or register to post replies

Write your reply to:

Draft