Updated Troubleshooting (markdown)

Bas Stottelaar
2015-08-12 22:57:20 +02:00
parent a21ccf20ae
commit fa160e353f
+1 -1
@@ -184,7 +184,7 @@ _Solutions_:
* 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, 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.
* Make sure no other service is running on the configured port. Also note that ports below 1024 require root privileges. See [#2313](https://github.com/rembo10/headphones/issues/2313) for some more info.
* 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 or log file.
## Database problems ##