# Update fails as file system is read-only

**URL:** <https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [March 23, 2024, 12:44am UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821 "2024-03-23T00:44:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriella](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@Gabriella](https://community.dynatrace.com/u/Gabriella)\
**Post date:** [March 23, 2024, 12:44am UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/1 "2024-03-23T00:44:23Z")

</div>

Hello team, I am making updates to the version of the oneagent however some nodes are not updated to the most recent version since it sends me the message that the update fails because the file system is read-only.

Can you help me by telling me in which path of the file system I have to give you write permissions?

And why does this happen?

Greetings!

 ![IMG_0474.jpeg](https://global.discourse-cdn.com/dynatrace/original/2X/6/65a5140ff19a2ac8c02ebe045108239fc0a0d9c1.jpeg)

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [March 23, 2024, 11:58pm UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/2 "2024-03-23T23:58:06Z")

</div>

[@Gabriella](https://community.dynatrace.com/user/73366)&nbsp;Look at your installation path (/opt/dynatrace/xxxx) it could happen because OneAgent was not installed with root access.

---

<div class="post-metadata">

**Author:** ![Gabriella](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@Gabriella](https://community.dynatrace.com/u/Gabriella)\
**Post date:** [March 25, 2024, 5:51pm UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/3 "2024-03-25T17:51:22Z")

</div>

Hello, the agent was installed a long time ago with root permissions it currently has version 1.265.152 I want to update to version 1.283 however when I try it it sends the message filesystem with installation path is read-only.

thank u.

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [March 26, 2024, 2:43am UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/4 "2024-03-26T02:43:28Z")

</div>

[@Gabriella](https://community.dynatrace.com/user/73366)&nbsp;Thats strange, I would say open a support ticket on this, normally it should not happen if OA is installed with Root access until something changed.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [March 26, 2024, 7:07am UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/5 "2024-03-26T07:07:58Z")

</div>

[@Gabriella](https://community.dynatrace.com/user/73366)&nbsp; check the OneAgents logs or download the OneAgent diagnostic archive to see the detailed message and the filesystem details. Most likely there was change on the host where your OneAgent is running like a corrupted filesystem (when Linux remounts it as read only in certain cases), something else is preventing OneAgent from writing the to the OneAgent directory or it’s just a policy your company is running having some filesystems mounted as readonly.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [March 26, 2024, 9:18am UTC](https://community.dynatrace.com/t/update-fails-as-file-system-is-read-only/44821/6 "2024-03-26T09:18:39Z")

</div>

Are you uninstalling/installing or just updating the agent?
