MyOSMC update fails with Add-on error

I also have the same error, when I try to update I get “Insufficient space for Update to proceed,
Free some storage space and try again later.”

I have all my media files in a external drive, no files on my 8 GB card.

here are my ls -lah /boot and df -h outputs:

osmc@osmc:/$ ls -lah /boot
total 20M
drwxr-xr-x 4 root root 4.0K Apr 25 19:21 .
drwxr-xr-x 23 root root 4.0K Apr 25 20:00 …
-rwxr-xr-x 1 root root 1.5K Mar 29 00:29 LICENCE.broadcom
-rwxr-xr-x 1 root root 2.0M Apr 1 23:07 System.map-4.4.6-3-osmc
-rwxr-xr-x 1 root root 15K Apr 1 23:53 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root 16K Apr 1 23:53 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 18K Mar 29 00:29 bootcode.bin
-rwxr-xr-x 1 root root 63 Jan 1 1980 cmdline.txt
-rwxr-xr-x 1 root root 115K Apr 1 21:19 config-4.4.6-3-osmc
-rwxr-xr-x 1 root root 262 Apr 25 19:21 config.txt
drwxr-xr-x 3 root root 512 Apr 5 17:17 dtb-4.4.6-3-osmc
-rwxr-xr-x 1 root root 9.5K Mar 29 00:29 fixup_x.dat
-rwxr-xr-x 1 root root 2.3K Jan 1 1980 install.log
-rwxr-xr-x 1 root root 7.1M Apr 5 17:26 kernel.img
drwxr-xr-x 2 root root 2.5K Apr 5 17:17 overlays
-rwxr-xr-x 1 root root 341 May 14 2015 preseed.cfg
-rwxr-xr-x 1 root root 3.7M Mar 29 00:29 start_x.elf
-rwxr-xr-x 1 root root 7.1M Apr 1 23:07 vmlinuz-4.4.6-3-osmc
osmc@osmc:/$
osmc@osmc:/$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 362M 0 362M 0% /dev
tmpfs 367M 5.1M 362M 2% /run
/dev/mmcblk0p2 7.0G 6.4G 170M 98% /
tmpfs 367M 0 367M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 367M 0 367M 0% /sys/fs/cgroup
/dev/mmcblk0p1 240M 20M 220M 9% /boot
/dev/sda1 1.9T 1.7T 197G 90% /media/Elements
tmpfs 74M 0 74M 0% /run/user/1000
osmc@osmc:/$

Is it normal to have only 170M free space in /dev/mmcblk0p2?

David

Sure not normal unless you have anything stored locally (like transmission) or your library is humongous.

Would start with du -x -d1 -h /home/osmc to find out if the 6G is somewhere in your home directory.

Thanks fzinken for your help.

this is the output:

osmc@osmc:~$ du -x -d1 -h /home/osmc
4.0K /home/osmc/Pictures
28K /home/osmc/.config
128K /home/osmc/.dvdcss
8.0K /home/osmc/.smb
4.0K /home/osmc/TV Shows
4.6G /home/osmc/.kodi
8.0K /home/osmc/.ssh
4.0K /home/osmc/Movies
4.0K /home/osmc/Music
4.6G /home/osmc
osmc@osmc:~$

I see that I have two directories with 4.6G, is this also normal?

David

Something in your .kodi directory is using all your space. Try the same command on your .kodi directory

du -x -d1 -h /home/osmc/.kodi

The /home/osmc line is the total space used in /home/osmc, which will be a sum of all the sub directories.

I think I found it!
I did as you sugested and found a few large directories.
I have a Plugin called MP3 Streams using a lot of space, around 1,5G in a temp directory, I deleted the content of that directory, freed that space and now I don’t have the update error anymore, I will see if I can free some more space in temp directories.

Your du -x -d1 -h /home/osmc command was tha savior of the day, thanks again.

David

1 Like

You may want to dig through your .kodi directory some more. On my Pi2, .kodi is only using 813M:

osmc@kaled:~$ du -x -d1 -h /home/osmc/.kodi
4.0K /home/osmc/.kodi/media
282M /home/osmc/.kodi/userdata
4.0K /home/osmc/.kodi/system
4.0K /home/osmc/.kodi/sounds
521M /home/osmc/.kodi/addons
11M /home/osmc/.kodi/temp
813M /home/osmc/.kodi

As you probably already guessed, the du command can be very useful in finding where your space disappeared to :wink:

Yeah and for the lazy people ncdu can be even more helpful
sudo apt-get install ncdu

Thanks bmillham, I’m doing that, I installed a few too many plugins just to try them and I think I have some wasted space that I need to clean.

Thanks fzinken, I will try this command.

I have the same issue on my Raspberry Pi Model B+.
I use a microSD card with 8GB, I installed on its two operating systems by NOOBS.
I report the output of commands
osmc@osmc-Ivano:~$ ls -lah /boot
total 20M
drwxr-xr-x 4 root root 2.0K May 15 13:08 .
drwxr-xr-x 23 root root 4.0K Mar 5 15:22 …
-rwxr-xr-x 1 root root 1.5K Mar 28 23:29 LICENCE.broadcom
-rwxr-xr-x 1 root root 1.9M Apr 1 22:13 System.map-4.4.6-3-osmc
-rwxr-xr-x 1 root root 14K Apr 1 22:59 bcm2708-rpi-b-plus.dtb
-rwxr-xr-x 1 root root 14K Apr 1 22:59 bcm2708-rpi-b.dtb
-rwxr-xr-x 1 root root 18K Mar 28 23:29 bootcode.bin
-rwxr-xr-x 1 root root 64 Mar 5 12:27 cmdline.txt
-rwxr-xr-x 1 root root 113K Apr 1 20:16 config-4.4.6-3-osmc
-rwxr-xr-x 1 root root 437 May 6 20:51 config.txt
drwxr-xr-x 3 root root 512 Apr 10 09:44 dtb-4.4.6-3-osmc
-rwxr-xr-x 1 root root 9.5K Mar 28 23:29 fixup_x.dat
-rwxr-xr-x 1 root root 7.1M Apr 10 09:51 kernel.img
-rwxr-xr-x 1 root root 287 Mar 5 12:27 os_config.json
drwxr-xr-x 2 root root 2.5K Apr 10 09:44 overlays
-rwxr-xr-x 1 root root 3.7M Mar 28 23:29 start_x.elf
-rwxr-xr-x 1 root root 7.1M Apr 1 22:13 vmlinuz-4.4.6-3-osmc
osmc@osmc-Ivano:~$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 172M 0 172M 0% /dev
tmpfs 177M 4.5M 173M 3% /run
/dev/mmcblk0p9 2.0G 1.6G 274M 86% /
tmpfs 177M 0 177M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 177M 0 177M 0% /sys/fs/cgroup
/dev/mmcblk0p8 79M 20M 59M 26% /boot
/dev/mmcblk0p1 1.2G 1.1G 92M 93% /media/RECOVERY
/dev/mmcblk0p5 30M 1.8M 26M 7% /media/SETTINGS
/dev/mmcblk0p6 63M 20M 44M 31% /media/boot
/dev/mmcblk0p7 3.9G 3.4G 300M 92% /media/root0
tmpfs 36M 0 36M 0% /run/user/1000

Can you help me because when i try to update the OSMC i get the following reply
“Insufficient space for Update to proceed,
Free some storage space and try again later.”

You don’t have enough space. Remove some (possibly) media you have added to the system or install on it’s own SDcard that is not sharing space with your other Noobs installations.

How i know which media can i remove?
NOOBS has created all partitions.
Maybe i need a sd card bigger?

Do you actually use any of the other systems installed by NOOBS? Or is this only for OSMC?

I also use Raspbian.
But now I have resolved, I had some files in temp directory of /home/osmc/.kodi.
Now I can download the update.
Thanks for all :slight_smile:

I have updated the OSMC, but now the system doesn’t start. On TV appear always the sad face :frowning2:
I can reach the raspberry by ssh, but the interface of OSMC doesn’t start