multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.37k stars 423 forks source link

Windows x64 Server installer gives error and crashes #743

Closed GingerAdonis closed 5 years ago

GingerAdonis commented 5 years ago

Describe the bug Starting nightly installer mtasa_x64-1.5.6-rc-16189-20181227.exe gives various 'Invalid or Unknown SID' errors when verifying permissions. Installer crashes afterwards. Earlier builds work fine. Issue occurs on clean installs and upgrades. This problem doesn't occur on builds before this specific build.

Expected behaviour Successful installation.

Version mtasa_x64-1.5.6-rc-16189-20181227.exe

Additional context OS: Windows Server 2016 x64 (1607, build 14393.2608)

ccw808 commented 5 years ago

Please upload C:\ProgramData\MTA San Andreas All\Common\Installer\nsis.log to https://upload.mtasa.com and give link here

GingerAdonis commented 5 years ago

Unfortunely there's no nsis.log when this problem occurs. Possibly because the installer crashes?

ccw808 commented 5 years ago

Rename installer to mtasa-1.5.6.exe and then follow these instructions to create a crash dump

GingerAdonis commented 5 years ago

Here you go: https://upload.mtasa.com/u/657469884/mtasa-1.5.6.exe.1312.dmp_

ccw808 commented 5 years ago

Thanks. Does C:\ProgramData\MTA San Andreas All\Common\Installer\nsis.log exist after installing with https://nightly.mtasa.com/mtasa-1.5.6-rc-16068-20181121.exe ?

GingerAdonis commented 5 years ago

Yes the file is created when using the installer you mentioned.

2018-12-31 10:21:00.590 [Outer] ------------------------------------
2018-12-31 10:21:00.595 [Outer] v1.5.6 (r16068)
2018-12-31 10:21:00.599 [Outer] Function begin - .onInit
2018-12-31 10:21:00.604 [Outer]   Using install directory:'C:\Program Files (x86)\MTA San Andreas 1.5'
2018-12-31 10:21:00.609 [Outer]   Default GTA install directory:'C:\Users\Administrator\Documents\GTA-SanAndreas'
2018-12-31 10:21:00.614 [Outer] Function end - .onInit
2018-12-31 10:21:00.690 [Outer] Function begin - WelcomePreProc
2018-12-31 10:21:00.696 [Outer] Function end - WelcomePreProc
2018-12-31 10:21:00.743 [Outer] Function begin - WelcomeShowProc
2018-12-31 10:21:00.750 [Outer] Function end - WelcomeShowProc
2018-12-31 10:21:01.731 [Outer] Function begin - WelcomeLeaveProc
2018-12-31 10:21:01.741 [Outer]   Function begin - RightsElevation
2018-12-31 10:21:01.747 [Outer]   Function end - RightsElevation
2018-12-31 10:21:01.760 [Outer] Function end - WelcomeLeaveProc
2018-12-31 10:21:01.779 [Outer] Function begin - LicenseShowProc
2018-12-31 10:21:01.787 [Outer]   Function begin - UnexpandComponentsPage
2018-12-31 10:21:01.793 [Outer]   Function end - UnexpandComponentsPage
2018-12-31 10:21:01.798 [Outer] Function end - LicenseShowProc
2018-12-31 10:21:02.498 [Outer] Function begin - LicenseLeaveProc
2018-12-31 10:21:02.504 [Outer] Function end - LicenseLeaveProc
2018-12-31 10:21:02.511 [Outer] Function begin - CustomNetMessagePage
2018-12-31 10:21:02.516 [Outer]   Function begin - TryToSendInfo
2018-12-31 10:21:02.522 [Outer]     NetComposeURL result:http://updatesa.mtasa.com/sa/install/1/?x=0&pm=1&pg=1&pp=1&ver=1.5.6&n=1&rev=16068&try=&other=
2018-12-31 10:21:02.528 [Outer]     Function begin - DoSendInfo(http://updatesa.mtasa.com/sa/install/1/?x=0&pm=1&pg=1&pp=1&ver=1.5.6&n=1&rev=16068&try=&other=,3000)
2018-12-31 10:21:02.765 [Outer]       NSISdl::download_quiet result:Server did not specify content length.
2018-12-31 10:21:02.771 [Outer]     Function end - DoSendInfo result:1
2018-12-31 10:21:02.778 [Outer]   Function end - TryToSendInfo
2018-12-31 10:21:02.785 [Outer] Function end - CustomNetMessagePage (NetDone)
2018-12-31 10:21:02.800 [Outer] Function begin - ComponentsShowProc
2018-12-31 10:21:02.807 [Outer]   Function begin - ExpandComponentsPage
2018-12-31 10:21:02.814 [Outer]     Doing expand
2018-12-31 10:21:02.862 [Outer]   Function end - ExpandComponentsPage
2018-12-31 10:21:02.869 [Outer] Function end - ComponentsShowProc
2018-12-31 10:21:05.668 [Outer] Function begin - ComponentsLeaveProc
2018-12-31 10:21:05.676 [Outer] Function end - ComponentsLeaveProc
2018-12-31 10:21:05.684 [Outer] Function begin - CustomDirectoryPage
2018-12-31 10:21:13.554 [Outer]   nsDialogs::Create success
2018-12-31 10:21:13.563 [Outer]   Did CreateLabel
2018-12-31 10:21:13.577 [Outer]   Did SendMessage
2018-12-31 10:21:13.590 [Outer]   Did Ons
2018-12-31 10:21:13.599 [Outer]   Function begin - GetInstallType
2018-12-31 10:21:13.607 [Outer]     GetInstallType(C:\Program Files (x86)\MTA San Andreas 1.5) result:0.0,new
2018-12-31 10:21:13.614 [Outer]   Function end - GetInstallType
2018-12-31 10:21:13.623 [Outer]   Function begin - GetInstallType
2018-12-31 10:21:13.630 [Outer]     GetInstallType(C:\Program Files (x86)\MTA San Andreas 1.5) result:0.0,new
2018-12-31 10:21:13.637 [Outer]   Function end - GetInstallType
2018-12-31 10:21:13.644 [Outer]   Function begin - UnexpandComponentsPage
2018-12-31 10:21:13.651 [Outer]     Doing unexpand
2018-12-31 10:21:13.682 [Outer]   Function end - UnexpandComponentsPage
2018-12-31 10:21:15.442 [Outer]   Function begin - CustomDirectoryPageLeave
2018-12-31 10:21:15.450 [Outer]     Function begin - GetInstallType
2018-12-31 10:21:15.457 [Outer]       GetInstallType(C:\Program Files (x86)\MTA San Andreas 1.5) result:0.0,new
2018-12-31 10:21:15.464 [Outer]     Function end - GetInstallType
2018-12-31 10:21:15.471 [Outer]   Function end - CustomDirectoryPageLeave
2018-12-31 10:21:15.480 [Outer] Function end - CustomDirectoryPage
2018-12-31 10:22:42.814 [Outer] Section begin - SERVER CORE
2018-12-31 10:22:43.006 [Outer] Section end - SERVER CORE
2018-12-31 10:22:43.015 [Outer] Section begin - SERVER GAME
2018-12-31 10:22:44.010 [Outer] Section end - SERVER GAME
2018-12-31 10:22:44.018 [Outer] Section begin - SERVER CORE_RESOURCES
2018-12-31 10:22:44.328 [Outer] Section end - SERVER CORE_RESOURCES
2018-12-31 10:22:45.551 [Outer] Section begin - -Post
2018-12-31 10:22:45.601 [Outer] Section end - -Post
2018-12-31 10:24:31.809 [Outer] Function begin - .onInstSuccess
2018-12-31 10:24:31.871 [Outer] Function end - .onInstSuccess
Dutchman101 commented 5 years ago

I was able to reproduce this on Windows Server 2019 but also on Win10; it wasn't reliant on your OS, but the x64 server installer.

The combination of 0663cbf and f687f0f seem to have fixed it. Please confirm with https://nightly.mtasa.com/?mtasa_x64-1.5.6-rc-latest, @JarnoVgr

GingerAdonis commented 5 years ago

Can confirm that new builds install properly.