Copied to clipboard

Flag this post as spam?

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


  • Guy Malfait 23 posts 74 karma points
    Feb 17, 2016 @ 09:50
    Guy Malfait
    0

    WARN Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - No models

    I've recently upgraded a site from 7.3 to 7.4, but it's been running very slow since.

    I've had a look at the log file and there are hundreds of these messages

    " 2016-02-17 09:42:32,127 [P4916/D3/T9] WARN Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - No models."

    Any ideas, please?

    Guy

  • Guy Malfait 23 posts 74 karma points
    Feb 17, 2016 @ 10:30
    Guy Malfait
    0

    I actually fixed it myself ...

    I changed

     <add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />
    

    to

    <add key="Umbraco.ModelsBuilder.ModelsMode" value="Dll" />
    

    in web.config.

    Can anyone shed some light on what went wrong?

    Regards

    Guy

  • Stephen 767 posts 2273 karma points c-trib
    Feb 17, 2016 @ 16:51
    Stephen
    100

    Running with PureLive, we generate and use models automatically. That is, assuming we can generate models. If generation fails for some reason, the factory will complain it has no models, hence the error message that you are seeing.

    Changing to Dll (or disabling the models builder) means that the "live" factory is not active anymore and stops complaining. However... you still don't have models.

    That is fine if you do not want models. But if you want models, you should look for errors in Umbraco's log, telling you why models generation is failing.

    In a next version (soon) that error will be reported in the models builder dashboard.

  • Guy Malfait 23 posts 74 karma points
    Feb 18, 2016 @ 14:25
    Guy Malfait
    0

    Thx Stephen

  • Stephen 767 posts 2273 karma points c-trib
    Feb 19, 2016 @ 11:51
    Stephen
    0

    In addition, see issue http://issues.umbraco.org/issue/U4-8035 - next version will stop flooding the log with hundreds of messages.

Please Sign in or register to post replies

Write your reply to:

Draft