Question

Photo of Knolly Shadrache

0

Rock Update issue - suggests 6.9 but 6.8 missing??

We are in the first phase of implementing Rock RMS. All going very so far - truly excellent software.

Recently when I update I'm getting this:

malformed_tag_Rock_2017-10-12_1236.png


When I look in wwwroot\App_code\App_Data\Packages I can see:

Photo 12-10-2017, 13 03 11.jpg

no 6.8?!!

I'm wondering if something broke at when we attempted a 6.8 update but I don't recall anything breaking at the time.

Any assistance would be greatly appreciated. Thanks

  • Photo of Nick Airdo

    1

    The best plan of action is to restore your file system and database back to the state before you updated and re-run the update.  Make sure it finishes successfully and you see the success message before you proceed with normal operations.

  • Photo of Knolly Shadrache

    0

    Oops - the pic is naff. Here's some text:

    Server Error in '/' Application. There is a malformed 'requires-' tag in a Rock package (1.0.12) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: There is a malformed 'requires-' tag in a Rock package (1.0.12) Source Error: The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application: Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. Stack Trace: [ArgumentException: There is a malformed 'requires-' tag in a Rock package (1.0.12)] RockWeb.Blocks.Core.RockUpdate.ExtractRequiredVersionFromTags(IPackage package) +346 RockWeb.Blocks.Core.RockUpdate.rptPackageVersions_ItemDataBound(Object sender, RepeaterItemEventArgs e) +216 System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +199 System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +659 System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +164 RockWeb.Blocks.Core.RockUpdate.OnLoad(EventArgs e) +1098 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


    The issue looks similar to https://www.rockrms.com/Rock/Ask/Troubleshooting/Questions/1258


    except our installation hasn't moved from anywhere so I don't think the solution proposed applies. Is there a way to fix a mis-applied update if that's what happened? thanks



  • Photo of David Stevens

    0

    I haven't seen this exact error before, but I would suggest moving the most recent nupkg to a different (backup) folder, restarting Rock, and seeing what the update page gives you.  It's possible the update package got corrupted while downloading to your local system?

    • Nick Airdo

      An even better alternative is to restore that folder to what it was just prior to the last update attempt. That way you know you back to a working state. The updater is a bit finicky about what it expects to find in that folder - namely the correct Rock.X.Y.Z.nupkg sitting there.

  • Photo of Knolly Shadrache

    0

    Thanks for getting back to me.

    Any idea where I can get the 6.8.nupkg from?

  • Photo of Knolly Shadrache

    0

    Not to worry - found it https://github.com/SparkDevNetwork/Rock-UpdatePackageBuilder/tree/master/InstallerArtifacts

  • Photo of Knolly Shadrache

    0

    OK so I put the 6.8 and 6.9 package into the folder, restarted Rock, and unfortunately nothing changed. Same error unfortunately