update issue

Thank you michelangelo for the fast response!

Plugins installed:

IR Remote Controller (version from github)
miniDLNA (https://github.com/volumio/volumio-plugins/pull/188)
RemotePi
Touch Display (version from github)
Backup & Restore Data

In case it should be of interest the attributes of /etc/os-release are

lrwxrwxrwx 1 root    root       21 Jan  7  2015 os-release -> ../usr/lib/os-release

and the attributes of /usr/lib/os-release are

-rwxrwxrwx 1 volumio volumio      677 Aug 27 15:28 os-release

The content of os-release is:

[code]PRETTY_NAME=“Raspbian GNU/Linux 8 (jessie)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“8”
VERSION=“8 (jessie)”
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/
SUPPORT_URL=“http://www.raspbian.org/RaspbianForums
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs
VOLUMIO_BUILD_VERSION=“7124eaf0213deb060cebb17ef631669189a6650e”
VOLUMIO_FE_VERSION=“b52b5dfa93e3b26d6f23f09c91a5b90b0a43edf0”
VOLUMIO_BE_VERSION=“273d2050e44b6f5ae901d967e346577f7ad86f2c”
VOLUMIO_ARCH=“arm”
VOLUMIO_VARIANT=“volumio”
VOLUMIO_TEST=“FALSE”
VOLUMIO_BUILD_DATE=“Mon Aug 27 17:21:50 CEST 2018”

VOLUMIO_VERSION=“2.452”
VOLUMIO_HARDWARE=“pi”
VOLUMIO_HASH=“1802c403029d39af3072f40e987e7ba4”

[/code]

EDIT:
One more thing: The system has been set up with 2.452 initially and has not been updated in the past.

I now manually mounted /dev/mmcblk0p3:

/bin/mkdir /mnt/overlay /usr/bin/sudo /bin/mount /dev/mmcblk0p3 /mnt/overlay
Then did

ls -al /mnt/overlay total 44 drwxr-xr-x 6 root root 4096 Jan 1 1970 . drwxrwxrwx 1 root root 4096 Oct 2 20:19 .. drwxrwxrwx 13 root root 4096 Aug 31 20:19 dyn drwx------ 2 root root 16384 Aug 27 15:21 lost+found drwxrwxrwx 2 root root 4096 Jan 1 1970 union drwxrwxrwx 3 root root 4096 Jan 1 1970 work
and

ls -al /mnt/overlay/dyn total 100 drwxrwxrwx 13 root root 4096 Aug 31 20:19 . drwxr-xr-x 6 root root 4096 Jan 1 1970 .. drwxr-xr-x 11 volumio volumio 4096 Oct 2 19:31 data drwxr-xr-x 31 volumio volumio 4096 Sep 7 19:15 etc drwxr-xr-x 3 root root 4096 Aug 27 15:20 home drwxrwxr-x 4 root root 4096 Aug 31 20:26 lib drwxrwxrwx 3 root root 4096 Sep 30 16:15 media drwxrwxrwx 3 root root 4096 Oct 2 20:19 mnt drwxr-xr-x 2 root root 4096 Aug 31 21:13 opt drwx------ 5 root root 4096 Oct 2 20:14 root drwxrwxrwx 2 root root 4096 Jan 1 1970 static drwxr-xr-x 8 volumio volumio 4096 Jun 1 2017 usr drwxr-xr-x 6 root root 4096 Aug 27 15:13 var
Any idea what could be the reason that “volumio” is missing here (as listdynchanges.sh already reported)? Even if a file in the volumio folder would have been changed the folder itself should still exist I guess.

Please do ls -al /mnt/overlay/dyn/etc

and if you see the os-release file, please paste its output here

No os-release file:

ls -al /mnt/overlay/dyn/etc total 448 drwxr-xr-x 31 volumio volumio 4096 Sep 7 19:15 . drwxrwxrwx 13 root root 4096 Aug 31 20:19 .. -rw------- 1 root root 0 Aug 27 15:17 .pwd.lock drwxr-xr-x 7 root root 4096 Aug 31 20:30 X11 drwxr-xr-x 2 root root 4096 Aug 31 20:30 alternatives drwxr-xr-x 2 root root 4096 Aug 31 20:25 calendar drwxrwxr-x 4 volumio volumio 4096 Aug 31 20:30 chromium-browser drwxr-xr-x 2 root root 4096 Aug 31 20:25 cron.daily drwxr-xr-x 2 root root 4096 Aug 31 20:25 cron.weekly drwxr-xr-x 2 root root 4096 Sep 7 19:14 default -rw-r--r-- 1 root root 4479 Nov 11 2016 drirc -rw-r--r-- 1 root root 20 Oct 2 21:52 fake-hwclock.data drwxr-xr-x 5 root root 4096 Aug 31 20:30 gconf drwxr-xr-x 2 root root 4096 Aug 31 20:25 groff -rw-r--r-- 1 root root 876 Aug 31 21:45 group -rw------- 1 root root 860 Aug 31 20:26 group- -rw-r----- 1 root shadow 746 Aug 31 21:45 gshadow -rw------- 1 root root 733 Aug 31 20:26 gshadow- drwxr-xr-x 2 root root 4096 Aug 31 20:53 init drwxr-xr-x 2 root root 4096 Sep 7 19:14 init.d -rw-r--r-- 1 root root 45841 Aug 31 21:44 ld.so.cache drwxr-xr-x 2 root root 4096 Aug 31 21:44 lirc drwxr-xr-x 5 root root 4096 Aug 31 21:44 logcheck drwxr-xr-x 2 root root 4096 Sep 7 19:14 logrotate.d -r--r--r-- 1 root root 33 Aug 27 15:19 machine-id -rw-r--r-- 1 root root 2981 Aug 31 21:05 mailcap -rw-r--r-- 1 root root 5170 Jun 27 2017 manpath.config drwxr-xr-x 2 root root 4096 Aug 31 21:05 matchbox drwxr-xr-x 2 root root 4096 Aug 31 20:26 menu-methods -rw-r--r-- 1 volumio volumio 5737 Sep 28 19:13 minidlna.conf -rwxrwxrwx 1 root root 205 Aug 27 15:22 modules -rwxrwxrwx 1 mpd audio 2915 Aug 27 15:49 mpd.conf lrwxrwxrwx 1 root root 12 Aug 27 15:21 mtab -> /proc/mounts -rw-r--r-- 1 root root 1709 Aug 31 21:45 passwd -rw------- 1 root root 1691 Aug 31 21:45 passwd- drwxr-xr-x 2 root root 4096 Aug 31 21:24 plymouth drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc0.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc1.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc2.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc3.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc4.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc5.d drwxr-xr-x 2 root root 4096 Sep 7 19:14 rc6.d drwxr-xr-x 2 root root 4096 Aug 31 20:26 rcS.d -rw-r--r-- 1 root root 149 Oct 2 21:52 resolv.conf -rw-r----- 1 root shadow 1036 Aug 31 21:45 shadow -rw------- 1 root root 1036 Aug 31 21:45 shadow- -rwxrwxrwx 1 volumio volumio 436 Oct 2 21:53 shairport-sync.conf drwxr-xr-x 2 root root 4096 Aug 27 15:22 ssh -rw-r--r-- 1 root root 319 Aug 31 21:45 subgid -rw------- 1 root root 297 Aug 27 15:21 subgid- -rw-r--r-- 1 root root 319 Aug 31 21:45 subuid -rw------- 1 root root 297 Aug 27 15:21 subuid- drwxr-xr-x 3 root root 4096 May 7 2017 systemd drwxr-xr-x 2 root root 4096 Aug 27 15:21 wpa_supplicant drwxr-xr-x 3 root root 4096 Aug 31 20:25 xdg

Interesting.
Can you post the output of df -h ?

Can you do an update and just before it restarts send us logs via /dev page?

df -h Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 2.2G 815M 1.3G 39% /imgpart /dev/loop0 235M 235M 0 100% /static overlay 27G 710M 25G 3% / devtmpfs 477M 0 477M 0% /dev tmpfs 489M 61M 428M 13% /dev/shm tmpfs 489M 4.7M 484M 1% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 489M 0 489M 0% /sys/fs/cgroup tmpfs 489M 28K 489M 1% /tmp tmpfs 489M 0 489M 0% /var/spool/cups tmpfs 20M 48K 20M 1% /var/log tmpfs 489M 0 489M 0% /var/spool/cups/tmp /dev/mmcblk0p1 61M 37M 24M 61% /boot tmpfs 98M 0 98M 0% /run/user/1000 /dev/mmcblk0p3 27G 710M 25G 3% /mnt/overlay

Will try ASAP :slight_smile:

Tried to update. Now I get the message

[code]Update failed

System Software Integrity check failed, manually edited files were detected. System Software Update is not possible under those circumstances. Please execute a Factory Reset or Delete User Data, then retry.[/code]
which did not happen before.

Running volumio updater restorevolumio did not help to get rid of the message.

listdynchanges still gives:

Preparing folder structure Listing modified files find: `/mnt/overlay/dyn/volumio': No such file or directory Restoring folders

I have to add that I forgot to unmount /mnt/overlay before I tried to update. But I would not expect that to alter /volumio and so its hash the updater gets from md5deep(?)

After I had noticed that I unmounted. The updated still failed with the message that manually edited files were detected. I then ran volumio updater restorevolumio again to no avail.

@michelangelo
Is there something you would like me to try or test in order to find the issue? Otherwise I would go on and either delete user data or do a factory reset or I might force the update without checking system integrity.

Would it be possible that you create an image of your sd card and send it to me? That would help

I have created an image of the whole sd card (32GB) now and compressed it. File size is still 2.1GB. How could I send it to you? I don’t have cloud storage like a dropbox account or the like.

wetransfer.com/ if you split it into two might work

Thanks spyking! :slight_smile:

I decided to reset user data. Volumio restarted and ran the setup wizard. Now system version is 2.457. Except from following the setup wizard and activating ssh (and changing the background image…) I did no modifications at all but ./listdynchanges.sh still results inPreparing folder structure Listing modified files find: `/mnt/overlay/dyn/volumio': No such file or directory Restoring folders
After/bin/mkdir /mnt/overlay /usr/bin/sudo /bin/mount /dev/mmcblk0p3 /mnt/overlay
cat /mnt/overlay/dyn/etc/os-release showed

No such file or directory

and df -hFilesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 2.2G 815M 1.3G 39% /imgpart /dev/loop0 235M 235M 0 100% /static overlay 27G 56M 26G 1% / devtmpfs 477M 0 477M 0% /dev tmpfs 489M 0 489M 0% /dev/shm tmpfs 489M 4.7M 484M 1% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 489M 0 489M 0% /sys/fs/cgroup tmpfs 489M 28K 489M 1% /tmp tmpfs 489M 0 489M 0% /var/spool/cups tmpfs 20M 52K 20M 1% /var/log tmpfs 489M 0 489M 0% /var/spool/cups/tmp /dev/mmcblk0p1 61M 37M 24M 61% /boot tmpfs 98M 0 98M 0% /run/user/1000 /dev/mmcblk0p3 27G 56M 26G 1% /mnt/overlay
cat /usr/lib/os-release showed[code]
PRETTY_NAME=“Raspbian GNU/Linux 8 (jessie)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“8”
VERSION=“8 (jessie)”
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/
SUPPORT_URL=“http://www.raspbian.org/RaspbianForums
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs
VOLUMIO_BUILD_VERSION=“c00a19098320053824010d132d6bfb39774a7d2f”
VOLUMIO_FE_VERSION=“e2f152c30d370c9c7c86508a02c0323bef5c243b”
VOLUMIO_BE_VERSION=“909cc76a7609428f005f8e2878227062cb5328a6”
VOLUMIO_ARCH=“arm”
VOLUMIO_VARIANT=“volumio”
VOLUMIO_TEST=“FALSE”
VOLUMIO_BUILD_DATE=“Mon Sep 17 00:18:22 CEST 2018”

VOLUMIO_VERSION=“2.457”
VOLUMIO_HARDWARE=“pi”
VOLUMIO_HASH=“cdde21c6e3d40ce352c051f661950d1b”
[/code]
Now that I have to reinstall the plugins anyway I guess I’ll start from scratch in the coming days.

Hi,

It happened to me too. Currently I’m using beta version of volumio 2.533. I could not update to any further version (including today’s release 2.542) because of integrity check failure.
Integrity script outputs:

Preparing folder structure Listing modified files find: `/mnt/overlay/dyn/volumio': No such file or directory Restoring folders
The only change I made with volumio is upload additional background image via web interface. Execution of volumio updater restorevolumio didn’t help. Any idea what is the root cause?

Yes, we might have an idea.
Thank you guys for reporting

Hi.
Update to 2.543 still doesn’t work. The same integrity issue…

+1

2.544 doesn’t work too.

Update from 2.698 to 2.699 not possible due integrity error:

Listing modified files /mnt/overlay/dyn/volumio/app/plugins/audio_interface/alsa_controller/index.js /mnt/overlay/dyn/volumio/app/plugins/miscellanea/albumart/default.jpg Restoring folders
This files does not exist. The whole folder /mnt/overlay does not exist.
How can i fix this? I have not modified any files.

Edit: I have now replaced “/volumio/app/plugins/audio_interface/alsa_controller/index.js” with the one from “volumio-2.698-2020-01-16-pi.img.zip” (in the squashfs). And now it works. :sunglasses: