Which popcorn have you got?
theres a suggestion from here →
http://www.networkedmediatank.com/showthread.php?tid=64015
About running it in read only, and see if that helps, if not you could do it though SSH i guess,
Login as root, then the commands
cd /
mkdir nmj_database;
cd nmj_database;
touch media.db;
chmod 666 media.db;
So allow read and write but no exec, then when it loads up the file will exist and be writeable, you may also need to set the permsions of nmj_databases to the same 666