webui not working for me

Vijay Khemka vijaykhemka at fb.com
Tue Jan 7 11:19:19 AEDT 2020


Yes, I am able to get it but I can’t see any sensors or, event logs as well as system logs. I discussed with Kathy and it seems she has different patch for sensors to work from intel-bmc branch. But that patch doesn’t seem to apply in this upstream repo.

Do you have any ideas what could be wrong with sensors. I am using dbus-sensors.

Regards
-Vijay

From: Gunnar Mills <gmills at linux.vnet.ibm.com>
Date: Monday, January 6, 2020 at 3:53 PM
To: Vijay Khemka <vijaykhemka at fb.com>, "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
Subject: Re: webui not working for me



On 1/6/2020 1:27 PM, Vijay Khemka wrote:
Hi Gunnar,
Now I am following below steps. I am running all these from my mac laptop. Nothing on BMC, just copied bmcweb on BMC.

  1.  npm install in repo directory.
  2.  npm run-script server
  3.  Recompiled bmcweb with BMCWEB_INSECURE_DISABLE_XSS_PREVENTION and BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION and transfered bmcweb to target.
  4.  Go to https://bmc-ip<https://urldefense.proofpoint.com/v2/url?u=https-3A__bmc-2Dip&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=kJtGvuus9oDRupym2EBb90B5bKvSi-pPMLdfIXHUGAM&s=gdm3UjRQnu_XRVgmp5SVt9W82Tl-uoCarovDoHDdD1Y&e=>, no certificates asked, says certificate expired on Dec 29 1979.
Go to http://localhost:8080<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=kJtGvuus9oDRupym2EBb90B5bKvSi-pPMLdfIXHUGAM&s=r_P53gY50VmvMsyQPhxD35FdzONyzQNBH3GUYTerV4M&e=>, Don’t see any port as output for “npm run-script server”.


Looks like it is :18898 for you. "Project is running at http://localhost:18898/<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A18898_&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=ZNcKeBTnd2pStghg3o_6zvefHFDgsJYCFAR7g5N2ThU&s=T-XmLi5Z4UaCVOMuVGsVc4u7OPlEmoCjubR_sLUMSjA&e=>"



vijaykhemka-mbp:phosphor-webui vijaykhemka$ npm run-script server

> phosphor-webui at 2.8.0-dev<mailto:phosphor-webui at 2.8.0-dev> server /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui
> webpack-dev-server --history-api-fallback --inline --progress --devtool source-map --mode development

10% building 1/1 modules 0 activeℹ 「wds」: Project is running at http://localhost:18898/<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A18898_&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=ZNcKeBTnd2pStghg3o_6zvefHFDgsJYCFAR7g5N2ThU&s=T-XmLi5Z4UaCVOMuVGsVc4u7OPlEmoCjubR_sLUMSjA&e=>
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from ./src/public
ℹ 「wds」: 404s will fallback to /index.html
10% building 1/3 modules 2 active ...babel-loader/lib/index.js??ref--4!/Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/webpack-dev-server/client/index.js?http://localhost:18898<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A18898&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=ZNcKeBTnd2pStghg3o_6zvefHFDgsJYCFAR7g5N2ThU&s=RLBMFH13z8E8EK1cMfgTM5gNvoBUmW6fEjR3EsnszzA&e=>Browserslist: caniuse-lite is outdated. Please run next command `npm update`
67% building 545/571 modules 26 active /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/core-js/modules/es.reflect.is-extensible.js[BABEL] Note: The code generator has deoptimised the styling of /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/angular/angular.js as it exceeds the max of 500KB.
66% building 557/590 modules 33 active /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/core-js/modules/es.object.to-string.js[BABEL] Note: The code generator has deoptimised the styling of /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/text-encoding/lib/encoding-indexes.js as it exceeds the max of 500KB.
ℹ 「wdm」:    761 modules
ℹ 「wdm」: Compiled successfully.

Regards
-Vijay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200107/b64615ec/attachment-0001.htm>


More information about the openbmc mailing list