[Support] Linuxserver.io - Headphones


Recommended Posts

  • 4 weeks later...

Hi there, loving this docker, but im getting a weird behaviour, in some post processing it seems to get into a loop where it just processes the same thing over and over again - i found 248 copies of the same thing (albulm title), (albulmtitle)(1), (albulm title)(2) etc etc

 

heres an excert of the logs. i have added [deleted] instead of artist name etc  so as to not divulge too much into what headphones actually does :-) any thoughts on this please? it only does it on some files

 

2018-01-25 09:58:08 ERROR Error trying to change permissions on folder: /music/[deleted]. [Errno 1] Operation not permitted: '/music/[deleted]'
2018-01-25 09:58:08 WARNING Error moving file 24 [deleted]-未来- [1996] - [deleted] Ifill.flac: [Errno 1] Operation not permitted: '/music/[deleted]/[deleted]-\xe6\x9c\xaa\xe6\x9d\xa5- [1996][1]/24 [deleted]-\xe6\x9c\xaa\xe6\x9d\xa5- [1996] - [deleted]Ifill.flac'
Link to comment
  • 1 month later...

Receiving the following errors when trying to add/search for new artists. 

Everything else seems to be working fine, like it downloads new albums for existing artists etc

Quote

 

04-Mar-2018 10:18:55 - ERROR :: Thread-12 : Fatal Error executing DELETE FROM tracks WHERE ReleaseID=? :: database disk image is malformed
04-Mar-2018 10:18:55 - ERROR :: Thread-12 : Uncaught exception: Traceback (most recent call last):
File "/app/headphones/headphones/logger.py", line 214, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/headphones/headphones/importer.py", line 295, in addArtisttoDB
new_releases = mb.get_new_releases(rgid, includeExtras, forcefull)
File "/app/headphones/headphones/mb.py", line 541, in get_new_releases
myDB.action("DELETE FROM tracks WHERE ReleaseID=?", [items['ReleaseID']])
File "/app/headphones/headphones/db.py", line 66, in action
sqlResult = c.execute(query, args)
DatabaseError: database disk image is malformed

 

 

 

Have tried to 'rebuild' the database with sqlite3 based on this post 
https://github.com/rembo10/headphones/issues/1053

 

It seems to just create a new headphones.db, which then works when adding new artists, but has obviously lost all my previous artist/download history

 

Edited by samtrois
Link to comment
On 4/10/2017 at 6:37 AM, deuxcolors said:

I'm trying to get this working, but the workflow stops halfway through.

I find an album I want, it is sent to Deluge and downloaded, but then Headphones doesn't see the file in the folder. It isn't an issue with the mapping I use the same file structure across all my automation apps and Deluge.
I'm guessing it is a issue with my setting within Headphones, but I haven't found where it is, and there really isn't a good setup guide for this software.

Any help is greatly appreciated.

 

I cant get this to work at all. it never scans my library. I add artist manually and try searching but it never gets a torrent. How did you get this to find a torrent??

Link to comment
  • 2 weeks later...

I'm using Deluge in a docker with Headphone.  I'm getting this error:

 

2018-03-24 10:40:13	ERROR	Request raised exception: No connection adapters were found for 'magnet:?xt=urn:btih:9E7D399BB285DCF847764C205F8852DD836DA963&dn=Charlie+Wilson+%26ndash%3B+In+It+To+Win+It+(2017)+[Mp3~320Kbps]&tr=udp:%2F%2Ftracker.coppersurfer.tk:6969%2Fannounce&tr=udp:%2F%2Ftracker.coppersurfer.tk:80%2Fannounce&tr=udp:%2F%2Ftracker.opentrackr.org:1337%2Fannounce&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969%2Fannounce&tr=udp:%2F%2Ftracker.zer0day.to:1337%2Fannounce&tr=udp:%2F%2Ftracker.grepler.com:6969%2Fannounce&tr=udp:%2F%2Ftracker.ilibr.org:80%2Fannounce&tr=udp:%2F%2Fipv4.tracker.harry.lu:80%2Fannounce&tr=udp:%2F%2Fshadowshq.yi.org:6969%2Fannounce&tr=udp:%2F%2Fp4p.arenabg.ch:1337%2Fannounce&tr=udp:%2F%2Ftracker.filetracker.pl:8089%2Fannounce&tr=udp:%2F%2Fexplodie.org:6969%2Fannounce&tr=udp:%2F%2Feddie4.nl:6969%2Fannounce&tr=http:%2F%2Fipv4.tracker.harry.lu%2Fannounce&tr=udp:%2F%2Ftracker.zer0day.to:1337%2Fannounce&tr=udp:%2F%2Ftracker.leechers-paradise.org:6969%2Fannounce&tr=udp:%2F%2Fcoppersurfer.tk:6969%2Fannounce'

 

Any solutions? 

 

It appears to be fixed in the Development branch: https://github.com/rembo10/headphones/issues/3070

 

Is there a way to switch branches?

Edited by krh1009
Link to comment
  • 2 weeks later...

Hi,

 

Mine has been working for about a year but appears to have broke (cannot access the webui, just get page cannot be displayed) but the log looks as though everything is ok?  I have tried accessing from another machine and rebooted server & clients

 

_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
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] done.
[services.d] starting services
[services.d] done.
04-Apr-2018 02:17:40 - INFO :: MainThread : Checking to see if the database has all tables....
04-Apr-2018 02:17:40 - INFO :: MainThread : Retrieving latest version information from GitHub
04-Apr-2018 02:17:40 - INFO :: MainThread : Headphones is up to date
04-Apr-2018 02:17:40 - INFO :: MainThread : Starting Headphones web server on http://localhost:8181/
04-Apr-2018 02:17:41 - INFO :: MainThread : Scheduled background task: Search for Wanted
04-Apr-2018 02:17:41 - INFO :: MainThread : Scheduled background task: Download Scan
04-Apr-2018 02:17:41 - INFO :: MainThread : Scheduled background task: Library Scan
04-Apr-2018 02:17:41 - INFO :: MainThread : Scheduled background task: MusicBrainz Update
04-Apr-2018 02:17:41 - INFO :: MainThread : Scheduled background task: Check GitHub for updates
04-Apr-2018 08:17:41 - INFO :: Thread-18 : Retrieving latest version information from GitHub
04-Apr-2018 08:17:41 - INFO :: Thread-18 : Headphones is up to date

Link to comment
58 minutes ago, mbc0 said:

 

Hi,

 

Sorry, I am not sure what the run command is? would it be here?

 

 

Headphones.JPG

 

No it's not. But I can see the error. You have changed the container port to 8182. Always leave the container port at its default. 

The docker run command you can find by clicking the link in my signature ;-)

Link to comment

Hi,

 

Apologies, I did not see that in your sig!  it has been so long since I changed the port I cannot remember what the default is? is it 8181? I would have changed it from that if it was as Plexpy uses 8181

 

Here is the run command, thank you for your time :-)

 

Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='headphones' --net='bridge' -e TZ="Europe/London" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '8182:8181/tcp' -v '/mnt/user/Downloads/Headphones/completed/':'/completed':'rw' -v '/mnt/user/Music/Music (Full)/':'/music':'rw' -v '/mnt/user/processingfolder/Bliss/input':'/blissinput':'rw' -v '/mnt/user/4KMovies/':'/testnotrequireed':'rw' -v '/mnt/user/appdata/headphones':'/config':'rw' 'linuxserver/headphones'

88ca505c4d4cba0e2d2b562ec830d98da7d0b7293691bc88fbe4917cbea7cec0

The command finished successfully!

Link to comment

my headphones container also stopped working sometime in the last few days. cant access GUI. I too have altered the container port (as it was conflicting with tautulli) and had been working fine up until sometime recently.

Edited by mgladwin
typo
Link to comment
7 hours ago, saarg said:

 

Go to your Headphones appdata folder and edit config.ini and change http_host to the below.

 


http_host = 0.0.0.0

 

 

Mine is already set to this. :(

 

My docker run command:-

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='headphones' --net='bridge' -e TZ="Australia/Adelaide" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '9192:8181/tcp' -v '/mnt/user/MEDIA/DOWNLOADS/completed/music':'/downloads':'rw' -v '/mnt/user/MUSIC':'/music':'rw' -v '/mnt/cache/appdata/headphones':'/config':'rw' 'linuxserver/headphones'

 

I changed host port to 9192 to get the run command, its normally 9191.

 

Any other ideas @saarg?

Link to comment
3 hours ago, mgladwin said:

 

Mine is already set to this. :(

 

My docker run command:-

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='headphones' --net='bridge' -e TZ="Australia/Adelaide" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '9192:8181/tcp' -v '/mnt/user/MEDIA/DOWNLOADS/completed/music':'/downloads':'rw' -v '/mnt/user/MUSIC':'/music':'rw' -v '/mnt/cache/appdata/headphones':'/config':'rw' 'linuxserver/headphones'

 

I changed host port to 9192 to get the run command, its normally 9191.

 

Any other ideas @saarg?

 

Need to see the headphones log. 

Link to comment
On 6.4.2018 at 4:28 AM, mgladwin said:

 

Mine is already set to this. :(

 

My docker run command:-

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='headphones' --net='bridge' -e TZ="Australia/Adelaide" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -p '9192:8181/tcp' -v '/mnt/user/MEDIA/DOWNLOADS/completed/music':'/downloads':'rw' -v '/mnt/user/MUSIC':'/music':'rw' -v '/mnt/cache/appdata/headphones':'/config':'rw' 'linuxserver/headphones'

 

I changed host port to 9192 to get the run command, its normally 9191.

 

Any other ideas @saarg?

 

You have changed the port in the webgui of headphones to 9191 at one point and this makes it not work. You either find the port option in your config file or change the port mapping to say 9191 for both host and container port. 

 

The reason why it happened is that we changed how headphones is started.  We removed the forced port 8181 and this activated the port in the webgui. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.