Ticket #344 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

./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.

Change History

comment:1 Changed 5 years ago by andrew

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone set to 0.7

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.

Note: See TracTickets for help on using tickets.