-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_getFileCtimeMtimeLocal using undefined variable $retval #224
Comments
Which one please? |
We get the following error that we are trying to figure out the root cause. Those files that it is complaining about actually do not exists anymore. We expected it to pick that up and mark them as deleted.
|
Could you come up with a minimum example (SSCCE) ? Without any further info, it's hard to know what's going on on your system. |
I can get you access to a current running docker container that is giving that error. I don't know what is causing it, hence why my OP was pointing out that the error message wasn't giving much info to go on. Otherwise I would be able to produce reproducible steps to share. |
I'd rather have reproductible steps (including file creation) so I can investigate without the risk of breaking something. |
Thinking of the problem, I might actually think of a possible issue with ACL transfer. |
What would cause the error "Could not get file attributes" We are using osync because we need a way to bidirectional sync two folders on a container. In azure, if you use a Linux hosted App Service, it hosts your site in a container that is mapped to a storage blob. Well, that storage blob has very slow IO. So hosting a large site like WordPress causes the site to run very poorly when running from the storage blob. We got around that by modifying the container so that the wwwroot is running off container storage, and it is extremely faster. When you FTP files to the App Service, you're actually FTPing to the storage blob, not the container. So once you upload your site, we must "sync" the wwwroot directory on the mounted storage to the local container's wwwroot that the site is running from. And also the container can be rebuilt at anytime by Azure to migrate it around hosts. This means upon start we much run a sync so we move the blob storage files to the local storage so the site will have it's files to run. You can view the (project here)[https://github.com/johnwc/azure-app-service-openlitespeed-php-container]. The osync is to keep the two directories in sync, if someone updates WP via WP-Admin or if someone FTP's files up. |
Again, do you need to transfer ACLs ? |
No, ACLs are not required |
Okay, I have a rough idea of what's going on. |
The method _getFileCtimeMtimeLocal is using a var that is not defined, maybe from a copy/paste from another?
The text was updated successfully, but these errors were encountered: