Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Install not working on OsX Mojave #49

Open
secretlifeof opened this issue Nov 4, 2019 · 3 comments
Open

Install not working on OsX Mojave #49

secretlifeof opened this issue Nov 4, 2019 · 3 comments

Comments

@secretlifeof
Copy link

I am trying to install shopware the first time. I have followed the install instructions like described in this repository.

git clone https://github.com/shopwareLabs/shopware-docker backend
cd backend
./psh.phar docker:start
./psh.phar docker:ssh
./psh.phar init

The docker:start command works correctly. Starting web server at localhost:8083.

The init command exits with error:

###################
Starting Execution of 'init' ('dev-ops/common/actions/init.sh')


(1/2) Starting
> rm -rf ./shopware

(2/2) Starting
> ./sw.phar install:release -r latest -i ./shopware --db-host mysql --db-user app --db-password app --db-name shopware --shop-host localhost:8083

                                                                      
          [RuntimeException]                                          
          Could not find / create //.local/share/sw-cli-tools/assets  
                                                                      


Execution aborted, a subcommand failed!

Does it has something to do with version 6?

@syntaxgirl
Copy link

Same happens with Ubuntu 18.04

@r4ccoon
Copy link

r4ccoon commented Dec 26, 2019

it seems to be missing user / group.

I have no name!@8a4aba3d4715:/var/www/shopware$ whoami
whoami: cannot find name for user ID 501

thus cannot create folder properly.

i got a workaround by adding / linking volumes to local folder.

in docker-compose.yaml, on app_server's volume, you can add these 3 lines

      - .cache:/.cache/sw-cli-tools
      - .sw-cli-tools:/.local/share/sw-cli-tools/assets
      - .config:/.config

so my full app_server section become:

Screen Shot 2019-12-26 at 11 36 42 am

@ireznik
Copy link

ireznik commented Jan 3, 2020

@r4ccoon you saved me <3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants