Background of the issue:
I'm developing a WordPress site with Bedrock, deployed to a staging environment using Capistrano. My deployment fails with a permissions error related to the WPML plugin. I know how to change permissions or make the 'queue' a persistent file/folder, but I'm unsure of its purpose. Additionally, I'm confused about the deployment process and how translations are managed between staging and production, especially when translations are done on the production site and new translations are deployed.
Symptoms:
Deployment fails with the error: 'rm: cannot remove '/var/www/html/releases/[...]/web/app/languages/wpml/queue': Permission denied'. (NB the path to the languages directory is normal for bedrock installations, it's working fine with other WPML projects)
Questions:
What does the 'queue' in WPML do, and how should it be managed during deployment?
How should translations be managed between staging and production to avoid losing them?
What is the primary source for translations between translation files and the database?
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.