Similar result:
Using username "pi".
[email protected]'s password:
Linux emonpi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Aug 19 20:41:36 2020 from 192.168.1.71
pi@emonpi:~ $ sudo fsck.ext4 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 64468/252928 files, 425585/1024000 blocks
pi@emonpi:~ $ sudo fsck.ext2 /dev/sda3
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda3: 247/214016 files (18.2% non-contiguous), 377795/3417348 blocks
pi@emonpi:~ $
=== USB Emoncms import start ===
2020-11-14-15:29:02
Backup module version:
"version" : "2.2.6"
EUID: 1000
Reading /opt/emoncms/modules/backup/config.cfg....
Location of data databases: /var/opt/emoncms
Location of emonhub.conf: /etc/emonhub
Location of Emoncms: /var/www/emoncms
Scanning for USB card reader:
- Unmounted disk: /dev/disk/by-id/usb-Multi_Flash_Reader_058F091111B-0:0 at /dev/sda
-- Unmounted disk has correct number of partitions
-- Mounting old SD card boot partition
-- Mounting old SD card root partition
-- Mounting old SD card data partition
-- image version: emonSD-30Oct18
-- Emoncms mysql database found (old location)
-- Emoncms phptimeseries data directory found
-- Emoncms phptimeseries data directory found
-- Disk appears to be valid, continuing with import
Stopping services..
Read MYSQL authentication details from settings.php
stopping mysql
Copying over mysql database from SD card (old structure)
'/media/old_sd_data/mysql/emoncms' -> '/var/lib/mysql/emoncms'
'/media/old_sd_data/mysql/emoncms/db.opt' -> '/var/lib/mysql/emoncms/db.opt'
'/media/old_sd_data/mysql/emoncms/app_config.frm' -> '/var/lib/mysql/emoncms/app_config.frm'
'/media/old_sd_data/mysql/emoncms/dashboard.frm' -> '/var/lib/mysql/emoncms/dashboard.frm'
'/media/old_sd_data/mysql/emoncms/app_config.MYI' -> '/var/lib/mysql/emoncms/app_config.MYI'
'/media/old_sd_data/mysql/emoncms/app_config.MYD' -> '/var/lib/mysql/emoncms/app_config.MYD'
'/media/old_sd_data/mysql/emoncms/device.frm' -> '/var/lib/mysql/emoncms/device.frm'
'/media/old_sd_data/mysql/emoncms/device.MYI' -> '/var/lib/mysql/emoncms/device.MYI'
'/media/old_sd_data/mysql/emoncms/device.MYD' -> '/var/lib/mysql/emoncms/device.MYD'
'/media/old_sd_data/mysql/emoncms/feeds.frm' -> '/var/lib/mysql/emoncms/feeds.frm'
'/media/old_sd_data/mysql/emoncms/feeds.MYI' -> '/var/lib/mysql/emoncms/feeds.MYI'
'/media/old_sd_data/mysql/emoncms/feeds.MYD' -> '/var/lib/mysql/emoncms/feeds.MYD'
'/media/old_sd_data/mysql/emoncms/graph.frm' -> '/var/lib/mysql/emoncms/graph.frm'
'/media/old_sd_data/mysql/emoncms/graph.MYI' -> '/var/lib/mysql/emoncms/graph.MYI'
'/media/old_sd_data/mysql/emoncms/graph.MYD' -> '/var/lib/mysql/emoncms/graph.MYD'
'/media/old_sd_data/mysql/emoncms/input.frm' -> '/var/lib/mysql/emoncms/input.frm'
'/media/old_sd_data/mysql/emoncms/input.MYI' -> '/var/lib/mysql/emoncms/input.MYI'
'/media/old_sd_data/mysql/emoncms/input.MYD' -> '/var/lib/mysql/emoncms/input.MYD'
'/media/old_sd_data/mysql/emoncms/postprocess.frm' -> '/var/lib/mysql/emoncms/postprocess.frm'
'/media/old_sd_data/mysql/emoncms/postprocess.MYI' -> '/var/lib/mysql/emoncms/postprocess.MYI'
'/media/old_sd_data/mysql/emoncms/postprocess.MYD' -> '/var/lib/mysql/emoncms/postprocess.MYD'
'/media/old_sd_data/mysql/emoncms/schedule.frm' -> '/var/lib/mysql/emoncms/schedule.frm'
'/media/old_sd_data/mysql/emoncms/schedule.MYI' -> '/var/lib/mysql/emoncms/schedule.MYI'
'/media/old_sd_data/mysql/emoncms/schedule.MYD' -> '/var/lib/mysql/emoncms/schedule.MYD'
'/media/old_sd_data/mysql/emoncms/setup.frm' -> '/var/lib/mysql/emoncms/setup.frm'
'/media/old_sd_data/mysql/emoncms/setup.MYI' -> '/var/lib/mysql/emoncms/setup.MYI'
'/media/old_sd_data/mysql/emoncms/setup.MYD' -> '/var/lib/mysql/emoncms/setup.MYD'
'/media/old_sd_data/mysql/emoncms/sync.frm' -> '/var/lib/mysql/emoncms/sync.frm'
'/media/old_sd_data/mysql/emoncms/sync.MYI' -> '/var/lib/mysql/emoncms/sync.MYI'
'/media/old_sd_data/mysql/emoncms/sync.MYD' -> '/var/lib/mysql/emoncms/sync.MYD'
'/media/old_sd_data/mysql/emoncms/rememberme.frm' -> '/var/lib/mysql/emoncms/rememberme.frm'
'/media/old_sd_data/mysql/emoncms/rememberme.MYI' -> '/var/lib/mysql/emoncms/rememberme.MYI'
'/media/old_sd_data/mysql/emoncms/rememberme.MYD' -> '/var/lib/mysql/emoncms/rememberme.MYD'
'/media/old_sd_data/mysql/emoncms/multigraph.frm' -> '/var/lib/mysql/emoncms/multigraph.frm'
'/media/old_sd_data/mysql/emoncms/multigraph.MYI' -> '/var/lib/mysql/emoncms/multigraph.MYI'
'/media/old_sd_data/mysql/emoncms/multigraph.MYD' -> '/var/lib/mysql/emoncms/multigraph.MYD'
'/media/old_sd_data/mysql/emoncms/dashboard.MYI' -> '/var/lib/mysql/emoncms/dashboard.MYI'
'/media/old_sd_data/mysql/emoncms/dashboard.MYD' -> '/var/lib/mysql/emoncms/dashboard.MYD'
'/media/old_sd_data/mysql/emoncms/users.frm' -> '/var/lib/mysql/emoncms/users.frm'
'/media/old_sd_data/mysql/emoncms/users.MYI' -> '/var/lib/mysql/emoncms/users.MYI'
'/media/old_sd_data/mysql/emoncms/users.MYD' -> '/var/lib/mysql/emoncms/users.MYD'
Setting database ownership
starting mysql
checking database
emoncms.app_config OK
emoncms.dashboard OK
emoncms.device OK
emoncms.feeds OK
emoncms.graph OK
emoncms.input OK
emoncms.multigraph OK
emoncms.postprocess OK
emoncms.rememberme OK
emoncms.schedule OK
emoncms.setup OK
emoncms.sync OK
emoncms.users OK
Updating Emoncms Database..
["CREATE TABLE `demandshaper` (`userid` int(11), `schedules` text) ENGINE=MYISAM"]
Archive old data folders
Copying PHPFina feed data
'/media/old_sd_data/phpfina' -> '/var/opt/emoncms/phpfina'
'/media/old_sd_data/phpfina/9.meta' -> '/var/opt/emoncms/phpfina/9.meta'
'/media/old_sd_data/phpfina/9.dat' -> '/var/opt/emoncms/phpfina/9.dat'
cp: error reading '/media/old_sd_data/phpfina/9.dat': Input/output error
'/media/old_sd_data/phpfina/10.meta' -> '/var/opt/emoncms/phpfina/10.meta'
cp: error reading '/media/old_sd_data/phpfina/10.meta': Input/output error
'/media/old_sd_data/phpfina/10.dat' -> '/var/opt/emoncms/phpfina/10.dat'
cp: error reading '/media/old_sd_data/phpfina/10.dat': Input/output error
'/media/old_sd_data/phpfina/14.meta' -> '/var/opt/emoncms/phpfina/14.meta'
cp: error reading '/media/old_sd_data/phpfina/14.meta': Input/output error
'/media/old_sd_data/phpfina/14.dat' -> '/var/opt/emoncms/phpfina/14.dat'
cp: error reading '/media/old_sd_data/phpfina/14.dat': Input/output error
'/media/old_sd_data/phpfina/12.meta' -> '/var/opt/emoncms/phpfina/12.meta'
cp: error reading '/media/old_sd_data/phpfina/12.meta': Input/output error
'/media/old_sd_data/phpfina/12.dat' -> '/var/opt/emoncms/phpfina/12.dat'
cp: error reading '/media/old_sd_data/phpfina/12.dat': Input/output error
'/media/old_sd_data/phpfina/5.meta' -> '/var/opt/emoncms/phpfina/5.meta'
cp: error reading '/media/old_sd_data/phpfina/5.meta': Input/output error
'/media/old_sd_data/phpfina/5.dat' -> '/var/opt/emoncms/phpfina/5.dat'
cp: error reading '/media/old_sd_data/phpfina/5.dat': Input/output error
'/media/old_sd_data/phpfina/6.meta' -> '/var/opt/emoncms/phpfina/6.meta'
cp: error reading '/media/old_sd_data/phpfina/6.meta': Input/output error
'/media/old_sd_data/phpfina/6.dat' -> '/var/opt/emoncms/phpfina/6.dat'
cp: error reading '/media/old_sd_data/phpfina/6.dat': Input/output error
'/media/old_sd_data/phpfina/7.meta' -> '/var/opt/emoncms/phpfina/7.meta'
cp: error reading '/media/old_sd_data/phpfina/7.meta': Input/output error
'/media/old_sd_data/phpfina/7.dat' -> '/var/opt/emoncms/phpfina/7.dat'
cp: error reading '/media/old_sd_data/phpfina/7.dat': Input/output error
'/media/old_sd_data/phpfina/8.meta' -> '/var/opt/emoncms/phpfina/8.meta'
cp: error reading '/media/old_sd_data/phpfina/8.meta': Input/output error
'/media/old_sd_data/phpfina/8.dat' -> '/var/opt/emoncms/phpfina/8.dat'
cp: error reading '/media/old_sd_data/phpfina/8.dat': Input/output error
'/media/old_sd_data/phpfina/15.meta' -> '/var/opt/emoncms/phpfina/15.meta'
cp: error reading '/media/old_sd_data/phpfina/15.meta': Input/output error
'/media/old_sd_data/phpfina/15.dat' -> '/var/opt/emoncms/phpfina/15.dat'
cp: error reading '/media/old_sd_data/phpfina/15.dat': Input/output error
'/media/old_sd_data/phpfina/16.meta' -> '/var/opt/emoncms/phpfina/16.meta'
cp: error reading '/media/old_sd_data/phpfina/16.meta': Input/output error
'/media/old_sd_data/phpfina/16.dat' -> '/var/opt/emoncms/phpfina/16.dat'
cp: error reading '/media/old_sd_data/phpfina/16.dat': Input/output error
'/media/old_sd_data/phpfina/17.meta' -> '/var/opt/emoncms/phpfina/17.meta'
cp: error reading '/media/old_sd_data/phpfina/17.meta': Input/output error
'/media/old_sd_data/phpfina/17.dat' -> '/var/opt/emoncms/phpfina/17.dat'
cp: error reading '/media/old_sd_data/phpfina/17.dat': Input/output error
'/media/old_sd_data/phpfina/18.meta' -> '/var/opt/emoncms/phpfina/18.meta'
cp: error reading '/media/old_sd_data/phpfina/18.meta': Input/output error
'/media/old_sd_data/phpfina/18.dat' -> '/var/opt/emoncms/phpfina/18.dat'
cp: error reading '/media/old_sd_data/phpfina/18.dat': Input/output error
'/media/old_sd_data/phpfina/19.meta' -> '/var/opt/emoncms/phpfina/19.meta'
cp: error reading '/media/old_sd_data/phpfina/19.meta': Input/output error
'/media/old_sd_data/phpfina/19.dat' -> '/var/opt/emoncms/phpfina/19.dat'
cp: error reading '/media/old_sd_data/phpfina/19.dat': Input/output error
'/media/old_sd_data/phpfina/21.meta' -> '/var/opt/emoncms/phpfina/21.meta'
cp: error reading '/media/old_sd_data/phpfina/21.meta': Input/output error
'/media/old_sd_data/phpfina/21.dat' -> '/var/opt/emoncms/phpfina/21.dat'
'/media/old_sd_data/phpfina/22.meta' -> '/var/opt/emoncms/phpfina/22.meta'
cp: error reading '/media/old_sd_data/phpfina/22.meta': Input/output error
'/media/old_sd_data/phpfina/22.dat' -> '/var/opt/emoncms/phpfina/22.dat'
'/media/old_sd_data/phpfina/23.meta' -> '/var/opt/emoncms/phpfina/23.meta'
cp: error reading '/media/old_sd_data/phpfina/23.meta': Input/output error
'/media/old_sd_data/phpfina/23.dat' -> '/var/opt/emoncms/phpfina/23.dat'
cp: error reading '/media/old_sd_data/phpfina/23.dat': Input/output error
'/media/old_sd_data/phpfina/24.meta' -> '/var/opt/emoncms/phpfina/24.meta'
cp: error reading '/media/old_sd_data/phpfina/24.meta': Input/output error
'/media/old_sd_data/phpfina/24.dat' -> '/var/opt/emoncms/phpfina/24.dat'
cp: error reading '/media/old_sd_data/phpfina/24.dat': Input/output error
'/media/old_sd_data/phpfina/25.meta' -> '/var/opt/emoncms/phpfina/25.meta'
cp: error reading '/media/old_sd_data/phpfina/25.meta': Input/output error
'/media/old_sd_data/phpfina/25.dat' -> '/var/opt/emoncms/phpfina/25.dat'
'/media/old_sd_data/phpfina/26.meta' -> '/var/opt/emoncms/phpfina/26.meta'
cp: error reading '/media/old_sd_data/phpfina/26.meta': Input/output error
'/media/old_sd_data/phpfina/26.dat' -> '/var/opt/emoncms/phpfina/26.dat'
'/media/old_sd_data/phpfina/27.meta' -> '/var/opt/emoncms/phpfina/27.meta'
cp: error reading '/media/old_sd_data/phpfina/27.meta': Input/output error
'/media/old_sd_data/phpfina/27.dat' -> '/var/opt/emoncms/phpfina/27.dat'
cp: error reading '/media/old_sd_data/phpfina/27.dat': Input/output error
'/media/old_sd_data/phpfina/28.meta' -> '/var/opt/emoncms/phpfina/28.meta'
cp: error reading '/media/old_sd_data/phpfina/28.meta': Input/output error
'/media/old_sd_data/phpfina/28.dat' -> '/var/opt/emoncms/phpfina/28.dat'
cp: error reading '/media/old_sd_data/phpfina/28.dat': Input/output error
'/media/old_sd_data/phpfina/29.meta' -> '/var/opt/emoncms/phpfina/29.meta'
cp: error reading '/media/old_sd_data/phpfina/29.meta': Input/output error
'/media/old_sd_data/phpfina/29.dat' -> '/var/opt/emoncms/phpfina/29.dat'
cp: error reading '/media/old_sd_data/phpfina/29.dat': Input/output error
'/media/old_sd_data/phpfina/30.meta' -> '/var/opt/emoncms/phpfina/30.meta'
cp: error reading '/media/old_sd_data/phpfina/30.meta': Input/output error
'/media/old_sd_data/phpfina/30.dat' -> '/var/opt/emoncms/phpfina/30.dat'
cp: error reading '/media/old_sd_data/phpfina/30.dat': Input/output error
'/media/old_sd_data/phpfina/31.meta' -> '/var/opt/emoncms/phpfina/31.meta'
cp: error reading '/media/old_sd_data/phpfina/31.meta': Input/output error
'/media/old_sd_data/phpfina/31.dat' -> '/var/opt/emoncms/phpfina/31.dat'
cp: error reading '/media/old_sd_data/phpfina/31.dat': Input/output error
'/media/old_sd_data/phpfina/32.meta' -> '/var/opt/emoncms/phpfina/32.meta'
cp: error reading '/media/old_sd_data/phpfina/32.meta': Input/output error
'/media/old_sd_data/phpfina/32.dat' -> '/var/opt/emoncms/phpfina/32.dat'
cp: error reading '/media/old_sd_data/phpfina/32.dat': Input/output error
'/media/old_sd_data/phpfina/33.meta' -> '/var/opt/emoncms/phpfina/33.meta'
cp: error reading '/media/old_sd_data/phpfina/33.meta': Input/output error
'/media/old_sd_data/phpfina/33.dat' -> '/var/opt/emoncms/phpfina/33.dat'
'/media/old_sd_data/phpfina/34.meta' -> '/var/opt/emoncms/phpfina/34.meta'
cp: error reading '/media/old_sd_data/phpfina/34.meta': Input/output error
'/media/old_sd_data/phpfina/34.dat' -> '/var/opt/emoncms/phpfina/34.dat'
'/media/old_sd_data/phpfina/35.meta' -> '/var/opt/emoncms/phpfina/35.meta'
cp: error reading '/media/old_sd_data/phpfina/35.meta': Input/output error
'/media/old_sd_data/phpfina/35.dat' -> '/var/opt/emoncms/phpfina/35.dat'
'/media/old_sd_data/phpfina/36.meta' -> '/var/opt/emoncms/phpfina/36.meta'
cp: error reading '/media/old_sd_data/phpfina/36.meta': Input/output error
'/media/old_sd_data/phpfina/36.dat' -> '/var/opt/emoncms/phpfina/36.dat'
'/media/old_sd_data/phpfina/37.meta' -> '/var/opt/emoncms/phpfina/37.meta'
cp: error reading '/media/old_sd_data/phpfina/37.meta': Input/output error
'/media/old_sd_data/phpfina/37.dat' -> '/var/opt/emoncms/phpfina/37.dat'
'/media/old_sd_data/phpfina/38.meta' -> '/var/opt/emoncms/phpfina/38.meta'
cp: error reading '/media/old_sd_data/phpfina/38.meta': Input/output error
'/media/old_sd_data/phpfina/38.dat' -> '/var/opt/emoncms/phpfina/38.dat'
'/media/old_sd_data/phpfina/39.meta' -> '/var/opt/emoncms/phpfina/39.meta'
cp: error reading '/media/old_sd_data/phpfina/39.meta': Input/output error
'/media/old_sd_data/phpfina/39.dat' -> '/var/opt/emoncms/phpfina/39.dat'
'/media/old_sd_data/phpfina/40.meta' -> '/var/opt/emoncms/phpfina/40.meta'
cp: error reading '/media/old_sd_data/phpfina/40.meta': Input/output error
'/media/old_sd_data/phpfina/40.dat' -> '/var/opt/emoncms/phpfina/40.dat'
cp: error reading '/media/old_sd_data/phpfina/40.dat': Input/output error
'/media/old_sd_data/phpfina/41.meta' -> '/var/opt/emoncms/phpfina/41.meta'
cp: error reading '/media/old_sd_data/phpfina/41.meta': Input/output error
'/media/old_sd_data/phpfina/41.dat' -> '/var/opt/emoncms/phpfina/41.dat'
cp: error reading '/media/old_sd_data/phpfina/41.dat': Input/output error
'/media/old_sd_data/phpfina/43.meta' -> '/var/opt/emoncms/phpfina/43.meta'
cp: error reading '/media/old_sd_data/phpfina/43.meta': Input/output error
'/media/old_sd_data/phpfina/43.dat' -> '/var/opt/emoncms/phpfina/43.dat'
cp: error reading '/media/old_sd_data/phpfina/43.dat': Input/output error
'/media/old_sd_data/phpfina/44.meta' -> '/var/opt/emoncms/phpfina/44.meta'
cp: error reading '/media/old_sd_data/phpfina/44.meta': Input/output error
'/media/old_sd_data/phpfina/44.dat' -> '/var/opt/emoncms/phpfina/44.dat'
cp: error reading '/media/old_sd_data/phpfina/44.dat': Input/output error
'/media/old_sd_data/phpfina/45.meta' -> '/var/opt/emoncms/phpfina/45.meta'
cp: error reading '/media/old_sd_data/phpfina/45.meta': Input/output error
'/media/old_sd_data/phpfina/45.dat' -> '/var/opt/emoncms/phpfina/45.dat'
cp: error reading '/media/old_sd_data/phpfina/45.dat': Input/output error
'/media/old_sd_data/phpfina/47.meta' -> '/var/opt/emoncms/phpfina/47.meta'
cp: error reading '/media/old_sd_data/phpfina/47.meta': Input/output error
'/media/old_sd_data/phpfina/47.dat' -> '/var/opt/emoncms/phpfina/47.dat'
cp: error reading '/media/old_sd_data/phpfina/47.dat': Input/output error
'/media/old_sd_data/phpfina/50.meta' -> '/var/opt/emoncms/phpfina/50.meta'
cp: error reading '/media/old_sd_data/phpfina/50.meta': Input/output error
'/media/old_sd_data/phpfina/50.dat' -> '/var/opt/emoncms/phpfina/50.dat'
cp: error reading '/media/old_sd_data/phpfina/50.dat': Input/output error
'/media/old_sd_data/phpfina/51.meta' -> '/var/opt/emoncms/phpfina/51.meta'
cp: error reading '/media/old_sd_data/phpfina/51.meta': Input/output error
'/media/old_sd_data/phpfina/51.dat' -> '/var/opt/emoncms/phpfina/51.dat'
cp: error reading '/media/old_sd_data/phpfina/51.dat': Input/output error
'/media/old_sd_data/phpfina/52.meta' -> '/var/opt/emoncms/phpfina/52.meta'
cp: error reading '/media/old_sd_data/phpfina/52.meta': Input/output error
'/media/old_sd_data/phpfina/52.dat' -> '/var/opt/emoncms/phpfina/52.dat'
cp: error reading '/media/old_sd_data/phpfina/52.dat': Input/output error
Copying PHPTimeSeries feed data
'/media/old_sd_data/phptimeseries' -> '/var/opt/emoncms/phptimeseries'
cp: cannot access '/media/old_sd_data/phptimeseries': Input/output error
'/media/old_sd_data/emonhub.conf' -> '/etc/emonhub/emonhub.conf'
cp: error reading '/media/old_sd_data/emonhub.conf': Input/output error
Flushing redis
OK
Restarting emonhub...
Restarting feedwriter...
Restarting emoncms MQTT...
2020-11-14-15:29:32
=== Emoncms import complete! ===
Refresh page if log window does not update.
After import is complete logout
Edit - reformatted text. BT, Moderator
=============================================
Tried again:
pi@emonpi:~ $ sudo fsck.ext4 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 64468/252928 files, 425585/1024000 blocks
pi@emonpi:~ $ sudo fsck.ext2 /dev/sda3
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3: clean, 247/214016 files, 377795/3417348 blocks
pi@emonpi:~ $
Also failed to configure feeds & inputs
Edit - reformatted text again . RW, Moderator
For future reference, when posting code or output, please put 3 ‘backticks’ (normally found at the [top left of the keyboard] (typing - How do I type the tick and backtick characters on Windows? - Super User)) on a line of their own before the code, and 3 more backticks on a line of their own after the code.
```
code
```
If it is something like php you can add a language identifier after the first 3 backticks so ```php
or even ```text
if you don’t want any language markup applied.