shopware / paas

PaaS template based on production template
MIT License
10 stars 14 forks source link

Plugins installed by Composer #1

Open ppobiarzyn opened 2 years ago

ppobiarzyn commented 2 years ago

PHP Version

8.0

Shopware Version

4.6.1

Expected behaviour

Activate plugin by CLI

Actual behaviour

If I install by composer and activate the plugin by CLI, I have an error: Shopware Plugin Lifecycle Service

Activate 1 plugin(s):

08:16:25 CRITICAL [console] Error thrown while running command "plugin:activate SwagCustomizedProducts". Message: "Impossible to create the root directory "/app/public/theme/ff35c4252d36bcd7bc8db9252e7e277b/css". mkdir(): Read-only file system" ["exception" => League\Flysystem\Exception^ { …},"command" => "plugin:activate SwagCustomizedProducts","message" => "Impossible to create the root directory "/app/public/theme/ff35c4252d36bcd7bc8db9252e7e277b/css". mkdir(): Read-only file system"]

In Local.php line 112:

Impossible to create the root directory "/app/public/theme/ff35c4252d36bcd7bc8db9252e7e277b/css". mkdir(): Read-only file system

How to reproduce

After adding in platform.app.yaml problem was solved. Maybe I made something wrong? "/public/bundles": source: local source_path: "public/bundles" "/public/theme": source: local source_path: "public/theme"

shyim commented 2 years ago

Hey,

we are currently working on it to disable theme compiling / asset compiling while installing plugins. This should fix this issue then

shyim commented 2 years ago

Hey,

You can run the command with --skip-asset-build to skip this behavior.