Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nav 2013 r2 container install and running fails #574

Open
AHSANUL-KARIM opened this issue Nov 23, 2024 · 1 comment
Open

Nav 2013 r2 container install and running fails #574

AHSANUL-KARIM opened this issue Nov 23, 2024 · 1 comment

Comments

@AHSANUL-KARIM
Copy link

This is the script i used to install nav 2013 r2. i have placed the .net cab file and used the script from master repo. The generic image used business central ltsc 2016.

$password = 'P@ssw0rd'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$containerName = 'navcustom'

New-BcContainer -accept_eula -containerName $containerName
-credential $credential -auth $auth
-usegenericimage mcr.microsoft.com/businesscentral:ltsc2016 -dvdPath "c:\navdvd2"
-dvdCountry w1 -updateHosts
-memoryLimit 6G -shortcuts Desktop
-accept_outdated -isolation hyperv
-Verbose -dns '8.8.8.8'
-includeCSide -licenseFile "C:\msdn_license.flf"
-doNotExportObjectsToText `
-myScripts "C:\Users\ahsan\nav-docker\generic\Run\71"

after continuing for some time this error shows up.

Waiting for container navcustom to be ready
Using DVD installer from C:\Run\71
Installing NAV: InstallOnly=False
Installing .NET 3
Installing VC Redist
Starting Local SQL Server
Starting Internet Information Server
Installing Report Viewer
Copying Service Tier Files
Copying Web Client Files
Copying Windows Client Files
Copying PowerShell Scripts
Copying UpgradeToolKit
Copying ClientUserSettings
Copying ReportBuilder
Restoring CRONUS Demo Database
Installing C:\NAVDVD\Installers\CA.en\OlAddin\OutlookAddIn.Local.CA.en.msi
Installing C:\NAVDVD\Installers\CA.en\RTC\RoleTailoredClient.Local.CA.en.msi
Installing C:\NAVDVD\Installers\CA.en\Server\Server.Local.CA.en.msi
Installing C:\NAVDVD\Installers\CA.en\WebClient\WebClient.Local.CA.en.msi
Skipping C:\NAVDVD\Installers\CA.en\WebHelp\WebHelp.Local.CA.en.msi
Installing C:\NAVDVD\Installers\CA.fr\OlAddin\OutlookAddIn.Local.CA.fr.msi
Installing C:\NAVDVD\Installers\CA.fr\RTC\RoleTailoredClient.Local.CA.fr.msi
Installing C:\NAVDVD\Installers\CA.fr\Server\Server.Local.CA.fr.msi
Installing C:\NAVDVD\Installers\CA.fr\WebClient\WebClient.Local.CA.fr.msi
Skipping C:\NAVDVD\Installers\CA.fr\WebHelp\WebHelp.Local.CA.fr.msi
Installing C:\NAVDVD\Installers\MX.es\OlAddin\OutlookAddIn.Local.MX.es.msi
Installing C:\NAVDVD\Installers\MX.es\RTC\RoleTailoredClient.Local.MX.es.msi
Installing C:\NAVDVD\Installers\MX.es\Server\Server.Local.MX.es.msi
Installing C:\NAVDVD\Installers\MX.es\WebClient\WebClient.Local.MX.es.msi
Skipping C:\NAVDVD\Installers\MX.es\WebHelp\WebHelp.Local.MX.es.msi
Installing C:\NAVDVD\Installers\US.en\OlAddin\OutlookAddIn.Local.US.en.msi
Installing C:\NAVDVD\Installers\US.en\RTC\RoleTailoredClient.Local.US.en.msi
Installing C:\NAVDVD\Installers\US.en\Server\Server.Local.US.en.msi
Installing C:\NAVDVD\Installers\US.en\WebClient\WebClient.Local.US.en.msi
Skipping C:\NAVDVD\Installers\US.en\WebHelp\WebHelp.Local.US.en.msi
Modifying NAV Service Tier Config File for Docker
Creating NAV Service Tier
Starting NAV Service Tier
Importing CRONUS license file
The server "NAV" was unable to process the request. The application will close.
at , C:\Run\my\navinstall.ps1: line 188
at , C:\Run\start.ps1: line 373
at , : line 1
New-BcContainer Telemetry Correlation Id: c0c9838d-26f9-4318-92de-7728b97ad8c9
Initialization of container navcustom failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.28\ContainerHandling\Wait-NavContainerReady.ps1:42 char:17

  • ... throw "Initialization of container $containerName failed" ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Initialization ...avcustom failed:String) [], RuntimeException
    • FullyQualifiedErrorId : Initialization of container navcustom failed

plz help me to solve this. tried multiple times but this always happening.

@rdebath
Copy link

rdebath commented Jan 22, 2025

Last time I started up a Nav2013r2 service tier I had to spin up a windows 2012r2 virtual machine to put it on.
This was because the Windows 2016 version I had available has the duplicate localisation setup issue that Windows versions later than a mid-term Windows 10 have.

For Nav 2015 retrying a normal client connection allows the service tier to work after the first connection fails, not so for Nav2013r2. (Nav2013 does not have this problem at all).

I would expect it to be impossible to use a generic image generated by Microsoft for Nav2013r2 due to Microsoft's software publishing policies. You might be able build your own generic image using these scripts, but you'll have to choose the base windows version carefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants