Download .png file to Vera via SSH - Read Only File System


Just wondering if anyone knows how I can download (curl) or copy a image file (.png) to /www/cmh/skins/default/img/devices/device_states ? Without using something like WinSCP (limited access to a windows machine0

I’m looking to replace an device icon in the Ui. Every time I try it, I get a message telling me it can’t do it, as it’s a ‘Read-only file system’

root@MiOS_ 50102351:/mios/www/cmh/skins/default/img/other# curl -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Warning: Failed to create the file security.png: Read-only file system
curl: (23) Failed writing body (0 != 362)

Or via a copy when I first downloaded it to the root home folder…

root@MiOS_50102351:/# cp /security.png /www/cmh/skins/default/img/devices/device_states

cp: can't create '/www/cmh/skins/default/img/devices/device_states/security.png': Read-only file system

From what I can tell, having tried writing to each one, these are all ‘read-only’


Where as I could write to here…



You can now only put icons in this location /www/cmh/skins/default/icons/.

On UI7 in the json you have to reference them as:

Cheers Rene

1 Like

Perfect, thanks @reneboer

Hi @reneboer , i forgot to ask, where did you find out information like that ? Is there a site/resource people should use ?

Hi parkerc,

It was communicated to plugin developers before 7.30 (or 7.31) came out with that limitation so plugins could be updated.

Cheers Rene

FYI - I couldn’t get the above to work, but this did, any ideas why ?

"img": "..\/..\/..\/icons\/icon.png"