Ticket #344 (closed defect: invalid)
./lost+found dir blocking migrations?
| Reported by: | kinshing@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7 |
| Component: | migrations | Version: | 0.6.2 |
| Keywords: | Cc: |
Description
Running migrations for webapp:
- Migrating forwards to 0002_remove_free_trial.
webapp: 0002_remove_free_trial
Traceback (most recent call last):
File "/home/developer/denv/lib/python2.6/site-packages/South-0.6.2-py2.6.egg/south/migration.py", line 307, in run_migrations
runfunc(orm)
File "/home/developer/plerts.com/plerts/../plerts/webapp/migrations/0002_remove_free_trial.py", line 11, in forwards
db.delete_column('webapp_account', 'is_free_trial_available_again')
File "/home/developer/denv/lib/python2.6/site-packages/South-0.6.2-py2.6.egg/south/db/mysql.py", line 82, in delete_column
result = cursor.execute(get_fkeyname_query % (db_name, table_name, name))
File "/home/developer/denv/lib/python2.6/site-packages/Django-1.1.1-py2.6.egg/django/db/backends/util.py", line 19, in execute
return self.cursor.execute(sql, params)
File "/home/developer/denv/lib/python2.6/site-packages/Django-1.1.1-py2.6.egg/django/db/backends/mysql/base.py", line 84, in execute
return self.cursor.execute(query, args)
File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 168, in execute
if not self._defer_warnings: self._warning_check()
File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 82, in _warning_check
warn(w[-1], self.Warning, 3)
Warning: Can't read dir of './lost+found/' (errno: 13)
! Error found during dry run of migration! Aborting.

I've not seen that before, but nevertheless, it seems to be a MySQL/Python bindings error; I have no idea why it's looking in lost+found, though.
However, it's not a South bug, so closing as invalid. I suggest you check that a partition hasn't accidentally been mounted in the wrong place, or something.