Input feeds page gone after upgrade

Hi upgraded to 10.0.2 after not using my emonpi for a year or so, i have the following problem on the input page -

Warning : require(Modules/device/Views/device_dialog.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/input/Views/input_view.php on line 143

Fatal error : require(): Failed opening required ‘Modules/device/Views/device_dialog.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/emoncms/Modules/input/Views/input_view.php on line 143

Hi Neil, can you post the server info from the admin page please.

This isn’t a fault I’ve personally seen before, but at first glance I wonder if you have the device module installed. If this is an old image (2015/2016) it may not be totally compatible with the current updater, the server info will hopefully reveal more.

I have a 4Gb SD card, have found a 32Gb card and have just flashed the latest a stock image, i guess i am so far behind 2016, may start again…

Server Information

Services
emonhub : Active Running
mqtt_input : Active Running
feedwriter : Active Running - sleep 60s 45 feed points pending write
emonPiLCD : Active Running
redis-server : Active Running
mosquitto : Active Running

Emoncms
Version : low-write 10.0.2
Modules : Administration | App v1.0.0 | Config v1.0.0 | Dashboard v2.0.1 | EventProcesses | Feed | Graph v2.0.1 | Input | CoreProcess | Schedule | Time | User | Visualisation | WiFi v2.0.0
Git :
URL : GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
Branch : * master
Describe : 10.0.2-21-g4013c27

Server
OS : Linux 4.1.19-v7+
Host : emonpi | emonpi | (192.168.0.159)
Date : 2019-06-07 19:08:12 BST
Uptime : 19:08:12 up 27 min, 0 users, load average: 0.04, 0.09, 0.12

Memory
RAM : Used: 25.72%
Total : 973.37 MB
Used : 250.35 MB
Free : 723.02 MB

Disk
/ : Used: 66.93%
Total : 3.33 GB
Used : 2.23 GB
Free : 962.65 MB
/boot : Used: 33.22%
Total : 59.95 MB
Used : 19.91 MB
Free : 40.03 MB
/home/pi/data : Used: 8.29%
Total : 3.57 GB
Used : 303.3 MB
Free : 3.09 GB

HTTP
Server : Apache/2.4.10 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL
Version : 5.5.44-0+deb8u1
Host : localhost:6379 (127.0.0.1)
Date : 2019-06-07 19:08:11 (UTC 01:00‌​)
Stats : Uptime: 1622 Threads: 3 Questions: 1075 Slow queries: 0 Opens: 57 Flush tables: 1 Open tables: 50 Queries per second avg: 0.662

Redis
Version : 2.8.17
Host : localhost:6379
Size : 203 keys (563.01K)
Uptime : 0 days

MQTT Server
Version : Mosquitto 1.4.8
Host : localhost:1883 (127.0.0.1)

PHP
Version : 5.6.20-0+deb8u1 (Zend Version 2.6.0)
Modules : apache2handler | bcmath | bz2 | calendar | Core v5.6.20-0+deb8u1 | ctype | curl | date v5.6.20-0+deb8u1 | dba | dio v0.0.4RC4 | dom v20031129 | ereg | exif v1.4 $Id: f94e075e5a1ebe5108ef2729498d2f198df3c078 $ | fileinfo v1.0.5 | filter v0.11.0 | ftp | gettext | hash v1.0 | iconv | json v1.3.6 | libxml | mbstring | mcrypt | mhash | mosquitto v0.3.0 | mysql v1.0 | mysqli v0.1 | openssl | pcre | PDO v1.0.4dev | pdo_mysql v1.0.2 | Phar v2.0.2 | posix | readline v5.6.20-0+deb8u1 | redis v2.2.7 | Reflection v$Id: fbcf7a77ca8e3d4cd7501de8025235b947b8240f $ | session | shmop | SimpleXML v0.1 | soap | sockets | SPL v0.2 | standard v5.6.20-0+deb8u1 | sysvmsg | sysvsem | sysvshm | tokenizer v0.1 | wddx | xml | xmlreader v0.1 | xmlwriter v0.1 | Zend OPcache v7.0.6-devFE | zip v1.12.5 | zlib v2.0

Pi
Model : Raspberry Pi 3 Model B Rev 1.2 - 1 GB (Sony UK)
SoC : Broadcom BCM2709
Serial num. : 4CC37BF3
Temperature : 45.08°C - 45.1°C
emonpiRelease : emonSD-03May16
File-system : read-only

Client Information

HTTP
Browser : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Language : en-GB,en-US;q=0.9,en;q=0.8

Window
Size : 1085 x 755

Screen
Resolution : 1500 x 1000

So it looks like the device module isn’t listed in the emoncms modules

Modules : Administration | App v1.0.0 | Config v1.0.0 | Dashboard v2.0.1 | EventProcesses | Feed | Graph v2.0.1 | Input | CoreProcess | Schedule | Time | User | Visualisation | WiFi v2.0.0

Are you going to just start over with the latest image? It’s probably wiser if you have no data to save, even if we fixed this, I can’t be sure there aren’t other issues as the latest updater isn’t entirely compatible with the earlier images, it might be fine if we installed the device module, but I can’t be entirely sure.

thanks Paul, yes going for a clean install, thanks again Neil

i did got the same problem, with upgrade from 9.9.8 to 10.0.2. Installing device module solved that.
git pull is not going to solve, if you dont have the device module first installled.

I think if you run a second, full, update, the new update script checks for what modules are installed and installs some key modules if they are missing.