Copied to clipboard

Flag this post as spam?

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


  • Sławomir 4 posts 76 karma points
    Sep 01, 2022 @ 08:20
    Sławomir
    0

    Cannot start Umbraco 10.1 on Ubuntu 22.04

    I'm trying to run Umbraco on Ubuntu server and during startup I'm getting that error:

    Unhandled exception. System.ArgumentException: The path must be absolute. (Parameter 'root') at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters) at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.

    • Clean and fresh Ubuntu
    • dotnet 6
    • Empty Umbraco project with SQLite as DB

    Do you have any idea what it might be?

  • Søren Kottal 705 posts 4500 karma points MVP 6x c-trib
    Sep 01, 2022 @ 09:08
    Søren Kottal
    1

    Looks like the error message it gives when your .net sdk version is too low. Try upgrading that one.

  • Sławomir 4 posts 76 karma points
    Sep 01, 2022 @ 11:49
    Sławomir
    0

    Is it?

    ubuntu@vps-41243adb:~$ dotnet --info
    .NET SDK (reflecting any global.json):
     Version:   6.0.108
     Commit:    4e3a463d2b
    
    Runtime Environment:
     OS Name:     ubuntu
     OS Version:  22.04
     OS Platform: Linux
     RID:         ubuntu.22.04-x64
     Base Path:   /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108/
    
    global.json file:
      Not found
    
    Host:
      Version:      6.0.8
      Architecture: x64
      Commit:       55fb7ef977
    
    .NET SDKs installed:
      6.0.108 [/usr/lib/dotnet/dotnet6-6.0.108/sdk]
    
    .NET runtimes installed:
      Microsoft.AspNetCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 6.0.8 [/usr/lib/dotnet/dotnet6-6.0.108/shared/Microsoft.NETCore.App]
    
Please Sign in or register to post replies

Write your reply to:

Draft