# Can't edit, delete my external storage

**URL:** <https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591>\
**Category:** ℹ️ Support\
**Created:** [August 26, 2021, 11:53pm UTC](https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591 "2021-08-26T23:53:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![3x5](https://help.nextcloud.com/user_avatar/help.nextcloud.com/3x5/32/14532_2.png) [@3x5](https://help.nextcloud.com/u/3x5)\
**Post date:** [August 26, 2021, 11:53pm UTC](https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591/1 "2021-08-26T23:53:12Z")

</div>

I saw someone mention a similar issue, except they couldn’t even access their storage. I can access them fine, but I just can’t edit or delete them.

I created a duplicate of the same external storage, with the settings I wanted, but then I couldn’t remove the first. This is true on two different instances of nextcloud: one on my LAN, and one on a VPS. The LAN uses an external USB hard drive, and the VPS uses AWS-compatible object storage and the result is the same.

---

<div class="post-metadata">

**Author:** ![3x5](https://help.nextcloud.com/user_avatar/help.nextcloud.com/3x5/32/14532_2.png) [@3x5](https://help.nextcloud.com/u/3x5)\
**Post date:** [September 6, 2021, 3:18pm UTC](https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591/2 "2021-09-06T15:18:06Z")

</div>

I have a solution for this:

```auto
sudo -u www-data php occ files_external:list

```

Use this to get the ID of the storage you want to unmount. Then run:

```auto
sudo -u www-data php occ files_external:delete <id>

```

And that will remove the storage.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:35am UTC](https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591/3 "2024-12-13T10:35:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 10:35am UTC](https://help.nextcloud.com/t/cant-edit-delete-my-external-storage/122591/4 "2024-12-13T10:35:53Z")

</div>


