Wordpress error when installing theme
Should be fixed in the newest version of wordpress-helm, but this is the error we get now:
root@oas:~# kubectl logs -n oas-apps wordpress-0 -c init-wordpress
...
TASK [wordpress-init : Activate theme if exists in wp-content-repo] ************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "wp --path=/var/www/html theme activate \"twentynineteen\"", "delta": "0:00:04.383905", "end": "2020-03-20 12:40:50.125330", "msg": "non-zero return code", "rc": 1, "start": "2020-03-20 12:40:45.741425", "stderr": "Error: The 'twentynineteen' theme could not be found.", "stderr_lines": ["Error: The 'twentynineteen' theme could not be found."], "stdout": "", "stdout_lines": []}
TASK [wordpress-init : debug] **************************************************
ok: [localhost] => {
"msg": "Local theme does not exist or error"
}
TASK [wordpress-init : Pull the default theme set in values.yaml and then activate] ***
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'WP_THEME_FALLBACK' is undefined\n\nThe error appears to have been in '/var/local/ansible/roles/wordpress-init/tasks/main.yml': line 122, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n msg: 'Local theme does not exist or error'\n - name: Pull the default theme set in values.yaml and then activate\n ^ here\n"}
to retry, use: --limit @/var/local/ansible/wpdeploy.retry
PLAY RECAP ********************************************************************