ODROID-N2 4GB CoreELEC Edition can't auto update

Hi,

Just got this bundle but auto update doesn’t seem to work. I’m new to CoreELEC so any pointers would be helpful. It complains it doesn’t got enough storage… and that makes sense since this is how it looks:

CoreELEC:~ # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                  1.6G    178.2M      1.4G  11% /dev
/dev/mmcblk1p1          511.7M    196.6M    315.1M  38% /flash
/dev/mmcblk1p2           27.0M     26.3M         0 100% /storage
/dev/loop0              178.5M    178.5M         0 100% /
tmpfs                     1.8G         0      1.8G   0% /dev/shm
tmpfs                     1.8G      8.9M      1.8G   0% /run
tmpfs                     1.8G         0      1.8G   0% /sys/fs/cgroup
tmpfs                     1.8G      2.6M      1.8G   0% /var
tmpfs                     1.8G         0      1.8G   0% /tmp

I don’t understand why /storage is so small I mean it’s a 4GB SD card…

2019-04-11 16:28:40.440 T:3718124416   ERROR: ## CoreELEC Addon ## updates::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))
2019-04-11 16:28:40.441 T:3718124416   ERROR: Traceback (most recent call last):
                                          File "/home/adamg/CoreELEC/build.CoreELEC-Amlogic-ng.arm-9.2.0/CoreELEC-settings-cc602bcab801199018a70070804c468cbc276267/.install_pkg/usr/share/kodi/addons/service.coreelec.settings/resources/lib/modules/updates.py", line 510, in check_updates_v2
                                          File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
                                          File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
                                        TypeError: expected string or buffer
2019-04-11 16:28:40.500 T:4060246032   ERROR: Control 1500 in window 13001 has been asked to focus, but it can't
2020-04-14 09:35:54.901 T:3718124416   ERROR: ## CoreELEC Addon ## oe::download_file(https://github.com/CoreELEC/CoreELEC/releases/download/9.2.2/CoreELEC-Amlogic-ng.arm-9.2.2.tar, /storage/.kodi/temp/update_file) ## ERROR: (IOError(28, 'No space left on device'))
2020-04-14 09:35:54.901 T:3718124416   ERROR: Traceback (most recent call last):
                                          File "/home/adamg/CoreELEC/build.CoreELEC-Amlogic-ng.arm-9.2.0/CoreELEC-settings-cc602bcab801199018a70070804c468cbc276267/.install_pkg/usr/share/kodi/addons/service.coreelec.settings/oe.py", line 321, in download_file
                                        IOError: [Errno 28] No space left on device
2020-04-14 09:36:01.867 T:4060246032   ERROR: installaddon called with invalid number of parameters (should be: 1, is 0)
2020-04-14 09:36:02.583 T:4060246032 WARNING: CGUIWindowManager - HandleAction - ignoring action

You have to free space on /storage because 100% of space is used

It´s no CE error

1 Like

Yeah well I can see that but it’s only 27MB?
I didn’t format it the odroid UK guys did…

Normally the storage partition gets resized to the size of the available space on the card, the first time you boot CoreELEC. However it looks like that didn’t happen in this case.

There is two ways to resolve the issue. One you can write a new copy of CoreELEC to the card. Two you can ssh into the device and manually trigger the partition resize. Both will however result in the settings being reset. The first one is probably the easier one if you have a microsd card reader. Though if you want to try the second one I can post a howto.

Yeah, I just re flashed the SD card with Odroid N2 nightly build from here:
https://relkai.coreelec.org/

But when I booted, it auto updated to 9.2.2. I hope I didn’t loose any N2 specific stuff now…
Seems to work fine though. Thanks!

What is N2 specific stuff ?

Glad to here you got it working.

When we make a new stable release we set the nightly builds to update to the new stable build for a little while. This is to make sure that any users that were only using the nightly build because they were waiting for the next stable build to include support for their device or an important to them fix, get moved over.

As for loosing N2 specific stuff. There is nothing to worry about here, as long as the image you put on the card was the one labeled for the Odroid N2 then you have everything you need for the N2.