I'm deploying latest weekend project to cloud, deployment fails for dispatcher with :
2022/10/19 14:49:36 The following errors were found in the httpd config:
/tmp/dispatcher/unzippedConfiguration/conf.d/enabled_vhosts/wknd.vhost: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_vhosts/wknd.vhost
2022/10/19 14:49:36 Dispatcher configuration validation failed:
/tmp/dispatcher/unzippedConfiguration/conf.dispatcher.d/enabled_farms/wknd.farm: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_farms/wknd.farm
2022/10/19 14:49:36 Dispatcher configuration validation failed:
/tmp/dispatcher/unzippedConfiguration/conf.d/enabled_vhosts/wknd.vhost: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_vhosts/wknd.vhost
/tmp/dispatcher/unzippedConfiguration/conf.dispatcher.d/enabled_farms/wknd.farm: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_farms/wknd.farm
The command '/bin/sh -c AZCOPY="/usr/bin/azcopy" VALIDATOR_BINARY="/usr/bin/dispatcher-configuration-validator" HTTPD_BINARY="/usr/sbin/httpd" DISPATCHER_CONFIGURATION_LOCATION=$dispatcherConfigurationLocation DISPATCHER_CONFIGURATION_DESTINATION=$dispatcherConfigurationDestination DISPATCHER_IMAGE=$dispatcherImage RUN_MODE=$runmode ./validateDispatcherConfiguration.sh' returned a non-zero code: 2
2022/10/19 14:49:36 Container failed during run: validate-dispatcher. No retries remaining.
failed to run step ID: validate-dispatcher: exit status 2
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @nbg62
The AEMaaCS dispatcher follows structure similar to aem-project-archetype/src/main/archetype/dispatcher.cloud at develop · adobe/aem-project-archetype (...
Please check following:
- Are the files created under enabled_vhost & enabled_farms symlinks?
- If not, either you can create symlinks or add opt-in/USE_SOURCES_DIRECTLY
to use Flexible mode of dispatcher
Details about flexible and legacy mode are available on : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...
If you are deploying the local version of dispatcher it will not work because of missing symlink
2022/10/19 14:49:36 The following errors were found in the httpd config:
/tmp/dispatcher/unzippedConfiguration/conf.d/enabled_vhosts/wknd.vhost: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_vhosts/wknd.vhost
2022/10/19 14:49:36 Dispatcher configuration validation failed:
/tmp/dispatcher/unzippedConfiguration/conf.dispatcher.d/enabled_farms/wknd.farm: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_farms/wknd.farm
2022/10/19 14:49:36 Dispatcher configuration validation failed:
/tmp/dispatcher/unzippedConfiguration/conf.d/enabled_vhosts/wknd.vhost: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_vhosts/wknd.vhost
/tmp/dispatcher/unzippedConfiguration/conf.dispatcher.d/enabled_farms/wknd.farm: appears to be a windows (pseudo) symlink but this OS does not support these. Please commit a correct symlink: ../available_farms/wknd.farm
Please check
https://www.albinsblog.com/2020/12/aem-dispatcher-configurations-symlinks.html#.Y1AuJuxBz0o
Thank you Arun,
Not sure what you mean by local dispatcher, I pull wknd code from git and push it to Cloud instance for deployment.
Hello @nbg62
The AEMaaCS dispatcher follows structure similar to aem-project-archetype/src/main/archetype/dispatcher.cloud at develop · adobe/aem-project-archetype (...
Please check following:
- Are the files created under enabled_vhost & enabled_farms symlinks?
- If not, either you can create symlinks or add opt-in/USE_SOURCES_DIRECTLY
to use Flexible mode of dispatcher
Details about flexible and legacy mode are available on : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...
Views
Like
Replies