Upgrade APPX HTML Client on Linux
Assumption #1 /var/www/html/client/ contains the contents of
webhost.zip bundle. Modify paths below if different.
Assumption #2 /usr/local/appx/appxconnector/ contains the
serverConnector.zip bundle. Modify paths below if different.
As root user or a user known to have permission to overwrite these files.
- cd /var/www/html/client/
- rm webhost.zip
- wget https://faces.appx.com/nightly/files/webhost.zip
- unzip -qqo webhost.zip
- cd /usr/local/appx/appxconnector/
- node appxConnector-uninstall.js
- head -n 40 appxConnector.js
- From the above head command, please note the following parameters
- (sslEnabled,sslPrivateKey,sslCertificate,sslCertAuthority,cryptoEnabled,mongoDatabase,mongoHost,mongoPort,appxdebug,appxlog,useoldsocket,appxLocalConnectorCert)
- head -n 45 appxMogoConnector.js
- From the above head command, please note the parameters
- (connectorPort,workers,sslEnabled,sslPrivateKey,sslCertificate,sslCertAuthority,mongoDatabase,mongoPrefs,mongoHost,mongoPort,mongoLocale,appxdebug)
- pwd
- (make sure you are in appxconnector folder)
- rm -Rf *
- (be very careful with this rm command, it's intended to remove the contents of the appxconnector folder)
- wget https://faces.appx.com/nightly/files/serverConnector.zip
- unzip -qqo serverConnector.zip
- vi appxConnector.js
- Now make sure the previous parameters you noted from first head are transferred to the new appxConnector.js file
- vi appxMongoConnector.js
- Now make sure the previous parameters you noted from the second head are transferred to the new appxMongoConnector.js file
- As root user do
- npm install
- node appxConnector-install.js
--
Joe Ortagus - 2020-12-22
Comments