# Install beets community plugin via Docker (Synology NAS)

**URL:** <https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230>\
**Category:** Help\
**Created:** [December 26, 2022, 7:50am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230 "2022-12-26T07:50:05Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 26, 2022, 7:50am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/1 "2022-12-26T07:50:05Z")

</div>

Hi there,

I am trying to install the beets-popularity plugin on my beets installed via Docker on my Synology NAS. When running the install script i get this error:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/66cd457eec2b549826e20e6f72fd7ae02b40b2e0.jpeg)

Any idea how can i fix it, or if there is another similar plugin that i can install easier ?

Thank you

---

<div class="post-metadata">

**Author:** ![RollingStar](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/rollingstar/32/728_2.png) [@RollingStar](https://discourse.beets.io/u/RollingStar)\
**Post date:** [December 26, 2022, 10:49pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/2 "2022-12-26T22:49:36Z")

</div>

Upgrade pip? run via python (something like python -m pip ) ? [permissions - When I use sudo pip to install software I get the message "the directory... is not owned by the current user" - Ask Ubuntu](https://askubuntu.com/questions/991734/when-i-use-sudo-pip-to-install-software-i-get-the-message-the-directory-is-n)

---

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 27, 2022, 7:18am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/3 "2022-12-27T07:18:29Z")

</div>

Thanks. Did the upgrade but now it seems that the plugin cannot be found. Tried the manual steps from [GitHub - abba23/beets-popularity: Beets plugin to fetch and store popularity values as flexible item attributes](https://github.com/abba23/beets-popularity) but git does not seem to exist inside the container.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/316d1608e746f60bd50bb5deb08ad8002889da7e.jpeg)

---

<div class="post-metadata">

**Author:** ![trolley](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/trolley/32/431_2.png) [@trolley](https://discourse.beets.io/u/trolley)\
**Post date:** [December 27, 2022, 8:15pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/4 "2022-12-27T20:15:09Z")

</div>

Does Synology use the LSIO Docker container?

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [December 29, 2022, 1:09am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/5 "2022-12-29T01:09:06Z")

</div>

Hello! It looks like `beets-popularity` is not on PyPI:  
[https://pypi.org/project/beets-popularity/](https://pypi.org/project/beets-popularity/)

…so it will not be installable via `pip`. Perhaps the plugin author deleted it from PyPI. If you want to forge ahead anyway, you would probably need to clone the repo yourself and install it from there.

---

<div class="post-metadata">

**Author:** ![jackwilsdon](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jackwilsdon/32/10_2.png) [@jackwilsdon](https://discourse.beets.io/u/jackwilsdon)\
**Post date:** [December 29, 2022, 1:24am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/6 "2022-12-29T01:24:16Z")

</div>

You could also try installing directly from GitHub with `pip install git+https://github.com/abba23/beets-popularity.git`

---

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 29, 2022, 5:11am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/7 "2022-12-29T05:11:43Z")

</div>

Trying your suggestion gives me:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/611b5adebc3360e78c7346c1b6fee17e070e9a68.jpeg)

---

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 29, 2022, 5:17am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/8 "2022-12-29T05:17:35Z")

</div>

this is the container i am using [Docker](https://registry.hub.docker.com/r/linuxserver/beets/)

---

<div class="post-metadata">

**Author:** ![jackwilsdon](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jackwilsdon/32/10_2.png) [@jackwilsdon](https://discourse.beets.io/u/jackwilsdon)\
**Post date:** [December 29, 2022, 9:27am UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/9 "2022-12-29T09:27:23Z")

</div>

From the screenshot you’ve provided, it seems like git isn’t installed in the container. As the container seems to be Alpine based, try `apk add git` (you may need an `apk update` to refresh the package repository before running this).

---

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 29, 2022, 4:28pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/10 "2022-12-29T16:28:08Z")

</div>

> [@jackwilsdon](#):
>
> pip install git+https://github.com/abba23/beets-popularity.git

@jackwilsdon your help was much appreciated. i managed to make it work now. all the best !

---

<div class="post-metadata">

**Author:** ![trolley](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/trolley/32/431_2.png) [@trolley](https://discourse.beets.io/u/trolley)\
**Post date:** [December 31, 2022, 3:51pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/11 "2022-12-31T15:51:30Z")

</div>

Does this survive container recreation though?

---

<div class="post-metadata">

**Author:** ![simistef](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/simistef/32/699_2.png) [@simistef](https://discourse.beets.io/u/simistef)\
**Post date:** [December 31, 2022, 6:03pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/12 "2022-12-31T18:03:44Z")

</div>

No. But i exported locally the container with all settings

---

<div class="post-metadata">

**Author:** ![trolley](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/trolley/32/431_2.png) [@trolley](https://discourse.beets.io/u/trolley)\
**Post date:** [December 31, 2022, 8:45pm UTC](https://discourse.beets.io/t/install-beets-community-plugin-via-docker-synology-nas/2230/13 "2022-12-31T20:45:54Z")

</div>

I don’t know how you do this with Synology, but if there’s a way you can add your own custom additional volume you can script it: [Customizing our Containers | LinuxServer.io](https://www.linuxserver.io/blog/2019-09-14-customizing-our-containers)
