Skip to content

fresh install Magento 2.4.6-p6 : localhost text dispaly error and admin page keeps loading, please help

ENV

  1. magento 2.4.6-p6
  2. MacBook apple M1 max macOS Sonoma 14.5
  3. docker desktop: 4.30.0
  4. engine: 26.1.1
  5. docker-compose: 2.27.0
  6. composer:2.2.24
  7. elasticsearch:8.11.4
  8. kibana:8.11.4
  9. mysql:8.0
  10. php:8.2.18-fpm
  11. redis:7.0.15
  12. nginx:1.24.0
  13. dockerfile: 3.8

Background

Hello everybody,
Fresh install Magento 2.4.6-p6
Homepage’s text style shows incorrect.And picture shows right.
Admin page keeps logging.
I checked the logs. always shows requirejs.js-config 404 and others 404.

Please help.
thank you.

LOG

log for localhost homepage:

enter image description here

Text
2024-07-16 15:32:44 192.168.65.1 – – [16/Jul/2024:07:32:44 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/requirejs/require.js HTTP/1.1” 200 21139 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:32:44 192.168.65.1 – – [16/Jul/2024:07:32:44 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/requirejs-config.js HTTP/1.1” 404 225 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:32:44 192.168.65.1 – – [16/Jul/2024:07:32:44 +0000] “GET /media/styles.css HTTP/1.1” 404 360 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:32:44 192.168.65.1 – – [16/Jul/2024:07:32:44 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/fonts/opensans/light/opensans-300.woff2 HTTP/1.1” 200 17436 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-“

logs for admin page:
Text

enter image description here

2024-07-16 15:34:20 192.168.65.1 – – [16/Jul/2024:07:34:20 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/mage/calendar.css HTTP/1.1” 200 1391 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:34:20 192.168.65.1 – – [16/Jul/2024:07:34:20 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/requirejs-config.js HTTP/1.1” 404 225 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:34:20 192.168.65.1 – – [16/Jul/2024:07:34:20 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/requirejs/require.js HTTP/1.1” 200 21139 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:34:20 192.168.65.1 – – [16/Jul/2024:07:34:20 +0000] “GET /media/styles.css HTTP/1.1” 404 360 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-”
2024-07-16 15:34:20 192.168.65.1 – – [16/Jul/2024:07:34:20 +0000] “GET /static/version1721113676/frontend/Magento/luma/en_US/fonts/opensans/light/opensans-300.woff2 HTTP/1.1” 200 17436 “http://localhost/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15” “-“