LIfetime cannot sync apps

LIfetime cannot sync apps

  

Hi,

My lifetime environment suddenly stoped syncronization with development environment, and for that,  all updates i made, cannot be published for the quality and production environments.

With Service studio, all modifications are saved on development, but for same reason, the lifetime don't syncronize with the development, and so, cannot catch the new changes and new versions.

Please help,

Fernando Oliveira 

Hi,

The server where Lifetime is running must have network access to the development environment. I believe it connects to Service Center's web service to gather data, through ports 80/443.

Hope I'm not stating the obvious but check if you can reach service center web page from the server where the Lifetime role is deployed.

Hope this sets you up in the right direction.


EDIT: Meanwhile found this post with so much more info on this subject: https://www.outsystems.com/forums/discussion/9817/lifetime-ports/

Hi Fernando,

If Lifetime is still pending synchronisation, have you taken a look into the logs on Service Center of the Lifetime environment? Were there any changes recently, in terms of authentication or security settings?

Hi all,

From lifetime i can get to all  environments (included dev).

I made a small change on the reverse proxy, for that all environments also can be call by other url name.

Explaining, in the past, i had : dev.domain1.pt, qual.domain1.pt, prod.domain1.pt and lifetime.domain1.pt

On reverseproxy (TMG) i setup for that the solution also can resolve these new names: dev.domain2.pt, qual.domain2.pt, prod.domain2.pt and lifetime.domain2.pt

And all works, i can get to all environments with the new url name, as well as from servicestudio. Only this issue with lifetime, and only discovered when has the need to publish new changes.

On lifetime i have this error (attachment) from eSpace LifetimeEngine.

Thanks by the help,

Fernando Oliveira

Hi Fernando,

I was asking if you changed something in Authentication or Security Settings. Haven't you made any changes related to HTTPS or SSL certificates? It looks like Lifetime is making a call on http to an environment that only accepts https. By the way, which version are you on?

It might be easier to open a ticket to OutSystems support, as you probably need to share some private information to solve this, which is not recommended here. Anyway, let us know what details you can provide about my questions above.

Solution

Hi Tiago, 

Thanks by the help. 

I already fixed the problem. On lifetime, i registered the same dev environment with the new name, and for now it seems that all works.

Thanks Again,

Fernando Oliveira

Solution

Hi, I tried to install the application Track Project example but this one giving error. This occurred in 3 different machines, it follows the problem:

Upgrading: No need to upgrade Application.
Uploading: Uploading Application.
Uploading Extension: Uploading Extension utilsTrackproject.
Uploading eSpace: Uploading eSpace trackproject.
Creating Application: Creating Application 'Track_Project'.
Verifying: Verifying the Application consistency and permission settings.
Upgrading Modules: Upgrading and refreshing modules of 'Track_Project'.
Upgrading Module: Upgrading module 'utilsTrackproject'
(Info) New Version Created: A new 'utilsTrackproject' version was created since the extension was upgraded.
(Info) Verifying: Verifying Extension definition.
(Info) Updating Source Code: Updating Extension source code.
(Info) Compiling: Compiling Extension.
(Info) Compiler Output: .NET Compilation.

Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Web", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
  utilsTrackproject -> C:\Windows\TEMP\3684c8c5-ff6d-4efe-aefb-aba46bf56fe1\utilsTrackproject\Source\NET\bin\OutSystems.NssutilsTrackproject.dll
(Info) Saving: Saving Extension to disk.
Upgrading Module: Upgrading module 'trackproject'
Error loading eSpace: System.InvalidOperationException: Condition is false
   at DebugExtensions.MustBeTrue(Boolean cond)
   at ServiceStudio.Import.ImportExtensions.InnerCreateTopLevelReferenceElement(AbstractObject originallyReferedObject, ESpace targetESpace, Nullable`1 hiddenStatus)
   at ServiceStudio.Import.ImportExtensions.CreateTopLevelReferenceElement(AbstractObject originallyReferedObject, ESpace refererOwnerESpace, Boolean directReference)
   at ServiceStudio.Import.ImportExtensions.GetTopLevelReferenceOrReferenceElementOnImport(IReferer referer, AbstractObjectIdentifier originallyReferedObjectIdentifier, Boolean directReference, IImporter importer, Boolean isEntityIdentifier)
   at ServiceStudio.Import.RecordObjectReferenceAdditionalData.GetRecord(IReferer referer, Boolean directReference, IImporter importer, Boolean isEntityIdentifier)
   at ServiceStudio.Import.ImportExtensions.GetRecordObjectOnImport(CreateReferenceOnImportArgs args, Boolean directReference, Boolean isEntityIdentifier)
   at ServiceStudio.Import.ImportExtensions.GetEntityIdentifierTypeOnImport(CreateReferenceOnImportArgs args)
   at ServiceStudio.Model.EntityIdentifierType.Kind.CreateReferenceOnImport(CreateReferenceOnImportArgs args)
   at ServiceStudio.Import.Importer.CreateReference(IReferer referer, AbstractObjectKind originallyReferedObjectKind, AbstractObjectIdentifier originallyReferedObjectIdentifier, Func`2 referenceAdditionalDataGetter)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.GetNewReferedObject(IReferer referer, AbstractObject originallyReferedObj)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadReference[Type](IReferer referer, IPropertyMetadata referenceProperty, Boolean import)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadReference[Type](IReferer referer, IPropertyMetadata referenceProperty)
   at ServiceStudio.Model.AnonymousStructureAttribute.LoadPropertyAttributes(IObjectAttributeReader loader)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadDefaultData(AbstractObject obj)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.InnerLoad(AbstractObject obj, ICollection`1 conversionWarnings)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.Execute(IImportTarget realTarget, IImportTarget targetParent, Action& finalizeImportPart1, Action& finalizeImportPart2)
   at ServiceStudio.Clone.ObjectCloner.InnerCloneObject(AbstractObject source, IImportTarget newParent, IKindConversion conversionToUse, Stack`1 pendingClones, IDictionary`2 extraAdditionalDatas)
   at ServiceStudio.Clone.ObjectCloner.CloneObject(AbstractObject source, IImportTarget newParent, IKindConversion conversionToUse, IEnumerable`1 extraAdditionalDatas)
   at ServiceStudio.Import.ImportExtensions.InnerCreateTopLevelReferenceElement(AbstractObject originallyReferedObject, ESpace targetESpace, Nullable`1 hiddenStatus)
   at ServiceStudio.Import.ImportExtensions.CreateTopLevelReferenceElement(AbstractObject originallyReferedObject, ESpace refererOwnerESpace, Boolean directReference)
   at ServiceStudio.Import.ImportExtensions.GetTopLevelReferenceOrReferenceElementOnImport(IReferer referer, AbstractObjectIdentifier originallyReferedObjectIdentifier, Boolean directReference, IImporter importer, Boolean isEntityIdentifier)
   at ServiceStudio.Import.ImportExtensions.GetTopLevelReferenceOrReferenceElementOnImport(IReferer referer, AbstractObjectIdentifier originallyReferedObjectIdentifier, IImporter importer)
   at ServiceStudio.Model.Nodes.WebBlock.Kind.CreateReferenceOnImport(CreateReferenceOnImportArgs args)
   at ServiceStudio.Import.Importer.CreateReference(IReferer referer, AbstractObjectKind originallyReferedObjectKind, AbstractObjectIdentifier originallyReferedObjectIdentifier, Func`2 referenceAdditionalDataGetter)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.GetNewReferedObject(IReferer referer, AbstractObject originallyReferedObj)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadReference[Type](IReferer referer, IPropertyMetadata referenceProperty, Boolean import)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadReference[Type](IReferer referer, IPropertyMetadata referenceProperty)
   at ServiceStudio.Model.WebWidgets.AbstractReferenceWebBlockInstance.LoadPropertyAttributes(IObjectAttributeReader loader)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.LoadDefaultData(AbstractObject obj)
   at ServiceStudio.Import.AutoRegistryKindConversion`1.Convert(AbstractObject obj, IObjectConverter converter, Func`2 sourceAdditionalData, ICollection`1 warnings)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.<>c__DisplayClass16_0.<InnerLoad>b__0()
   at ServiceStudio.Model.AbstractObject.ExecuteDuringLoadOrImport(Action operation)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.InnerLoad(AbstractObject obj, ICollection`1 conversionWarnings)
   at ServiceStudio.Clone.ObjectCloner.SecondPassDeserializer.Execute(IImportTarget realTarget, IImportTarget targetParent, Action& finalizeImportPart1, Action& finalizeImportPart2)
   at ServiceStudio.Clone.ObjectCloner.InnerCloneObject(AbstractObject source, IImportTarget newParent, IKindConversion conversionToUse, Stack`1 pendingClones, IDictionary`2 extraAdditionalDatas)
   at ServiceStudio.Clone.ObjectCloner.CloneObject(AbstractObject source, IImportTarget newParent, IKindConversion conversionToUse, IEnumerable`1 extraAdditionalDatas)
   at ServiceStudio.Import.ImportExtensions.InnerCreateTopLevelReferenceElement(AbstractObject originallyReferedObject, ESpace targetESpace, Nullable`1 hiddenStatus)
   at ServiceStudio.Import.ImportExtensions.CreateTopLevelReferenceElement(ITopLevelReferenceableElement topLevelReferenceableElement, ESpace targetESpace, Nullable`1 hiddenStatus)
   at ServiceStudio.Model.ESpace.SignatureManager.GenerateElementSignature(ITopLevelReferenceableElement topLevelReferenceableElement)
   at ServiceStudio.Model.ESpace.SignatureManager.UpdateSignature(CompoundKey compoundKey, ITopLevelReferenceableElement topLevelReferenceableElement)
   at ServiceStudio.Model.ESpace.SignatureManager.UpdateSignatures()
   at ServiceStudio.Model.ESpace.Upgrader.UpdateAllBrokenSystemEntities(ESpace eSpace)
   at ServiceStudio.Model.ESpace.Upgrader.ESpaceUpgrader10x.UpgradesFor_10x(ESpace eSpace)
   at ServiceStudio.Model.ESpace.Upgrader.InnerUpgrade(ESpace eSpace, Boolean recoverMode)
   at ServiceStudio.Model.ESpace.Upgrader.Upgrade(ESpace eSpace, Boolean recoverMode)
   at ServiceStudio.Model.ESpace.Load(Stream stream, String initialLastSavePath, Boolean isUnregisteredESpace, Boolean readOnlyMode, Boolean recoverMode, ObjectKey newKeyForClone, String productKey, Nullable`1 forceModifiedFlag, IInformationForESpaceUpgrade informationForUpgrader)
   at ServiceStudio.Model.ESpace.Load(String path, Boolean isUnregisteredESpace, Boolean readOnlyMode, Boolean recoverMode, String initialLastSavePath, String productKey, Nullable`1 forceModifiedFlag, IInformationForESpaceUpgrade informationForUpgrader)
   at ServiceStudio.Presenter.Commands.CommandLineProcessor.Upgrade.#q0c(IAggregatorPresenter aggregatorPresenter, String path, String productKey, DatabaseProviderKey serverDatabaseProviderKey, String externalEntitiesDatabaseProvidersFileName, String staticEntitiesListFileName, OutSystemsPlatform platform)
   at ServiceStudio.Presenter.Commands.CommandLineProcessor.U.Execute(String[] commandLineArgs, #p0c startView)
Impact Analysis: Performing Impact Analysis of 'Track_Project'.
Preparing Extensions: Preparing extensions of 'Track_Project'.
Preparing Extension: Preparing extension 'utilsTrackproject'.
Preparing Database: Preparing database of 'Track_Project'.
Associating Dependencies: Associating dependencies of 'Track_Project'.
Compiling Modules: Compiling modules of 'Track_Project'.
Compiling Dependencies: Compiling dependencies of 'Track_Project'.
Gathering Dependencies: Gathering dependencies of 'Track_Project'.
(Error) Deployment Aborted: The deployment was aborted due to errors. No applications or modules were deployed.