Skip to content

Wipe out the database

Tim Davies edited this page Jun 7, 2013 · 2 revisions

In case you need (or want) to wipe the SQLite database, you can follow this procedure:

  • Remove the meta/ directory: rm -rf meta. Use sudo if necessary.
  • Run utils/create_db.sh db.sqlite. It will create the necessary tables.
  • Give write permissions in the directory and the database file. This will depend on your configuration, but usually it will be something like: * chgrp -R www-data meta to assign the directory and database's group to www-data * chmod -R g+w meta to give write permissions to users with that group.
Clone this wiki locally