NunoLinhares / Web-8.5-Quick-Install

Initial Commit (Create Repository)
9 stars 5 forks source link

Script appears to fail silently during Tridion installer / reboot step #17

Open tjnicolaides opened 6 years ago

tjnicolaides commented 6 years ago

Has anyone run into an issue where this step fails silently? The script exits almost immediately, and no reboot takes place. I watched the process in Task Manager and found that it didn't take as long as I would expect if I were running the Tridion installer manually.

We are running the script as Administrator, and no error messages or alerts appear on the screen. Anything we should be watching out for that we're doing incorrectly or out of order?

Preparing to install Tridion. This script will exit and your system will reboot once the installer is done.
Run this script again after rebooting to continue
NunoLinhares commented 6 years ago

Yeah, it actually happens a lot of times. At this point the script starts the CM silent installer, which unfortunately is VERY silent. Typical reason for failure in my case is wrong path to license files.

The script could monitor the location where the CM silent installer places logs (%PROGRAMDATA%\SDL\SDLWeb\Logs) and output these to console.

tjnicolaides commented 6 years ago

Bingo, thank you for the tip. That looks like exactly what's going on:


[16D8:1738][2017-09-25T15:23:17]i000: Setting string variable 'TTM_WEBSITE_ROOT_URL' to value 'http://EC2AMAZ-57E3FA8:80'
[16D8:1738][2017-09-25T15:23:17]i000: Setting string variable 'TTM_WEBSITE_ROOT_URL' to value 'http://EC2AMAZ-57E3FA8:80'
[16D8:1738][2017-09-25T15:23:17]i000: Checking state: Licenses...
[16D8:1738][2017-09-25T15:23:17]i000: RebootRequired: False
[16D8:1738][2017-09-25T15:23:17]i000: Interact: Error: license.xml: the supplied path is not valid
cd_licenses.xml: the supplied path is not valid
Buttons: OK
[16D8:1738][2017-09-25T15:23:17]i000: Interact: Result: Ok
[16D8:1738][2017-09-25T15:23:17]i000: Shutting down, exit code: 1603
[16D8:16DC][2017-09-25T15:23:17]i500: Shutting down, exit code: 0x643
[16D8:1738][2017-09-25T15:23:17]i000: End of InternalRun
[16D8:16DC][2017-09-25T15:23:17]i000: OnShutDownHandler: State=DetectedAbsent, Canceled=False, Root.Model.Command.Restart=Automatic```