How to delete uploaded luup files?

How can I delete uploaded device and service files when I no longer want them? There’s only an upload button, no delete button.

Seems like a silly question, but I can’t find it in the wiki.

-ZMaF

I not aware of a means through the UI4 GUI. I logged into Vera with a terminal and did a “find” command, didn’t find any files with the same name which means they may be stored inside of some sort of table file or database file. I did a recursive “grep” looking for one of the filenames and found it several times, usually in a binary file. At this point its probably best to leave the files in your system until your next upgrade.

If you can login to Vera (using SSH) then you can see them all listed under:

/etc/cmh-ludl
and they have “.lzo” on the end, as they’ve been compressed. So you’ll see files like:

root@MiOS_xxxxx:/etc/cmh-ludl# pwd /etc/cmh-ludl root@MiOS_xxxxx:/etc/cmh-ludl# ls -l *Weath* -rw-r--r-- 1 root root 2109 Jan 2 15:45 D_Weather.json.lzo -rw-r--r-- 1 root root 1051 Jul 10 2010 D_Weather.xml.lzo -rw-r--r-- 1 root root 5090 Aug 21 16:59 I_GoogleWeather.xml.lzo -rw-r--r-- 1 root root 544 Jan 4 21:27 S_Weather.xml.lzo root@MiOS_xxxxx:/etc/cmh-ludl#

From there, the can be deleted, but there’s no UI-based option at this time.

Thanks all!

Once I reach this command, what are the exact steps to delete a file, save changes and exit. (Sorry, not aware of Linux commands to delete files)

[quote=“guessed, post:3, topic:167392”]If you can login to Vera (using SSH) then you can see them all listed under:

/etc/cmh-ludl
and they have “.lzo” on the end, as they’ve been compressed. So you’ll see files like:

root@MiOS_xxxxx:/etc/cmh-ludl# pwd /etc/cmh-ludl root@MiOS_xxxxx:/etc/cmh-ludl# ls -l *Weath* -rw-r--r-- 1 root root 2109 Jan 2 15:45 D_Weather.json.lzo -rw-r--r-- 1 root root 1051 Jul 10 2010 D_Weather.xml.lzo -rw-r--r-- 1 root root 5090 Aug 21 16:59 I_GoogleWeather.xml.lzo -rw-r--r-- 1 root root 544 Jan 4 21:27 S_Weather.xml.lzo root@MiOS_xxxxx:/etc/cmh-ludl#

From there, the can be deleted, but there’s no UI-based option at this time.[/quote]

Deleting a file is an irreversible and immediate action, so no need to save. But this also means that if you accidentally delete other file, you can’t restore it or undo the delete.

To delete a file use this command:
[tt]rm <file_name>[/tt]

To delete all the files containing a specific string in their name use this command:
[tt]rm [/tt]

e.g. If you want to delete all the files containing Weather in their name, the command would look like this:
[tt]rm Weather[/tt]

If you have a Windows computer, give WinSCP a try. It can do SFTP (which is essentially SSH) and presents a nice graphical interface.