---+ %TOC% ---+ Upgrade APPX HTML Client on Linux *Assumption #1* <font face="Courier New">/var/www/html/client/</font> contains the contents of <font face="Courier New">webhost.zip</font> bundle. Modify paths below if different. *Assumption #2* <font face="Courier New">/usr/local/appx/appxconnector/</font> contains the <font face="Courier New">serverConnector.zip</font> bundle. Modify paths below if different. As root user or a user known to have permission to overwrite these files. 1 cd /var/www/html/client/ 1 rm webhost.zip 1 wget https://faces.appx.com/nightly/files/webhost.zip 1 unzip -qqo webhost.zip 1 cd /usr/local/appx/appxconnector/ 1 node appxConnector-uninstall.js 1 head -n 40 appxConnector.js 1 _From the above <font face="Courier New">head </font>command, please note the following parameters_ 1 (sslEnabled, sslPrivateKey, sslCertificate, sslCertAuthority, cryptoEnabled, mongoDatabase, mongoHost, mongoPort, appxdebug, appxlog, useoldsocket, appxLocalConnectorCert) 1 head -n 45 appxMogoConnector.js 1 _From the above <font face="Courier New">head </font>command, please note the parameters_ 1 (connectorPort, workers, sslEnabled, sslPrivateKey, sslCertificate, sslCertAuthority, mongoDatabase, mongoPrefs, mongoHost, mongoPort, mongoLocale, appxdebug) 1 <font face="Courier New">pwd</font> 1 _(make sure you are in <font face="Courier New">appxconnector </font>folder)_ 1 <font face="Courier New">rm -Rf *</font> 1 _(be very careful with this rm command, it's intended to remove the contents of the <font face="Courier New">appxconnector </font>folder)_ 1 wget https://faces.appx.com/nightly/files/serverConnector.zip 1 unzip -qqo serverConnector.zip 1 vi appxConnector.js 1 _Now make sure the previous parameters you noted from first <font face="Courier New">head </font>are transferred to the new <font face="Courier New">appxConnector.js</font> file_ 1 vi appxMongoConnector.js 1 _Now make sure the previous parameters you noted from the second <font face="Courier New">head </font>are transferred to the new <font face="Courier New">appxMongoConnector.js</font> file_ 1 As root user do 1 npm install 1 node appxConnector-install.js ---+ Upgrade APPX HTML Client on Windows *Assumption #1* <font face="Courier New">\inetpub\wwwroot\client\</font> contains the contents of <font face="Courier New">webhost.zip</font> bundle. Modify paths below if different. *Assumption #2* <font face="Courier New">\appx\appxconnector\</font> contains the <font face="Courier New">serverConnector.zip</font> bundle. Modify paths below if different. As Administrator user or a user known to have permission to overwrite these files. 1 cd \inetpub\wwwroot\client 1 del webhost.zip 1 curl -O https://faces.appx.com/nightly/files/webhost.zip 1 powershell.exe -Command "& {expand-archive -path 'C:\inetpub\wwwroot\client\webhost.zip' -destinationpath 'C:\inetpub\wwwroot\client' -Force}" 1 cd \appx\appxconnector\ 1 node appxConnector-uninstall.js 1 powershell -command "& {Get-Content appxConnector.js -TotalCount 34}" 1 _From the above <font face="Courier New">powershell </font>command, please note the following parameters_ 1 (sslEnabled, sslPrivateKey, sslCertificate, sslCertAuthority, cryptoEnabled, mongoDatabase, mongoHost, mongoPort, appxdebug, appxlog, useoldsocket, appxLocalConnectorCert) 1 powershell -command "& {Get-Content appxMongoConnector.js -TotalCount 30}" 1 _From the above <font face="Courier New">powershell </font>command, please note the parameters_ 1 (connectorPort, workers, sslEnabled, sslPrivateKey, sslCertificate, sslCertAuthority, mongoDatabase, mongoPrefs, mongoHost, mongoPort, mongoLocale, appxdebug) 1 <font face="Courier New">cd</font> 1 _(make sure you are in <font face="Courier New">appxconnector </font>folder)_ 1 <font face="Courier New">rmdir /S .</font> 1 _(be very careful with this rmdir command, it's intended to remove the contents of the <font face="Courier New">appxconnector </font>folder)_ 1 curl -O https://faces.appx.com/nightly/files/serverConnector.zip 1 powershell.exe -Command "& {expand-archive -path 'C:\appx\appxconnector\serverConnector.zip' -destinationpath 'C:\appx\appxconnector' -Force}" 1 notepad appxConnector.js 1 _Now make sure the previous parameters you noted from first <font face="Courier New">head </font>are transferred to the new <font face="Courier New">appxConnector.js</font> file_ 1 notepad appxMongoConnector.js 1 _Now make sure the previous parameters you noted from the second <font face="Courier New">head </font>are transferred to the new <font face="Courier New">appxMongoConnector.js</font> file_ 1 As an Administrative user do 1 npm install 1 node appxConnector-install.js -- %USERSIG{JoeOrtagus - 2020-12-22}% ---++ Comments <br />%COMMENT%
This topic: Main
>
AppxHTMLClient550Upgrade
Topic revision: r4 - 2023-01-05 - JoeOrtagus
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback