Trying to figure out what I might be doing wrong here, can’t seem to get around this error during initial vagrant up (or vagrant reload --provision) for a development environment in Windows 10.
TASK [wordpress-install : Change site owner to user] ***************************
System info:
Ansible 2.7.5; Vagrant 2.2.3; Linux
Trellis 1.0.1: January 16th, 2019MODULE FAILURE
See stdout/stderr for the exact error
Traceback (most recent call last):
File “”, line 113, in
File “”, line 105, in _ansiballz_main
File “”, line 48, in invoke_module
File “/usr/lib/python3.6/imp.py”, line 235, in load_module
return load_source(name, filename, file)
File “/usr/lib/python3.6/imp.py”, line 170, in load_source
module = _exec(spec, sys.modules[name])
File “”, line 618, in _exec
File “”, line 678, in exec_module
File “”, line 219, in
_call_with_frames_removed
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 863, in
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 849, in main
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 571, in
ensure_directory
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 305, in
recursive_set_attributes
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 305, in
recursive_set_attributes
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 305, in
recursive_set_attributes
[Previous line repeated 982 more times]
File “/tmp/ansible_file_payload_04h5l9jn/main.py”, line 296, in
recursive_set_attributes
File “/tmp/ansible_file_payload_04h5l9jn/ansible_file_payload.zip/ansible/m
odule_utils/basic.py”, line 1541, in set_fs_attributes_if_different
File “/tmp/ansible_file_payload_04h5l9jn/ansible_file_payload.zip/ansible/m
odule_utils/basic.py”, line 1193, in set_owner_if_different
File “/tmp/ansible_file_payload_04h5l9jn/ansible_file_payload.zip/ansible/m
odule_utils/basic.py”, line 1085, in user_and_group
RecursionError: maximum recursion depth exceededAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: RecursionError: maximum recursion depth exceeded
failed: [default] (item=frankfortme.com) => {“changed”: false, “item”: {“key”: “frankfortme.com”, “value”: {“admin_email”: “webmaster@sacodesign.com”, “cache”: {“enabled”: false}, “local_path”: “…/frankfort”, “multisite”: {“enabled”: false}, “site_hosts”: [{“canonical”: “frankfortme.test”, “redirects”: [“www.frankfortme.test”]}], “ssl”: {“enabled”: true, “provider”: “self-signed”}}}, “module_stdout”: “”, “rc”: 1}
to retry, use: --limit @/home/vagrant/trellis/dev.retry
I have been able to identify that the server appears to be running despite the failure, but the wordpress site will not display, instead I get some PHP errors about missing template files:
( ! ) Warning: require(/srv/www/frankfortme.com/current/web/wp/wp-blog-header.php): failed to open stream: No such file or directory in /srv/www/frankfortme.com/current/web/index.php on line 5
Call StackTime Memory Function Location
1 0.0082 391536 {main}( ) …/index.php:0
( ! ) Fatal error: require(): Failed opening required ‘/srv/www/frankfortme.com/current/web/wp/wp-blog-header.php’ (include_path=‘.:/usr/share/php’) in /srv/www/frankfortme.com/current/web/index.php on line 5
Call StackTime Memory Function Location
1 0.0082 391536 {main}( ) …/index.php:0
I can verify the files in question are missing, there are no files whatsoever showing up in the wp folder for the site.
I have tried to follow the most recent installation instructions for Windows, which dip heavily into WSL now. I have tried vagrant up from within the WSL as well as from windows using PowerShell as admin, but get the same results either way.
Can anyone offer me any advice about where to look for an issue? If more information would be helpful please let me know what info you would need to dig deeper.