cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete projects in business application studio

former_member200477
Participant
0 Kudos

Hello,

Disk Space in my trial dev space has reached 100%. I am trying to delete projects to free some space but i am not able to delete any files or projects. I tried all option to clear cache and trash folders by following this GA Support but it still does not work.

Please help/ guide me how i can resolve this issue to get some space in my BAS.

Thanks and Regards,

Navya

Accepted Solutions (1)

Accepted Solutions (1)

rima-sirich
Advisor
Advisor

Hi Navya,

"Enable Trash" checkbox should be deselected in order to disable trash. Can you please check that?

Regards,

Rima

former_member200477
Participant
0 Kudos

Thank you Rima,

I deselected this option and i was able to delete projects and free some space.

Thanks and Regards,

Navya

Answers (5)

Answers (5)

boris_tsirulnik
Participant

Hi,

It looks like you are using Theia menu or right click menu. Please do not use it to delete the files.

Please open the Terminal and follow these steps as described in GA:

3. Clean the Trash folder in the "/home/user/.local/share/Trash/files" path by running the following command:

rm -rf /home/user/.local/share/Trash/files

4. Clean the yarn cache folder in the "/home/user/.local/cache" path by running the following command:

rm -rf /home/user/.cache

5. Clean the npm cache folder in the "/home/user/.npm" path by running the following command:

rm -rf /home/user/.npm

Note that deleting files or folders using Theia menu is not actually deletes the files but moves them to the Trash folder.

To actually delete the files, you should use the rm command from the terminal.

Step 3 above will clean your Trash folder.

Regards,

Boris

former_member200477
Participant

Hi boris.tsirulnik,

I tried the above 3 commands but there is no change in my disk space and unable to delete projects.

Thank you,

Navya

vincenzocappelluti
Participant
0 Kudos

I already have that option checked ("Moves files/folders to OS trash...") but I can't see the Trash folder in bash terminal.

I tryed to reach /home/user/.local/share/Trash/files but I stopped to share folder.

Any hint?

Thank you.

rima-sirich
Advisor
Advisor

Hi Navya,

To resolve this issue navigate to File -> Settings -> Open Preferences. Search for Trash and disable "Enable Trash" checkbox.

Regards,

Rima

former_member200477
Participant

Hi rima.rudnik-sirich,

I have enabled this option but i am not able to delete projects. i am not sure if this is caused because my inode usage (df -ih command) shows 100%.

Thank you,

Navya

vincenzocappelluti
Participant
0 Kudos

I already have that option checked ("Moves files/folders to OS trash...") but I can't see the Trash folder in bash terminal.

I tryed to reach /home/user/.local/share/Trash/files but I stopped to share folder.

Any hint?

Thank you.

Hi ,

Could you please check if you have an error in a console when you press on delete? if yes, please attach it here.

Could you provide your workspace id and the full link to your project?

Best regards,

Inna

former_member200477
Participant

Hi Inna,

Please find the screenshot of the error from console.

My workspace id is ws-2tqxx.

Thank you,

Navya

boris_tsirulnik
Participant
0 Kudos

Hi,

You can analyze which folders are using most of the disk quota.

This is the command to see the usage breakdown for specific folder:

du -ahd1 /home/user | sort -hr

Also check the inodes and disk usage.

Disk

df -h /home

inodes

df -i /home

In worst case, you can create a new dev space and move some of the projects there.

Regards,

Boris

0 Kudos

HI ,

Please try to check the param "enable trash":

File-> settings-> open preferences ->search for param "enable trash"-> check it

Stop and start the workspace.

In addition, please share the environment you are working on.

Best regards,

Inna

former_member200477
Participant
0 Kudos

Hi inna.pinsky,

I have selected the enable trash option but result is the same.

My API Endpoint is https://api.cf.eu10.hana.ondemand.com.

Thank you

Navya