Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile
TB3dock
Level 4

11-06-2021

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?

Accepted Solutions (0)

Answers (0)