From 2fa1c2cc52ab734a382f667312e70b33cb55bcfc Mon Sep 17 00:00:00 2001 From: basilfx Date: Tue, 4 Nov 2014 18:28:41 -0800 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 65cb495..786edd1 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -161,6 +161,6 @@ _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 that the daemon user has write permissions to the data folder, and that the data folder exist. A common mistake is that Headphones was first setup to run as normal, and then installed as daemon (with a special daemon user). In most cases, the daemon user cannot access normal user's files. * 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. \ No newline at end of file