mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 16:34:01 +01:00
Updated Troubleshooting (markdown)
+17
-1
@@ -147,4 +147,20 @@ _Solutions_:
|
||||
* Verify that if you manually put a file in the watch directory, the downloader processes it.
|
||||
* Does the black hole directory of Headphones match the watch directory of your downloader?
|
||||
* Does the downloader have read/write permissions on the watch directory?
|
||||
* Check the watch interval settings of your downloader.
|
||||
* Check the watch interval settings of your downloader.
|
||||
|
||||
## Headphones installed as daemon does not work
|
||||
_Symptons_:
|
||||
When I installed Headphones as a daemon, it does nothing when I start it (e.g. `service headphones start).
|
||||
|
||||
Or:
|
||||
|
||||
Headphones does not run at startup, even though I installed it as daemon.
|
||||
|
||||
_Solutions_:
|
||||
* See if it is actually running. Under Ubuntu/Debian `ps awx | grep Headphones` should list a process with it's startup arguments if it has started.
|
||||
* Check the log files.
|
||||
* Make sure you have the service enabled. For instance, under Ubuntu/Debian you have to mark a service to startup on boot with `sudo update-rc.d headphones defaults`. Refer to [[Install as a daemon]] for more information.
|
||||
* Make sure that the daemon user has write permissions to the data folder.
|
||||
* Make sure no other service is running on the configured port. Also note that ports below 1024 require root privileges.
|
||||
* Debug the startup script. One way is to edit the startup script and remove the `--daemon` and `--quiet` option from the launch options and add the `--verbose` option. For instance, see [Line 112](https://github.com/rembo10/headphones/blob/master/init-scripts/init.ubuntu#L112) in the Ubuntu launch script. Now when you start the script, it should start in the foreground. Any errors will now be printed to console.
|
||||
Reference in New Issue
Block a user