Skip to content

Debugging and resetting the database

Morris Jobke edited this page Oct 5, 2013 · 6 revisions

Enable debug log output

  1. Go to the administrator settings page (i.e. example.org/index.php/settings/admin)
  2. In the section "Log" choose "Debug" as loglevel
  3. Now you can simply provide your owncloud.log Note: Have a look at it! It provides the extracted metadata for music files!

Reset database

Run following SQL statements on your ownCloud database. This deletes all music app generated data. After you reset the database for music app, the metadata scan will be triggered the next time you access the music app.

DELETE FROM *PREFIX*music_artists;
DELETE FROM *PREFIX*music_albums;
DELETE FROM *PREFIX*music_album_artists;
DELETE FROM *PREFIX*music_tracks;
DELETE FROM *PREFIX*music_scanned_users;

Note: Replace *PREFIX* with your prefix - usually oc_.

On previous version of the music app (minimum until 5.0.12), the following statements work:

DELETE FROM oc_media_artists;
DELETE FROM oc_media_albums;
DELETE FROM oc_media_songs;
Clone this wiki locally