Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[support] Spants - NodeRed, MQTT, Dashing, couchDB

Featured Replies

20 hours ago, JustinAiken said:

To update to v1.0 that came out today: 

 

- I needed to `chown -R 1000 /path/to/appdir` to update it to the new uid used by the container 

I don't understand this part. Do I do this in the appdata folder?

 

also does anyone how to turn on dark mode?

Edited by H2O_King89

  • Replies 551
  • Views 166.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hi all, As you are discovering, this docker is quite old and needs to be updated. If you can bear with me, please try the manual steps to get a later version of MQTT and solve permissions problem

  • Yep. This container template deletes the entire database on upgrade. Hope no-one was storing anything important.   appdata/couchdb directory is mapped to Container Path: /usr/local/var/lib/c

  • Stupifier
    Stupifier

    Ya....just go into the Node-Red Docker template and change the repository as I said above and hit apply.......That's all I had to do. Love it

Posted Images

57 minutes ago, H2O_King89 said:

I don't understand this part. Do I do this in the appdata folder?

NOT the toplevel appdata folder !- the path to your nodered appdata folder.

 

Something like `/mnt/user/appdata/nodered` 

 

58 minutes ago, H2O_King89 said:

also does anyone how to turn on dark mode?

 

https://github.com/bonanitech/node-red-contrib-theme-midnight-red#install 

 

Looks like you have to manually do some `npm`'ing 

 

..you got me interested in a dark theme, I just gave it a try.  

```
# Run this while Node Red is up and running:

$ docker exec -it NodeRed-OfficialDocker /bin/bash

# Then you'll be inside the running container
# Now run:
$ npm install node-red-contrib-theme-midnight-red

# And exit the container: 
$ exit

# Now from unraid, edit settings.js: 
$ vim /path/to/nodered/settings.js 

```

You'll want it to look like: 

```

....

editorTheme: {

  page: {

    css: "/usr/src/node-red/node_modules/node-red-contrib-theme-midnight-red/midnight.css"

  }

}

```

Then restart nodered docker from the unraid docker GUI.

NOT the toplevel appdata folder !- the path to your nodered appdata folder.

 

Something like `/mnt/user/appdata/nodered` 

Sorry that's what I meant. what do I do in there?

 

Do I make a file in this path?

/mnt/user/appdata/nodered/path/to/appdir

 

And thank you, got dark mode working!

Edited by H2O_King89

On 10/1/2019 at 1:44 PM, H2O_King89 said:

Sorry that's what I meant. what do I do in there?

 

Do I make a file in this path?

/mnt/user/appdata/nodered/path/to/appdir

 

And thank you, got dark mode working!

you need to run the command  mentioned from a terminal window,  which you should be able to launch from your unraid main page or by using ssh/telnet to login to your server.

  • 2 months later...

Looking for some help or someone to point me in the right direction. I recently just started using Nodered and would like to move all my home automations from Apple Home to Nodered. Having a hard time wrapping my head around on thing. I have lights and switches on my first floor that needs automation written and if possible, would like to put them in one flow. I tired with bigtimer but ran into an issue with having more than one bigtimer in the flow, it still runs the no condition if the light is off and will shut off the light even though it should be on for the step above it. Good example would be what I have written for floor lamp 1. It will turn on at 4:30 am because it meets the time but then when it hits the bigtimer below it to check for sunset, it will shut the light off.

Floor lamp 1, needs the following schedule

At 4:30 AM, light need to turn on and shut off at sunrise.
At sunset, light needs to turn on and shut off at 9:00 pm.
Candle light switch

Turn on at sunset and turn off at sunrise.
If it’s Christmas Eve Day or Christmas Day, keep lights on.
Outside light switch

Turn on at 5:00 AM and turn off at sunrise.
Turn on a sunset and turn off at 9:00 pm

  • 3 weeks later...

Wondering if Dashing should be replaced with Smashing? They took it over.

 

https://github.com/Smashing/smashing

So, there¨s a docker image called MQTT and Mosquitto. What's the difference and which one I should be using?

1 minute ago, lsaranto said:

So, there¨s a docker image called MQTT and Mosquitto. What's the difference and which one I should be using?

I've been using the MQTT one for years and have never had an issue with it.

 

  • Author

My MQTT one is mosquitto but has a nifty way of adding users and passwords. I have been using it for ages with thousands of connections a day and it has never let me down. (Thats why I haven't updated it!).

It's easy to try stuff with unraid, so try them both!

  • 2 weeks later...

Hi

 

I am interesting in running this - https://github.com/greghesp/assistant-relay

 

It says it runs on node.js but should it work on nodered as well?

It says to download the package zip file "and then use npm i to get started", but I have no idea where to place this zip file?

 

Thanks!

On 1/10/2020 at 2:16 PM, spants said:

My MQTT one is mosquitto but has a nifty way of adding users and passwords. I have been using it for ages with thousands of connections a day and it has never let me down. (Thats why I haven't updated it!).

It's easy to try stuff with unraid, so try them both!

Can we get updated versions based on tags? This way we can keep this stable version under one tag but also be able to try out the newer versions.

 

As nice as it is staying on one version the updates can be really important for security and performance.

I wrote a post about installing MQTT in Unraid using your container. If anyone needs help they can check it out:

https://skylar.tech/installing-mqtt-under-docker/

 

A good number of my readers requested this post. Figured it would be good to put this here for others.

  • Author
15 minutes ago, Skylord123 said:

I wrote a post about installing MQTT in Unraid using your container. If anyone needs help they can check it out:

https://skylar.tech/installing-mqtt-under-docker/

 

A good number of my readers requested this post. Figured it would be good to put this here for others.

Excellent work!. Thank you.

  • Author
14 hours ago, Skylord123 said:

Can we get updated versions based on tags? This way we can keep this stable version under one tag but also be able to try out the newer versions.

 

As nice as it is staying on one version the updates can be really important for security and performance.

I tested Mosquitto 1.6.8 and Alpine Linux 3.11 today but had to revert to 1.48 and linux 3.3 as bug found, sorry

Edited by spants

  • 2 weeks later...

i tried to install mqtt

 

I need this for mqttt broker

https://github.com/ElectricBrainUK/UnraidAPI

 

 

But when trying to start mqtt, i get this error

Warning: store_clean_interval is no longer needed.
Error: Duplicate user value in configuration.
Error found at /config/mosquitto.conf:21.
Error: Unable to open configuration file.

 

anyone can help pls

 

After that , i need to connect both home assistant and the unraid API to it.

16 hours ago, skank said:

i tried to install mqtt

 

I need this for mqttt broker

https://github.com/ElectricBrainUK/UnraidAPI

 

 

But when trying to start mqtt, i get this error

Warning: store_clean_interval is no longer needed.
Error: Duplicate user value in configuration.
Error found at /config/mosquitto.conf:21.
Error: Unable to open configuration file.

 

anyone can help pls

 

After that , i need to connect both home assistant and the unraid API to it.

I don't know about the UnraidAPI stuff but the error you are getting indicates you have the same user defined twice in your config. I actually helped someone out that was having this same issue on my blog (scroll down to the comments): https://skylar.tech/installing-mqtt-under-docker/

8 hours ago, Skylord123 said:

I don't know about the UnraidAPI stuff but the error you are getting indicates you have the same user defined twice in your config. I actually helped someone out that was having this same issue on my blog (scroll down to the comments): https://skylar.tech/installing-mqtt-under-docker/

HI,

So i've read too, but i cant find where that config is?

on the cache drive, the usb stick? where do i find it?

16 minutes ago, skank said:

HI,

So i've read too, but i cant find where that config is?

on the cache drive, the usb stick? where do i find it?

When you installed the container you chose your appdata location. It is wherever you selected for that. You can always edit your containers to see what paths you used (it should also display this from the docker list in Unraid).

11 minutes ago, Skylord123 said:

When you installed the container you chose your appdata location. It is wherever you selected for that. You can always edit your containers to see what paths you used (it should also display this from the docker list in Unraid).

yeah i looked there

i see folders.. but nothing for users..

 

21 minutes ago, skank said:

yeah i looked there

i see folders.. but nothing for users..

 

You need to go to the path you installed your container's appdata path and modify the config file. Inside that config file you have two users defined. Just remove one of them.

ok thx

HI, im also a first time user installing MQTT on unraid via the docker template on the app store. The default/sample config file downloaded does have "user mosquitto" defined twice which causes the error below and the container does not start. Removing the duplicate config entry fixes the issue, but will continue to trip new users.

 

Error: Duplicate user value in configuration.
Error found at /config/mosquitto.conf:21.
Error: Unable to open configuration file.

  • Author
1 hour ago, Nosbus said:

HI, im also a first time user installing MQTT on unraid via the docker template on the app store. The default/sample config file downloaded does have "user mosquitto" defined twice which causes the error below and the container does not start. Removing the duplicate config entry fixes the issue, but will continue to trip new users.

 

Error: Duplicate user value in configuration.
Error found at /config/mosquitto.conf:21.
Error: Unable to open configuration file.

Thanks for the info - I have fixed it. Strange that it has only just come to light, that hasn't changed for years!

Edited by spants

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.