1

We have recently deployed a commit that took a file called MyfileController.php and changed it to MyFileController.php

If I navigate to the file's directory and call ls or nano MyFileController.php it finds the file as MyFileController.php

If I run locate MyFile it is not found.

If I run locate Myfile it is found as MyfileController.php.

Unfortunately it appears that our framework cannot find the correct file MyFileController.php.

Any ideas?

1
  • 1
    Have you updated the locate database? sudo updatedb
    – Nathan
    Feb 26, 2015 at 16:40

1 Answer 1

2

Nathan has the correct answer. updatedb usually runs once a day as a cron job, so it hasn't caught up with today's changes. But its very fast, just run it anytime if you suspect its out of sync.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .