I’m facing several issues in my migration process from 2.4.1 to 2.4.4.
On the backend, when I try to login :
-If wrong credentials : error message; this is fine.
- If proper credentials, then, the url change for the dashbord url, but I stay on the login page. No error in logs.
Already tried to clean cache and remove cookies. Same behavior with all browser.
=========
In the frontend, the theme is broken, and i can see in system.
[2022-11-04T13:45:25.711061+00:00] main.ERROR: No matching definition was found for `@family-name:'luma-icons', @font-path:'../fonts/Luma-Icons', @font-weight:normal, @font-style:normal, @font-display:block` in _icons.less on line 7, column 5
05|
06| & when (@media-common = true) {
07| .lib-font-face(
08| @family-name: @icons__font-name,
09| @font-path: @icons__font-path,
10| @font-weight: normal, [] []
[2022-11-04T13:45:25.711334+00:00] main.CRITICAL: No matching definition was found for `@family-name:'luma-icons', @font-path:'../fonts/Luma-Icons', @font-weight:normal, @font-style:normal, @font-display:block` in _icons.less on line 7, column 5
05|
06| & when (@media-common = true) {
07| .lib-font-face(
08| @family-name: @icons__font-name,
09| @font-path: @icons__font-path,
10| @font-weight: normal, [] []
EDIT
magento@de610b81bd24:/var/www/magento$ rm -rf var/view_preprocessed/pub/static/frontend
magento@de610b81bd24:/var/www/magento$ rm -rf pub/static/frontend
magento@de610b81bd24:/var/www/magento$ bin/magento setup:static-content:deploy -f --area frontend
Deploy using quick strategy
frontend/Magento/blank/fr_FR 2341/2341 ============================ 100% 13 secs
frontend/Magento/luma/fr_FR 2357/2357 ============================ 100% 14 secs
frontend/Nespresso/default/fr_FR 2259/2766 ======================>----- 81% 8 secs
Compilation from source: /var/www/magento/vendor/magento/theme-frontend-blank/web/css/styles-m.less
No matching definition was found for `@family-name:'luma-icons', @font-path:'../fonts/Luma-Icons', @font-weight:normal, @font-style:normal, @font-display:block` in _icons.less on line 7, column 5
05|
06| & when (@media-common = true) {
07| .lib-font-face(
08| @family-name: @icons__font-name,
frontend/Magento/blank/fr_FR 2341/2341 ============================ 100% 13 secs
frontend/Magento/luma/fr_FR 2357/2357 ============================ 100% 14 secs
frontend/Nespresso/default/fr_FR 2766/2766 ============================ 100% 11 secs
Execution time: 44.267537117004
EDIT : My custom typography
//
// Typography
// _____________________________________________
.lib-font-face(
@family-name,
@font-path,
@font-weight: normal,
@font-style: normal
) {
@font-face {
font-family: @family-name;
src: url('@{font-path}.eot');
src: url('@{font-path}.eot?#iefix') format('embedded-opentype'),
url('@{font-path}.woff2') format('woff2'),
url('@{font-path}.woff') format('woff'),
url('@{font-path}.ttf') format('truetype'),
url('@{font-path}.svg#@{family-name}') format('svg');
font-weight: @font-weight;
font-style: @font-style;
}
}
And here is the magento one
//
// Typography
// _____________________________________________
.lib-font-face(
@family-name,
@font-path,
@font-format: false,
@font-weight: normal,
@font-style: normal,
@font-display: auto,
@font-type: false
) when (@font-format = false) {
@font-face {
font-family: @family-name;
src: url('@{font-path}.woff2') format('woff2'),
url('@{font-path}.woff') format('woff');
font-weight: @font-weight;
font-style: @font-style;
font-display: @font-display;
}
}