waccit / unified-red

Unified-RED is a fork of the popular node-red-dashboard project and adds several features and enhancements for the building automation industry.
Other
19 stars 4 forks source link

Node red Crash directly after instal unified-red #81

Closed synaptikad closed 1 year ago

synaptikad commented 1 year ago

Hi everyone,

On fresh new instalation of node-red, (just add unified-red with pallette)

After installing unified-red node-red crash after this message :

[error] MongooseError: Operation roles.findOne() buffering timed out after 10000ms

at Timeout.<anonymous> (/Users/USERNAME/.node-red/node_modules/unified-red/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:198:23)

Any idea

Thank for your help

Antoine

wac-dirka commented 1 year ago

Hi Antoine,

unified-red is timing out after trying to connect to MongoDB. Please confirm that MongoDB is running and accessible.

After installing unified-red (whether via palette manager or npm), Node-RED will display a setup wizard to complete installation/configuration of unified-red. You can configure the MongoDB (or sqlite) connection string there.

If you need additional help, please provide more information about your environment (OS, versions of OS, node, mongodb, etc)

synaptikad commented 1 year ago

Hi, it is not possible to use de wizard, because NR crash after installing unified red (Fresh install no other config, mongo db running)

Le lun. 24 avr. 2023, 17:39, Samy Arbid @.***> a écrit :

Hi Antoine,

unified-red is timing out after trying to connect to MongoDB. Please confirm that MongoDB is running and accessible.

After installing unified-red (whether via palette manager or npm), Node-RED will display a setup wizard to complete installation/configuration of unified-red. You can configure the MongoDB (or sqlite) connection string there.

If you need additional help, please provide more information about your environment (OS, versions of OS, node, mongodb, etc)

— Reply to this email directly, view it on GitHub https://github.com/waccit/unified-red/issues/81#issuecomment-1520409064, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX2TQNUXJ4KGWNYYP4Q5HT3XC2NELANCNFSM6AAAAAAV3UMLBQ . You are receiving this because you authored the thread.Message ID: @.***>

wac-dirka commented 1 year ago

Antoine, can you provide the following information so that we can setup a test environment to reproduce the issue?

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Affected Environment (please select one or more): [ ] Node-RED [ ] Unified-RED [ ] Backend

Context: Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Additional context Add any other context about the problem here.

synaptikad commented 1 year ago

Hi Samy,

Thank for your help

I'll set a environment tomorrow to reproduce the issue and send you all information

regards

Antoine

Le lun. 24 avr. 2023 à 18:09, Samy Arbid @.***> a écrit :

Antoine, can you provide the following information so that we can setup a test environment to reproduce the issue?

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Affected Environment (please select one or more): [ ] Node-RED [ ] Unified-RED [ ] Backend

Context: Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Operating System:
  • Node.js version:
  • npm version:
  • Node-RED version:
  • Unified-RED version:

Additional context Add any other context about the problem here.

— Reply to this email directly, view it on GitHub https://github.com/waccit/unified-red/issues/81#issuecomment-1520458124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX2TQNXXCCWDMWOIZYUHQ5DXC2QUJANCNFSM6AAAAAAV3UMLBQ . You are receiving this because you authored the thread.Message ID: @.***>

--

Antoine DEBIENNE


SYNAPTIK DIGITAL TRANSVERSALITY

1B rue de Fleurs

68510 Geispitzen

+33 / (0)6 46 71 16 63 www.synaptik.tech

synaptikad commented 1 year ago

Hi samy,

Good news, It's resolved by restart full install from scratch.