kevinGodell / node-red-ui-mp4frag

MIT License
0 stars 0 forks source link

mp4frag destroys dashboard in NodeRED 3.0.2 #1

Closed Bond246 closed 1 year ago

Bond246 commented 1 year ago

Hello Kevin,

i still use your plugin for my dashboard to simply playback m3u8 livestreams. Cause it just does its job. So thumbs up for that 👍

Today i wanted to update my NodeRED from 2.2.2 to 3.0.2. But after that the dashboard is not loaded anymore. Or better to say:

If i remove the Plugin with npm uninstall and restart my docker based NodeRED-Install everything is fine again.

Do you have an idea where the problem could be?

Thanks

kevinGodell commented 1 year ago

I can guess that there is possibly a conflict with the socket.io versions, but that is simply a guess. I just did a brand new install using the latest versions of node-red and the dashboard on a pi just a couple weeks ago and it was working good. Can you open a thread on the node-red forum?

kevinGodell commented 1 year ago

I just checked the versions of my recent node-red setup on a pi4 where the node is still functioning properly for me.

2 Sep 09:45:38 - [info] Node-RED version: v3.0.2
2 Sep 09:45:38 - [info] Node.js  version: v18.7.0
2 Sep 09:45:38 - [info] Linux 5.15.32-v8+ arm64 LE
2 Sep 09:45:39 - [info] Loading palette nodes
2 Sep 09:45:41 - [info] Dashboard version 3.1.7 started at /ui

I would like to see how that compares to what you are using for you setup. If you can respond, please post to the node-red forum and tag me there so we can work out a solution.

Bond246 commented 1 year ago

Hello kevin,

sorry for the delay. Thats the startup output from my ubuntu 20.04 x86-server:

5 Sep 14:06:41 - [info] Node-RED version: v3.0.2
5 Sep 14:06:41 - [info] Node.js  version: v16.16.0
5 Sep 14:06:41 - [info] Linux 5.13.0-30-generic x64 LE
5 Sep 14:06:41 - [info] Loading palette nodes
5 Sep 14:06:42 - [info] Dashboard version 3.1.7 started at /ui

As you said i tried the same with a fresh NodeRED-Install. Only NR + Dashboard, added some buttons and had a functional Dashboard. Then i installed the plugin with: docker exec -it Node-Red_test npm install https://github.com/kevinGodell/node-red-contrib-ui-mp4frag.git

After that the dashboard was empty. Then i deactivated the plugin via pallete manager and the dashboard was back again.

I opened the NodeRED-Forum thread now: https://discourse.nodered.org/t/problems-with-the-dashboard-after-upgrade-to-3-0-2-node-red-contrib-ui-mp4frag/67349

Bond246 commented 1 year ago

just for completeness, i also tested the docker image with node.js 18

kevinGodell commented 1 year ago

I responded in the forum.

kevinGodell commented 1 year ago

issue moved to forum