I tried your solution but it doesnt work for me.
heres the very verbose output from beets docker:
LeFab@Gaston:~$ sudo docker exec -u abc -it beets /bin/bash -c ‘beet -vvv import -CAW /volume1/Musik’
user configuration: /config/config.yaml
data directory: /config
plugin paths:
/usr/lib/python3.8/site-packages/beets/mediafile.py:21: UserWarning: beets.mediafile is deprecated; use mediafile instead
warnings.warn(“beets.mediafile is deprecated; use mediafile instead”)
Sending event: pluginload
lyrics: Disabling google source: no API key configured.
inline: adding item field mySongartist
inline: adding item field isMultidisc
inline: adding item field myAlbumType
inline: adding item field myDisc
inline: adding album field bitrate
Traceback (most recent call last):
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 1020, in _make_table
rows = tx.query(‘PRAGMA table_info(%s)’ % table)
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 863, in query
cursor = self.db._connection().execute(statement, subvals)
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 947, in _connection
conn = self._create_connection()
File “/usr/lib/python3.8/site-packages/beets/library.py”, line 1439, in _create_connection
conn = super(Library, self)._create_connection()
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 961, in _create_connection
conn = sqlite3.connect(
sqlite3.OperationalError: unable to open database file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.8/site-packages/beets/ui/init.py”, line 1221, in _open_library
lib = library.Library(
File “/usr/lib/python3.8/site-packages/beets/library.py”, line 1430, in init
super(Library, self).init(path, timeout=timeout)
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 933, in init
self._make_table(model_cls._table, model_cls._fields)
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 1020, in _make_table
rows = tx.query(‘PRAGMA table_info(%s)’ % table)
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 855, in exit
self.db._connection().commit()
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 947, in _connection
conn = self._create_connection()
File “/usr/lib/python3.8/site-packages/beets/library.py”, line 1439, in _create_connection
conn = super(Library, self)._create_connection()
File “/usr/lib/python3.8/site-packages/beets/dbcore/db.py”, line 961, in _create_connection
conn = sqlite3.connect(
sqlite3.OperationalError: unable to open database file
error: database file /volume1/homes/LeFab/.config/beets/library.db cannot not be opened: unable to open database file
I have been on this for so long now it’s ridiculous… I really need help.
thanks