Hello,
After installing PlugUI I couldn't create new shares because the download links wouldn't work. I followed this:
$this->bbcode_second_pass_quote('', '[')code] /var/lib/PlugUI/db.sqlite3{,.backup}
rm /var/lib/PlugUI/db.sqlite3
cd /opt/PlugUI
python2 manage.py syncdb --noinput[/code]