No Dashboard and cannot deploy new flow

Hi,

After importing and testing a flow, I decided to disable the flow for later use. To be able to use this flow, it was necessary to install a local MySQL database (Windows laptop). I uninstalled this installation locally. After that, I stopped and started the node-RED server on my Pi, but now I don't have a dashboard anymore (dashboard nodes are still present) and I can't deploy a new flow either.

Finally I deleted the test flow but I still see a reference Waiting for missing types to be registered:
Is that the cause of the above problems and how do I solve it?

image

If I open ipaddress/ui I get this message

Below is the my log file:

- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js
31 May 20:33:20 - [warn] [node-red-contrib-google-translate-fixed/google-translate] 'google-translate' already registered by module node-red-contrib-google-translate
31 May 20:33:20 - [warn] [node-red-node-group/group] Error: This module is not required for Node-RED 1.1.0 or later (line:9)
31 May 20:33:20 - [warn] ------------------------------------------------------
31 May 20:33:20 - [info] Settings file  : /home/pi/.node-red/settings.js
31 May 20:33:20 - [info] HTTP Static    : /home/pi/node-red-static
31 May 20:33:20 - [info] Context store  : 'default' [module=memory]
31 May 20:33:20 - [info] User directory : /home/pi/.node-red
31 May 20:33:20 - [warn] Projects disabled : editorTheme.projects.enabled=false
31 May 20:33:20 - [warn] Flows file name not set. Generating name using hostname.
31 May 20:33:20 - [info] Flows file     : /home/pi/.node-red/flows_Rpi4.json
31 May 20:33:21 - [info] Server now running at http://127.0.0.1:1880/
31 May 20:33:21 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
31 May 20:33:21 - [info] Waiting for missing types to be registered:
31 May 20:33:21 - [info]  - MySQLdatabase
31 May 21:33:56 - [info] Stopping flows
31 May 21:33:56 - [info] Stopped flows
31 May 21:33:56 - [info] Waiting for missing types to be registered:
31 May 21:33:56 - [info]  - MySQLdatabase
31 May 21:34:13 - [info] Stopping flows
31 May 21:34:13 - [info] Stopped flows
31 May 21:34:13 - [info] Waiting for missing types to be registered:
31 May 21:34:13 - [info]  - MySQLdatabase

Finally I deleted the test flow but I still see a reference Waiting for missing types to be registered:
Is that the cause of the above problems and how do I solve it?

search (CTRL-F) for MySQLdatabase - it will probably be an unused config node - delete it and deploy.

1 Like

How simple is that :grinning: I didn't know that trick. Everything is working fine again!

Thank you Steve :fist_left:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.