# Cannot access to UI due to influxdb misconfiguration

**URL:** <https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882>\
**Category:** General\
**Created:** [12 February 2019 14:10 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882 "2019-02-12T14:10:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mauog/32/4679_2.png) [@mauog](https://discourse.nodered.org/u/mauog)\
**Post date:** [12 February 2019 14:10 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882/1 "2019-02-12T14:10:29Z")

</div>

Hello,  
I had to reinstall `influxdb` but unfortunately I forgot to update `node-red-contrib-influxdb` nodes so now I am not able to access to nodered UI.  
Looking at logs it tells:

```
at new RequestError (/data/node_modules/influx/lib/src/pool.js:52:28)
at IncomingMessage.<anonymous> (/data/node_modules/influx/lib/src/pool.js:62:53)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1047:12)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)
12 Feb 14:56:02 - [error] [influxdb out:3de57654.f35602] Error: A 401 Unauthorized error occurred: {"error":"authorization failed"}

```

So I tried to remove `node-red-contrib-influxdb` but now the logs tells:

```
12 Feb 14:56:17 - [info]

Welcome to Node-RED
===================

    12 Feb 14:56:17 - [info] Node-RED version: v0.19.5
    12 Feb 14:56:17 - [info] Node.js version: v8.1.3
    12 Feb 14:56:17 - [info] Linux 4.14.94-v7+ arm LE
    12 Feb 14:56:18 - [info] Loading palette nodes
    12 Feb 14:56:33 - [info] Dashboard version 2.13.2 started at /ui
    12 Feb 14:56:34 - [warn] Missing node modules:
    12 Feb 14:56:34 - [warn] - node-red-contrib-influxdb (0.2.2): influxdb, influxdb out, influxdb batch, influxdb in
    12 Feb 14:56:34 - [info] Removing modules from config
    12 Feb 14:56:34 - [info] Settings file : /data/settings.js
    12 Feb 14:56:34 - [info] Context store : 'default' [module=memory]
    12 Feb 14:56:34 - [info] User directory : /data
    12 Feb 14:56:34 - [info] Server now running at http://127.0.0.1:1880/
    12 Feb 14:56:35 - [info] Active project : node-RED
    12 Feb 14:56:35 - [info] Flows file : /data/projects/node-RED/flows.json
    12 Feb 14:56:35 - [info] Waiting for missing types to be registered:
    12 Feb 14:56:35 - [info] - influxdb
    12 Feb 14:56:35 - [info] - influxdb out

```

and in the same way the UI is unaccessible:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/21cd9b9b80df17df6e17ecda70bace02c56aa4f9.png)

Is there any way to fix this?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 February 2019 15:57 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882/2 "2019-02-12T15:57:49Z")

</div>

Missing nodes should not stop the ui from running. Have you tried refreshing the browser?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [12 February 2019 16:50 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882/3 "2019-02-12T16:50:55Z")

</div>

You should be able to reinstall them from the command line  
cd .node-red  
npm install

---

<div class="post-metadata">

**Author:** ![mauog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mauog/32/4679_2.png) [@mauog](https://discourse.nodered.org/u/mauog)\
**Post date:** [12 February 2019 18:08 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882/4 "2019-02-12T18:08:11Z")

</div>

> [@Colin](#):
>
> Missing nodes should not stop the ui from running. Have you tried refreshing the browser?

I was using firefox under Windows and I got the blank UI.  
Then I am using safari and all looks right... I had to better investigate the issue

---

<div class="post-metadata">

**Author:** ![mauog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mauog/32/4679_2.png) [@mauog](https://discourse.nodered.org/u/mauog)\
**Post date:** [12 February 2019 18:08 UTC](https://discourse.nodered.org/t/cannot-access-to-ui-due-to-influxdb-misconfiguration/7882/5 "2019-02-12T18:08:28Z")

</div>

> [@ukmoose](#):
>
> You should be able to reinstall them from the command line  
> cd .node-red  
> npm install

Yes I did it!
