Need help installing 3rd party plugin.
I wrote a script based on install instructions https://github.com/kernitus/beets-oldestdate for my LSIO based beets image. This is my first attempt at installing a 3rd party addon to beets.
beets-oldestdate.sh placed in custom-cont-init.d dir
#!/bin/bash
echo "**** installing beets-oldestdate ****"
mkdir -p /tmp/beets-oldestdate-src
curl -o /tmp/beets-oldestdate-src/master.zip -sL https://github.com/kernitus/beets-oldestdate/archive/refs/heads/master.zip
cd /tmp/beets-oldestdate-src
unzip -qq /tmp/beets-oldestdate-src/master.zip
cd beets-oldestdate-master
/usr/bin/python3 ./setup.py install
rm -r /tmp/beets-oldestdate-src
Docker log
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1001
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] files found in /config/custom-cont-init.d executing
[custom-init] beets-oldestdate.sh: executing...
**** installing beets-oldestdate ****
running install
running bdist_egg
running egg_info
creating beets_oldestdate.egg-info
writing beets_oldestdate.egg-info/PKG-INFO
writing dependency_links to beets_oldestdate.egg-info/dependency_links.txt
writing top-level names to beets_oldestdate.egg-info/top_level.txt
writing manifest file 'beets_oldestdate.egg-info/SOURCES.txt'
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
reading manifest file 'beets_oldestdate.egg-info/SOURCES.txt'
writing manifest file 'beets_oldestdate.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/beetsplug
copying beetsplug/__init__.py -> build/lib/beetsplug
copying beetsplug/oldestdate.py -> build/lib/beetsplug
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/beetsplug
copying build/lib/beetsplug/__init__.py -> build/bdist.linux-aarch64/egg/beetsplug
copying build/lib/beetsplug/oldestdate.py -> build/bdist.linux-aarch64/egg/beetsplug
byte-compiling build/bdist.linux-aarch64/egg/beetsplug/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/beetsplug/oldestdate.py to oldestdate.cpython-38.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying beets_oldestdate.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying beets_oldestdate.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying beets_oldestdate.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying beets_oldestdate.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
beetsplug.__pycache__.__init__.cpython-38: module references __path__
creating dist
creating 'dist/beets_oldestdate-1.0.0-py3.8.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing beets_oldestdate-1.0.0-py3.8.egg
creating /usr/lib/python3.8/site-packages/beets_oldestdate-1.0.0-py3.8.egg
Extracting beets_oldestdate-1.0.0-py3.8.egg to /usr/lib/python3.8/site-packages
Adding beets-oldestdate 1.0.0 to easy-install.pth file
Installed /usr/lib/python3.8/site-packages/beets_oldestdate-1.0.0-py3.8.egg
Processing dependencies for beets-oldestdate==1.0.0
Finished processing dependencies for beets-oldestdate==1.0.0
[custom-init] beets-oldestdate.sh: exited 0
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
** error loading plugin oldestdate:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/beets/plugins.py", line 276, in load_plugins
namespace = __import__(modname, None, None)
ModuleNotFoundError: No module named 'beetsplug.oldestdate'
* Serving Flask app 'beetsplug.web' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://127.0.0.1:8337/ (Press CTRL+C to quit)
Install seems to run fine, no errors. config.yml includes oldestdate in plugins list. But I always get the ModuleNotFoundError error.
Any ideas?