FAQ - Frequently Asked Questions - Knowledge Base

How to rebuild the iTunes database?

Under some circumstances, it is possible that a corrupted iTunes database is causing certain songs to be missing or showing up more than once in iTunes or that an error appears (e.g. port 3689 error). In order to solve this problem, we recommend to clear the current database via command line interface and then let the system rebuild it from scratch.

  1. Enable the SSH server. Login to your Taurus LAN via web browser, go to Network Service and SSH Server. Enable the SSH Server and save the setting.
  2. For Mac users, start the Terminal. For PC users, download and use a program called Putty. Connect to your Taurus LAN via SSH connection. In the Terminal, type ssh 192.168.1.5 -l root but replace the IP address with that of your Taurus LAN (-l is a lower case L and not a number 1). In Putty, type the IP address of your Taurus LAN in the Host Name field, select SSH and Open the connection.
  3. The login is root and the password is the same as the administrator password. By default, the password would therefore be admin.
  4. Type killall mt-daapd to stop the iTunes music server.
  5. Type rm /system/.daapd-cache/songs.gdb to clear the current database but make sure to type the command exactly as seen here or you might accidentially remove files that are critical to the system.
  6. Type mt-daapd -m -c /usr/hddapp/etc/mt-daapd.conf in order to restart the iTunes music server.
  7. Wait for a few minutes and let the system rebuild the database and then restart iTunes and try again to access your music files.

Note
SSH access is provided as is without any further documentation or support. Please use it at your own risk! If you follow the suggestions above, make sure to type the commands exactly as seen here or you might damage the system.