-
Notifications
You must be signed in to change notification settings - Fork 69
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
Issues with Cavalcade #153
Comments
Just an update, everything else seems to work normally if I comment out the |
@dhruvkb which places? It's probable that the cavalcade implementation hasn't been updated in a very long time and that VVV has since switched to Ubuntu 18 and then 20 which use slightly different mechanism for services. It only works for you in the sense that cavalcade isn't running |
You're right about Cavalcade not running. I just meant that commenting out Cavalcade allows the remaining provisioning process to complete, for anyone who was looking for a workaround. It does seem like an Ubuntu version issue because now there's a different folder |
Not sure if it's related but provisioning is now consistently failing with the message Going by the logs the last thing to happen before that is the updating of WP-CLI plugins here: https://github.com/WordPress/meta-environment/blob/master/wordpressorg.test/provision/vvv-init.sh#L48 Given the final output is from WP CLI I expect that the cavalcade plugin is already installed and that, or something else, is attempting to trigger the Cavalcade runner which at that point isn't installed yet. |
Refactors cavalcade provisioning to: - remove duplication - handle when the service fails to restart - better handle folder creation - avoid potential permission issues for some files - prevent parameter expansion on the changed lines that could cause sites with spaces in their folder names to fail
This PR might help #158, part of the problem is the cavalcade service, and the installation of cavalcade to For reference, if the service fails to restart, it should now report that in the log rather than exiting |
Initial testing run fails with the message Figured that may be due to previous failed runs so ran a Then fully removed the It does however still show the message: |
* WordPress.org: #153 - cavalcade provisioning failures Refactors cavalcade provisioning to: - remove duplication - handle when the service fails to restart - better handle folder creation - avoid potential permission issues for some files - prevent parameter expansion on the changed lines that could cause sites with spaces in their folder names to fail * Fix cavalcade plugin updating and improve log messages
Provisioning is no longer blocked, though the cavalcade service still needs fixing |
The step involving copy of Cavalcade config
cavalcade-wordpressorg.conf
i.e.fails due to the directory structure not being present. The error message says "cp: cannot create regular file: No such file or directory". This can be fixed by a
mkdir
operation before thecp
operation (#154).With that change, the build goes a long way ahead but fails on the line
with the error message: "Failed to restart cavalcade-wordpressorg.service: Unit cavalcade-wordpressorg.service not found"
The text was updated successfully, but these errors were encountered: