Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
number_range_state
- guess thats my issue. how can i get my number range to have an entry there and get it updated? i guess i forgot a part somewhere, but cant figure out what. all tips are greatly appreciated :)
By given this config it redirects me to recovery/install/index.php
and then it returns 404 http status: https://symfony.com/doc/current/setup/web_server_configuration.html#nginx
I tried already this: https://www.the-cake-shop.de/shopware-6-mit-nginx-konfigurieren/
But it doesn't change anything
Does anybody have any idea why my Shopware search doesn't appear to find anything except for one (or maybe some others depending on the search) product, even though I've sync'ed about 20.000 through the API, all in the same manner:
Universal visiblity (30), they have translations in two languages, they have at least one photo, a category, a saleschannel and fields like stock and price are filled.
I have four products with almost the same name, by the same manufacturer, in the same category but when I search for it, only one of these items shows up.
./psh.phar docker:start
./psh.phar docker:ssh
./psh.phar install
(1/1) Starting
> docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u 1000:1000 -t beedeb7b9a6380be8abef3e070c6c3709f6f1a4e547f9e9f51b8151c5fe3488b bash
application@beedeb7b9a63:/app$ ./psh.phar install
(4/40) Starting
> mysql -u 'app' -p'app' -h 'mysql' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware\`"
ERROR 2005 (HY000): Unknown MySQL server host 'mysql' (-2)
Thanks @vanWittlaer I can't run ./psh.phar install or ./bin/setup
This is my front end and backend
An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
I have mysql-server installed on this machine I am runnin Ubuntu 18, I have all the requirements
(4/40) Starting
> mysql -u 'app' -p'app' -h 'mysql' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware\`"
ERROR 2005 (HY000): Unknown MySQL server host 'mysql' (-2)
version: '3.7'
services:
app_server:
image: shopware/development:latest
links:
- app_mysql:mysql
- mailhog:mailhog
extra_hosts:
- "docker.vm:127.0.0.1"
volumes:
- ~/.composer:/.composer
tmpfs:
- /tmp:mode=1777
app_mysql:
build: dev-ops/docker/containers/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: app
MYSQL_PASSWORD: app
cypress:
image: cypress/included:3.8.1
tty: true
ipc: host
links:
- app_server:docker.vm
environment:
- CYPRESS_baseUrl=http://docker.vm:8000
- DISPLAY
volumes:
- ./vendor/shopware/platform/src/Storefront/Resources/app/storefront/test/e2e:/e2e-Storefront
- ./vendor/shopware/platform/src/Administration/Resources/app/administration/test/e2e:/e2e-Administration
# for Cypress to communicate with the X11 server pass this socket file
# in addition to any other mapped volumes
- /tmp/.X11-unix:/tmp/.X11-unix
entrypoint: /bin/bash
mailhog:
image: mailhog/mailhog
adminer:
image: adminer:latest
links:
- app_mysql:mysql
elasticsearch:
image: elastic/elasticsearch:7.1.1
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
recovery/Install/Index.php
of course... Mobile client sucks :see_no_evil:
docker
and docker-compose
commands, see here for example: https://github.com/shopware/development/blob/master/dev-ops/docker/actions/start.sh-d
flag when starting the container you can see the logs (otherwise it might be good to run: docker-compose logs app_mysql
)