Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Dec 10, 2021 @ 16:00
    Craig100
    0

    Deployment issues

    Have just upgraded a V8 site to V9.1.2 on Linux and deployed (via FTP) to Windows shared hosting. The site runs fine locally, but once deployed, if I look at the ModelsBuilder section in Settings I get the following error:-

    Server error: Contact administrator, see log for full details.
    Failed to get dashboard
    

    But there is nothing in the Log Viewer, but there is this in the console:- enter image description here

    If I open a docType for editing I get:-

    Server error: Contact administrator, see log for full details.
    Failed to get models out-of-date status
    

    And the console errors are:- enter image description here

    The Health Checks for Permissions all pass.

    As this is sitting on shared hosting, the fact that whatever the api is calling can't access "D:\HostingSpaces" gives me the impression the modelsbuilder api is referencing too many segments back in the path, i.e. above the web root.

    Any advice would be appreciated.

    Rgds,

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Dec 13, 2021 @ 20:10
  • Greg Fyans 140 posts 342 karma points
    Feb 10, 2022 @ 13:29
    Greg Fyans
    0

    Hi, I just deployed my first v9 site to IIS and I got the "Failed to get models out-of-date status" error.

    If I set my Umbraco:ModelsBuilder:ModelsMode setting to "Nothing" the error goes away. This is the setting it should be when hosted as we don't edit settings on the server.

  • Rizwan 28 posts 138 karma points
    Aug 24, 2022 @ 05:21
    Rizwan
    0

    Dear Craig,

    Did you solved the problem? i am also facing the same issue.

  • Craig100 1136 posts 2523 karma points c-trib
    Aug 24, 2022 @ 07:55
    Craig100
    0

    Hi Rizwan,

    See the link and GitHub discussion 3 messages up from here. It's not "fixed" as such. Basically you can't modify things that need compilation on the fly on normal hosting.

    HTH

Please Sign in or register to post replies

Write your reply to:

Draft