Vis php scripts in directory vis in Modules - I don't have them

I have a system that was running perfectly for some years and I upgraded my router. Then stupidly I upgraded my emonpi as I had powered down the network while upgrading the router.

Now my dashboards won’t display.

There is in the script area in the head portion of the dashboard html an attempt load vis_langjs.php from a vis sub directory in Modules.

There is no vis on the system.

What do I do?

Hello @Andybeevers can you check that your emoncms dashboard module is up to date as well? Core should be on 12.2.0, dashboard module should be on 4.2.0

I have looked in GitHub and the vis section has been removed. The dashboards that I created some 10 years ago which informed the family easily when they could use the white goods such as a washing machine are now not working. I have tried turning on the archived version in ‘my account’ and that has not worked. Please could someone send me the modules so I can get this working whilst I workout what to do. I am quite upset about this.

The latest dashboard module migrates old vis charts automatically, you need dashboard module 4.2.0

emoncms say low-write 12.2.0
Dashboard says V2.5.1 ( with local changes) which I haven’t changed…

Thanks @Andybeevers that would be it. The local changes are probably some update process artifact and can be discarded.

Are you familiar with connecting to your Pi via SSH? These local changes unfortunately need clearing over SSH. E.g:

ssh [email protected]

Default credentials listed here depending on your image: emonSD Download — OpenEnergyMonitor 0.0.1 documentation

Then:

cd /var/www/emoncms/Modules/dashboard

See what your local changes are:

git diff 

Discard local changes:

git checkout .

Then run the update again

there seems to be a difference in dashboard_view although reading it I can’t see the difference
shall I do a git restore . then git checkout . or delete the file first

do I run the update from the admin update - full update?

I have it working now - I will need to readjust some of the dashboard as the icons have disappeared but that is a small problem.

Great to hear that you have it working! Apologies only just catching up with your post now.