I am on Ubuntu10.
Create new db file with
touch development.db
Want my migrations
rake db:migrate
but get locked error
SQLite3::BusyException: database is locked
How it can be locked?!
update it can be locked by samba. it’s shared folder
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have run into this problem myself. I have found that the only way to avoid the lock being placed on a file like this is to add the
nobrloption to your mount. The entry in your/etc/fstabmight look something like this:This is loosely following the ubuntu wiki page found at: https://wiki.ubuntu.com/MountWindowsSharesPermanently