Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. aleksandarsh_4585
    3. Posts

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    A Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 29
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      f09f498a-3cc3-4158-b7d4-d8dd403818b9-image.png

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @aleksandarsh_4585

      ![0_1587476070357_b0f910aa-382b-4eca-964e-907ce31d1c54-image.png](Uploading 100%)

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Hi @atripp,

      I have gone through your steps, 1,2,3,4,5 - on this I got stuck.
      I have updated the DB but now when I try to start the BuildMaster Service it is stopping with the following message:

      7407c688-a75a-48a4-98aa-40da1fede45e-image.png .

      From EventWiever logs I got the following error:

      7903c914-d31b-469e-8725-57c2e1e394b2-image.png

      I have tried with restarting the Server but still got the same issue.

      What I can understand there is some issue with the db upgrade.

      Also just to let you know the hub for upgrading 6.1.27 and installing that version is not working at all.
      Only uninstall is working from this hub.

      I have made a new image of my BM fro production and created new server. I have successfully started the BM 5.8 copy, everything was working properly but when I upgrade again the version to 6.1.27 using the hub again I got the same issues that I have already reported to you.
      So I have uninstalled the BM, removed the db and tried to install using the hub. The hub did not install the 6.1.27 BM so I have deleted everything and downloaded the installer.
      After the installer finished I got up and running 6.1.27 version.
      I have stopped the services, restored the db from 5.8 version and extracted the dbupdater.
      After dbupdater finished I have tried to start the service and I was unable.
      It can be some issue with dbupdater? Is there another way?
      I can't see any other way how to do this update.
      Please check with your dev team. If you need I can send you my db or give you access from my server.
      Let's fix this issue.

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Hi @atripp, let's try your recommendation but please give me direct steps.

      1. How to make a backup on BM5.8?
      2. How to restore the backup on BM 6.1?
      3. After I install BM 6.1 fresh installation can I only take SQL backup from BM 5.8 and import to SQL BM 6.1 and everything will work properly?
      4. I need to guide me what first to do so I can make all the process properly.
      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Hi @rhessinger,

      I have taken a screenshot from the extensions, please check and let me know if you need more details.

      3926bda3-6719-40da-afa5-5785874a0843-image.png

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Is there any tool to make a full backup? or some commands which I can use in order to make a backup and restore on the new server?

      Regarding the reported issue for backup error, If I'm writing the fields correctly and it is all good it can be an issue because the application page is not working on my side.
      Because of that, I'm looking for some other type of backup.
      Also is there any way to use backup made from 5.8.3 BM version to be transferred on BM 6.2 version?
      I have a backup from 5.8.3 with all features working inside.
      My point is whether we can use this backup and restore it on 6.2?

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Hi@rhessinger

      I have tried to make a backup but with no success.
      I have Opened Backup Applications and under Package Source, I don't understand what exactly I need to write, because from the documentation it says file://{PACKAGE PATH}, this Package path means where the backup to be stored or I need first to have already generated package?
      I have tried with adding into Feed URL: file://C:/Backup - (Backup is the folder name which I have created in C). Also, I have tried to create with writing directly the path without file: I have just written C:/Backup but again I got the same error.
      Display name: BM
      Package type: Universal
      Credential: I have left this part as anonymous.
      After I click Save Package Source and I click on Backup Applications it is giving me the following error:
      Is there something that I miss or writing wrong?

      Unhandled exception: System.TypeLoadException: Could not load type 'Inedo.BuildMaster.Web.CustomEditorAttribute' from assembly 'BuildMasterCore, Version=6.1.27.1, Culture=neutral, PublicKeyToken=112cfb71329714a6'.
      at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
      at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
      at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
      at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
      at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
      at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
      at Inedo.ReflectionExtensions.GetCustomAttributes[T](ICustomAttributeProvider member)
      at Inedo.Serialization.Persistence.<FindAlternateType>g__findType|20_0(IEnumerable1 types, <>c__DisplayClass20_0& ) at Inedo.Serialization.Persistence.FindAlternateType(String typeName, String assemblyName) at Inedo.Serialization.Persistence.CreateInstance(String assemblyName, String typeName) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.BuildMaster.Pipelines.Pipeline.CreateFromTable(Pipelines pipelineInfo) at Inedo.BuildMaster.Applications.ImportExport.ExportedPipeline..ctor(Pipelines p) at Inedo.BuildMaster.Applications.ImportExport.ExportApplicationExecution.<>c__DisplayClass60_2.<ExportApplicationAsync>g__selectAndStorePipeline|8(Pipelines p) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
      at Inedo.BuildMaster.Applications.ImportExport.ExportApplicationExecution.WriteJson[T](ZipArchive zip, String entryName, IEnumerable`1 jsonArray)
      at Inedo.BuildMaster.Applications.ImportExport.ExportApplicationExecution.<ExportApplicationAsync>d__60.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at Inedo.BuildMaster.Applications.ImportExport.ExportApplicationExecution.<ExecuteAsync>d__59.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.BuildMaster.Windows.ServiceApplication.Executions.ManualExecution.<ExecuteAsync>d__8.MoveNext()

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Also before installing the new 6.2 version, should I take a backup of BM db 6.1 and restore on the new server and then to run the installer of 6.2?

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @atripp said in How to upgrade BuildMaster from 5.8.3 to latest version 6.2:

      /applications/4

      Sorry I have provided to you again the same error message from /all-applications.

      Please find the error message from /applications/4

      System.TypeLoadException: Could not load type 'Inedo.BuildMaster.Web.CustomEditorAttribute' from assembly 'BuildMasterCore, Version=6.1.27.1, Culture=neutral, PublicKeyToken=112cfb71329714a6'.
      at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
      at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
      at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
      at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
      at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
      at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
      at Inedo.ReflectionExtensions.GetCustomAttributes[T](ICustomAttributeProvider member)
      at Inedo.Serialization.Persistence.<FindAlternateType>g__findType|20_0(IEnumerable1 types, <>c__DisplayClass20_0& ) at Inedo.Serialization.Persistence.FindAlternateType(String typeName, String assemblyName) at Inedo.Serialization.Persistence.CreateInstance(String assemblyName, String typeName) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.Serialization.Persistence.DeserializeFromXElement(XElement objElement, Type expectedType) at Inedo.BuildMaster.Pipelines.Pipeline.CreateFromTable(Pipelines pipelineInfo) at Inedo.BuildMaster.Web.WebApplication.Controls.ReleaseStagesTimeline..ctor(Int32 applicationId, String releaseNumber, Nullable1 pipelineId)
      at Inedo.BuildMaster.Web.WebApplication.Controls.ReleaseOverview..ctor(Releases_Slim release)
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.ApplicationOverviewPage.<>c.<CreateChildControls>b__6_0(Releases_Slim r)
      at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
      at Inedo.Web.Controls.Element.<GetControlsFromArgument>d__41.MoveNext()
      at Inedo.Web.Controls.Element..ctor(String elementType, Object[] content)
      at Inedo.Web.Controls.Layout.TitledContainer..ctor(TitledContainerHeading heading, Object[] content)
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.ApplicationOverviewPage.CreateChildControls()
      at Inedo.BuildMaster.Web.WebApplication.Pages.BuildMasterSimplePage.<InitializeAsync>d__8.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.ApplicationOverviewPage.<InitializeAsync>d__5.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__47.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
      at System.Web.HttpApplication.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar)
      at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar).

      Also is there any toll to make a backup on my BM server (to collect all data) so I can transfer that on the new server where I will have 6.2 toll to take all that data?

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @atripp Yes, Application page is not available and I receive the error:

      dfc9e6d9-fbb6-4c34-8de2-3f6ce3e6842f-image.png

      But we would like to try to install the latest 6.2 version on a new server and to try to migrate all data from this issued one 6.1.27 in order to check if we can successfully bring up the BM.

      Can you please share with me the migration toll which I will need to use?
      And if there is documentation with details, what I will need to take(make backup and transfer) from the 6.1.27 version to the latest version 6.2.

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @atripp Your recommendation is confusing me. As I can see from the documentation which you have in order to migrate your BM project to 6.2 we should have v6.1. But we do not have BMv6.1 in working state, the upgrade fail. What we should do? We are stuck now and we don't know how to go further.

      For < v5.0 - first upgrade to v4.9.10, then v6.1.[latest], then migrate to 6.2
      For >= v5.0 - first upgrade to v6.1.[latest], then migrate to 6.2

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      I have upgraded to 6.1.27 and this is the latest version that I can upgrade to.
      If I want to upgrade to 6.2 it is failing with a message

      a5207c2d-49f9-451d-98c4-b1cd0d45e84c-image.png

      I have downloaded the BM Setup 6.1.27.

      fb62e41c-bea9-4283-bda1-5af4072a0383-image.png

      We are using legacy features, so is there any way to upgrade to 6.2 and still using it?

      Also please find the executed query which you have provided to me.

      41bfd3ac-3513-42a5-bc04-37cdd9b33995-image.png

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Any idea how to resolve this error message which is only under application link.

      e9f5ad21-ff39-4b6c-9284-7203ab0fd545-image.png

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @atripp Hey, I have executed the query, so please find the screenshot below.

      4feb8e33-35e4-4e7e-8ea7-093fac98a29c-image.png

      I have restarted the services and the server but I got the same issue.

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      Hello, I just want to let you know that I have successfully made the update of the SQL.
      When I log in to web I got new error message now, can you please tell me now what can be this issue?

      e145b702-a58f-47b8-94e7-1c4a0cea35d4-image.png

      Also when I run the query in the db I still get the same message: Invalid object name '__InedoDb_DbSchemaChanges'.

      select top 10 executed_date, Script_Guid, Script_Name from __InedoDb_DbSchemaChanges order by Executed_Date DESC

      Can someone help me with this?

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      @atripp Hey, the provided query didn't pass so we have updated it and it passed with no error.

      cb2e15f9-0f84-4ccc-a598-217574fbe471-image.png

      But as your colleague advised me to check in the db with the provided query I can see that still the Inedo db is missing:

      • Invalid object name '__InedoDb_DbSchemaChanges'.

      a1908c39-9363-434a-88c7-45face7ec185-image.png

      And I still have the same error message on web when I enter in the application.

      fe0ac6e3-994e-46b8-b523-df640503d7a7-image.png

      Please advise how to resolve this? Or if there is a way to downgrade and to try to upgrade BM again it will be better.
      If you have some other SQL update patch please provide to me.

      posted in Support
      A
      aleksandarsh_4585
    • RE: On production BM server when we try to deploy the build is failing

      I just want to let you know that our BM and the re-installed agent from the server got the communication and the build passed successfully. So we can close this issue. Thanks a lot for the fast answers.

      posted in Support
      A
      aleksandarsh_4585
    • RE: On production BM server when we try to deploy the build is failing

      We have tried to downgrade the agent on one server in order to check whether that will resolve the issue.
      We have the old agent installation on the server so we have uninstalled the agent which we think that is upgraded and installed the agent with the version from the BM server but we get new error message.
      Can you please check the error message and advise.

      e515293d-a693-480a-b7dc-036589ed3195-image.png

      posted in Support
      A
      aleksandarsh_4585
    • On production BM server when we try to deploy the build is failing

      When we try to deploy a new build we get an error message:

      25d1c6a5-6a46-40f9-8db9-ee27f966ebaf-image.png

      Please check the whole error message below.

      Unhandled exception: System.InvalidOperationException: The ConnectionString property has not been initialized.
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClient.RunJob(ITcpAgentCommand command, Action2 log) at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.Inedo.Agents.IRemoteMethodExecuter.InvokeMethodAsync(MethodBase method, Object instance, Object[] parameters) at Inedo.Agents.RemoteMethodExecuter.InvokeFunc[TResult](IRemoteMethodExecuter agent, Func1 method)
      at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue()
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.<.ctor>b__7_1()
      at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at Inedo.BuildMaster.Extensibility.Agents.LegacyRemoteFileOperationsExecuter.GetBaseWorkingDirectoryAsync() at Inedo.Agents.FileOperationsExecuter.GetBaseWorkingDirectory(IFileOperationsExecuter agent) at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.GetExecutionBaseDirectory(IFileOperationsExecuter agent, IGenericBuildMasterContext context) at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecutionContext.DetermineWorkingDirectory() at System.Lazy1.CreateValue()
      at System.Lazy`1.LazyInitValue()
      at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecutionContext.ResolvePath(String path)
      at Inedo.BuildMaster.Extensibility.Operations.Artifacts.DeployArtifactOperation.<ExecuteAsync>d__42.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()

      posted in Support
      A
      aleksandarsh_4585
    • RE: How to upgrade BuildMaster from 5.8.3 to latest version 6.2

      So from the extracted zip file for db update I have the following data.

      • http://prntscr.com/rz4h6m

      Web app Settings config is the following.

      • http://prntscr.com/rz4jhp

      I'm trying to update using the query which is in your docs

      • http://prntscr.com/rz4kn2

      and I'm unable to make the connection in order the exe file to update the SQL db.

      posted in Support
      A
      aleksandarsh_4585
    • 1 / 1