Closed faithfulojebiyi closed 1 year ago
deploying wordpress fails
2022-07-04 22:53:54,145 [INFO] -----------------------Starting build----------------------- 2022-07-04 22:53:54,157 [INFO] Running configSets: _OnInstanceBoot 2022-07-04 22:53:54,167 [INFO] Running configSet _OnInstanceBoot 2022-07-04 22:53:54,176 [INFO] Running config AWSEBBaseConfig 2022-07-04 22:53:55,058 [INFO] Command clearbackupfiles succeeded 2022-07-04 22:53:55,063 [INFO] Running config AWSEBCfnHupEndpointOverride 2022-07-04 22:53:55,068 [INFO] Command clearbackupfiles succeeded 2022-07-04 22:53:55,070 [INFO] ConfigSets completed 2022-07-04 22:53:55,070 [INFO] -----------------------Build complete----------------------- 2022-07-04 22:54:47,302 [INFO] -----------------------Starting build----------------------- 2022-07-04 22:54:47,309 [INFO] Running configSets: Infra-EmbeddedPreBuild 2022-07-04 22:54:47,311 [INFO] Running configSet Infra-EmbeddedPreBuild 2022-07-04 22:54:47,315 [INFO] Running config prebuild_0_wordpress 2022-07-04 22:54:58,252 [INFO] Command 01_mount succeeded 2022-07-04 22:54:58,257 [INFO] ConfigSets completed 2022-07-04 22:54:58,257 [INFO] -----------------------Build complete----------------------- 2022-07-04 22:55:00,716 [INFO] -----------------------Starting build----------------------- 2022-07-04 22:55:00,722 [INFO] Running configSets: Infra-EmbeddedPostBuild 2022-07-04 22:55:00,725 [INFO] Running configSet Infra-EmbeddedPostBuild 2022-07-04 22:55:00,729 [INFO] Running config postbuild_0_wordpress 2022-07-04 22:55:00,746 [INFO] Command 1chown succeeded 2022-07-04 22:55:00,790 [ERROR] Command 2link (sudo -u webapp ln -s /wpfiles wp-content/uploads) failed 2022-07-04 22:55:00,790 [ERROR] Error encountered during build of postbuild_0_wordpress: Command 2link failed Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 576, in run_config CloudFormationCarpenter(config, self._auth_config).build(worklog) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 276, in build self._config.commands) File "/usr/lib/python3.7/site-packages/cfnbootstrap/command_tool.py", line 127, in apply raise ToolError(u"Command %s failed" % name) cfnbootstrap.construction_errors.ToolError: Command 2link failed 2022-07-04 22:55:00,795 [ERROR] -----------------------BUILD FAILED!------------------------ 2022-07-04 22:55:00,795 [ERROR] Unhandled exception during build: Command 2link failed Traceback (most recent call last): File "/opt/aws/bin/cfn-init", line 176, in <module> worklog.build(metadata, configSets) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 137, in build Contractor(metadata).build(configSets, self) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 564, in build self.run_config(config, worklog) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 576, in run_config CloudFormationCarpenter(config, self._auth_config).build(worklog) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 276, in build self._config.commands) File "/usr/lib/python3.7/site-packages/cfnbootstrap/command_tool.py", line 127, in apply raise ToolError(u"Command %s failed" % name) cfnbootstrap.construction_errors.ToolError: Command 2link failed
deploying wordpress fails