Skip to content

PHP: server seems to continue working with old contents of files #148

@kennaar

Description

@kennaar

We are having a rather annoying issue. We're not sure if mutagen is the problem but we never experienced this before when we used a virtualbox share.

We are using mutagen to sync PHP code to a virtualbox machine.
Sometimes it seems like the server keeps working with old contents. E.g.: a crash happens on code that doesn't exist anymore. When we inspect the file causing the crash (or any other file) it is identical to what we have locally so the file did get synced. Reproducing the problem is very difficult because it happens very randomly.

Our workaround:

  • Opening the file on the server with nano or vim and re-saving
  • Restarting apache

This is a very annoying problem and we have lost quite some time debugging crashes that magically got fixed by doing one of the above options.

Is there anything we can do to actually debug this problem and find the cause?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions