TITLE:
Import of custom theme results in warnings
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Obsidian Version 18.0.21 Update #5
CentOS Linux 7.7.1908 (Core)
PROBLEM DESCRIPTION:CentOS Linux 7.7.1908 (Core)
When importing a custom theme, webp images are not imported and the following error message is displayed:
STEPS TO REPRODUCE:
Code:
# plesk bin branding_theme -i -vendor admin -source /tmp/custom-theme.zip
The file tabs_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file expand_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file change_view_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file menu_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
Follow the instructions here: Obtaining a Theme Package from Plesk
ACTUAL RESULT:- Obtain Plesk theme package:
plesk bin branding_theme -p -name default -destination /tmp/plesk-theme.zip - Customize the theme by editing custom.css, meta.xml etc.
- Import the new theme: plesk bin branding_theme -i -vendor admin -source /tmp/custom-theme.zip
Output will be:
The file tabs_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file expand_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file change_view_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file menu_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
EXPECTED RESULT:The file tabs_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file expand_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file change_view_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
The file menu_trim_x2.webp was not copied to the server because this file type is not allowed in Plesk themes.
No errors or warnings should be displayed
ANY ADDITIONAL INFORMATION:The theme is imported successfully but the 4 webp files are missing in /usr/local/psa/admin/htdocs/theme-skins/<theme-name>/plesk/views/smb/web/view/images/
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug