cloud SDK, how to use dispatcher locally with M1 mac? Get errors in validator. | Community
Skip to main content
Level 8
June 11, 2021

cloud SDK, how to use dispatcher locally with M1 mac? Get errors in validator.

  • June 11, 2021
  • 1 reply
  • 1285 views

When you run this on M1 Mac:

 

./bin/validate.sh ~/dev/git/our-web/dispatcher/src

 

 You get:

 

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested reading immutable file list from /etc/httpd/immutable.files.txt checking 'conf.d/available_vhosts/default.vhost' immutability (if present) checking existing 'conf.d/available_vhosts/default.vhost' for changes immutable file 'conf.d/available_vhosts/default.vhost' has been changed: --- /etc/httpd/conf.d/available_vhosts/default.vhost +++ /etc/httpd-actual/conf.d/available_vhosts/default.vhost @@ -17,8 +17,6 @@ ServerAlias "*" # Use a document root that matches the one in conf.dispatcher.d/default.farm DocumentRoot "${DOCROOT}" - # URI dereferencing algorithm is applied at Sling's level, do not decode parameters here - AllowEncodedSlashes NoDecode # Add header breadcrumbs for help in troubleshooting <IfModule mod_headers.c> Header add X-Vhost "publish" @@ -41,6 +39,8 @@ SetOutputFilter DEFLATE # Don't compress images SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary + # Make sure proxies don't deliver the wrong content + Header append Vary User-Agent env=!dont-vary # Prevent clickjacking Header always append X-Frame-Options SAMEORIGIN </Directory> ** error: immutable file 'conf.d/available_vhosts/default.vhost' has been changed!

 

There are 2 issues here: 

  1. Incompatible image platform.
  2. its complaining because default.vhost has been edited, but this project was generated form the archetime, and we havent edited it.  We dont know what it should be (Where is the file its comparing it to)?

Any suggestions how to fix these two?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
June 29, 2021

@tb3dock ,

 

Have you done the set up using below link

Set up Dispatcher Tools for AEM as a Cloud Service Development | Adobe Experience Manager

As I tried creating a project using archtype and did the same on windows machine and its working fine.

 

Thanks

TB3dockAuthor
Level 8
July 2, 2021
windows works no problem, because windows supports the Intel VM requird by dispatcher. Also, intel macs work, as they also support the intel docker image. Its M1 macs which dont work, as they dont use intel architecture.
February 2, 2022

Any update