# What is this p2 directory in my composer repository group?

**URL:** <https://community.sonatype.com/t/what-is-this-p2-directory-in-my-composer-repository-group/14805>\
**Category:** Sonatype Nexus Repository\
**Created:** [April 17, 2025, 1:43pm UTC](https://community.sonatype.com/t/what-is-this-p2-directory-in-my-composer-repository-group/14805 "2025-04-17T13:43:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Harold](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/ben_harold/32/3813_2.png) [@Ben\_Harold](https://community.sonatype.com/u/Ben_Harold)\
**Post date:** [April 17, 2025, 1:43pm UTC](https://community.sonatype.com/t/what-is-this-p2-directory-in-my-composer-repository-group/14805/1 "2025-04-17T13:43:06Z")

</div>

We have a repository group for Composer PHP libraries. Recently a new folder appeared in that repository group called `p2`. Now when I try to run `composer update`, I’m getting an error that a JSON file in the `p2` folder is corrupt. Specifically

```auto
https://nexus.example.com/repository/composer-all could not be fully loaded (The "https://nexus.example.com/repository/composer-all/p2/example/input-filter.json" file could not be downloaded (HTTP/1.1 500 Internal Server Error)), package information was loaded from the local cache and may be out of date

```

I tried deleting the `p2` folder, but it came back on its own, only this time with more corrupt JSON. What is this and how do I either fix it or get rid of it?
