Centos 7 Clonedeploy 1.4.0 Image Profile Template Exception & Update Server Settings



  • Hi,
    after update clone deploy from 1.3.5 to 1.4.0 follow manual and get exception when I try to enter Image Profile Template or Update Server Settings

    (After Login to CloneDeploy with an admin account update the database not prompted ...)

    System.NullReferenceException
    Object reference not set to an instance of an object
    Description: HTTP 500.Error processing request.
    Details: Non-web exception. Exception origin (name of application or object): CloneDeploy-Web.
    Exception stack trace:
    at CloneDeploy_Web.views.admin.profiletemplate.DisplayForm () [0x00030] in <778d01da3d4d40b881b73113d88aed84>:0
    at CloneDeploy_Web.views.admin.profiletemplate.Page_Load (System.Object sender, System.EventArgs e) [0x0002d] in <778d01da3d4d40b881b73113d88aed84>:0
    at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00023] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Control.cs:1179
    at System.Web.UI.Control.LoadRecursive () [0x00028] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Control.cs:1578
    at System.Web.UI.Page.ProcessLoad () [0x0004a] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1379
    at System.Web.UI.Page.ProcessPostData () [0x00047] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1364
    at System.Web.UI.Page.InternalProcessRequest () [0x001a1] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1337
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1190
    Version Information: 5.12.0.301 (tarball Fri Jul 20 15:09:05 UTC 2018); ASP.NET Version: 4.0.30319.42000

    Update Server Settings

    System.NullReferenceException
    Object reference not set to an instance of an object
    Description: HTTP 500.Error processing request.
    Details: Non-web exception. Exception origin (name of application or object): CloneDeploy-Web.
    Exception stack trace:
    at CloneDeploy_Web.views.admin.server.serversettings.btnUpdateSettings_OnClick (System.Object sender, System.EventArgs e) [0x00333] in <778d01da3d4d40b881b73113d88aed84>:0
    at System.Web.UI.WebControls.LinkButton.OnClick (System.EventArgs e) [0x00019] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI.WebControls/LinkButton.cs:218
    at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent (System.String eventArgument) [0x0002b] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI.WebControls/LinkButton.cs:88
    at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String ea) [0x00000] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI.WebControls/LinkButton.cs:94
    at System.Web.UI.Page.RaisePostBackEvent (System.Web.UI.IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1525
    at System.Web.UI.Page.RaisePostBackEvents () [0x000ad] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1508
    at System.Web.UI.Page.ProcessRaiseEvents () [0x00055] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1390
    at System.Web.UI.Page.InternalProcessRequest () [0x001a7] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1338
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in /builddir/build/BUILD/mono-5.12.0.301/mcs/class/System.Web/System.Web.UI/Page.cs:1190



  • Removing /usr/share/httpd/.mono & /etc/mono/registry

    Solve problem.



  • Thanks for the update, looks like differences b/w mono versions. The latest version of Mono doesn't work without those directories, seems strange that creating them would break older versions. I'll update the guide.



  • I remove this directories because they had old data in them and after this created them again



  • Can I update mono to the latest version ? ( problem with new version fixed ?)



  • as far as I know it should work as long as you run the inotify commands



  • ive been running centos 7 with mono 5.18 without issue



  • Thank you
    Mono 5.18.0.268 all working