Issue Deleting a File in TeddyCloud

Hi everyone,

I’m experiencing an issue when trying to delete a file in TeddyCloud, and I’m hoping for some advice. When I attempt to remove a file. I get the following error messages in the log:

ERROR|handler_api.c:2239:handleApiFileDelete| Error deleting file '/TONIE' -> '/teddycloud/data/content/default/TONIE', error Generic error code [1]
WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator  

Has anyone experienced a similar issue or have ideas on how to successfully delete the file?
Could these logs point to a specific problem, such as with the database or file system configuration?
Are there tools or workarounds for manually deleting such files, e.g., via a shell?

Thank you in advance for your help! :blush:

You are most likely try to delete a folder.

Beside that, it makes no sense deleting folders in the content dir, as this is a representation of the microSD of the virtual Toniebox within teddyCloud.
What do you try to achieve?

Same problem here…I wanted to start completely from zero and deleted the respective Tonie directories on the SD, but they are still displayed in the TC.

Deleting results in the same error:
“Deleting file “/014xxxx” failed: error deleting file ‘/014xxxx’, error Generic error code [1]”

You have to step into the folder and delete the content first.