Git Product home page Git Product logo

Comments (5)

janbuecker avatar janbuecker commented on May 17, 2024

Could you please provide the contents of your composer.json file and the console output from running composer update?

from shopware.

DevertNet avatar DevertNet commented on May 17, 2024

Here is the output from the composer.json and composer update command.

shopware/platform
composer update

Cannot load Zend OPcache - it was already loaded
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

cat composer.json

{
    "name": "shopware/platform",
    "description": "The Shopware e-commerce core",
    "type": "library",
    "keywords": [
        "framework",
        "shopware"
    ],
    "homepage": "https://www.shopware.com",
    "license": "MIT",
    "replace": {
        "shopware/core": "self.version",
        "shopware/storefront": "self.version",
        "shopware/administration": "self.version",
        "shopware/elasticsearch": "self.version"
    },
    "require": {
        "php": ">=7.2.0",
        "ext-dom": "*",
        "ext-fileinfo": "*",
        "ext-gd": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-pdo": "*",
        "ext-pdo_mysql": "*",
        "ext-simplexml": "*",
        "ext-xml": "*",
        "ext-zip": "*",
        "aws/aws-sdk-php": "3.100.3",
        "cocur/slugify": "3.2",
        "composer/composer": "1.8.6",
        "composer/semver": "1.5.0",
        "doctrine/annotations": "1.6.1",
        "doctrine/dbal": "2.9.2",
        "doctrine/inflector": "1.3.0",
        "dompdf/dompdf": "0.8.3",
        "elasticsearch/elasticsearch": "7.0.0",
        "enqueue/fs": "0.9.8",
        "erusev/parsedown-extra": "0.7.1",
        "google/cloud-storage": "1.12.2",
        "guzzlehttp/guzzle": "6.3.3",
        "jdorn/sql-formatter": "1.2.17",
        "lcobucci/jwt": "3.3.1",
        "league/flysystem": "1.0.52",
        "league/flysystem-aws-s3-v3": "1.0.23",
        "league/oauth2-server": "7.3.3",
        "marc1706/fast-image-size": "1.1.4",
        "nyholm/psr7": "1.1.0",
        "ongr/elasticsearch-dsl": "6.0.3",
        "psr/cache": "1.0.1",
        "psr/http-factory": "1.0.1",
        "psr/http-message": "1.0.1",
        "psr/log": "1.1.0",
        "scssphp/scssphp": "1.0.0",
        "sensio/framework-extra-bundle": "5.3.1",
        "sroze/messenger-enqueue-transport": "0.3.0",
        "superbalist/flysystem-google-storage": "7.2.1",
        "swiftmailer/swiftmailer": "6.2.1",
        "symfony/asset": "4.3.2",
        "symfony/cache": "4.3.2",
        "symfony/cache-contracts": "1.1.1",
        "symfony/config": "4.3.2",
        "symfony/console": "4.3.2",
        "symfony/debug-bundle": "4.3.2",
        "symfony/dependency-injection": "4.3.2",
        "symfony/dotenv": "4.3.2",
        "symfony/event-dispatcher": "4.3.2",
        "symfony/event-dispatcher-contracts": "1.1.1",
        "symfony/filesystem": "4.3.2",
        "symfony/finder": "4.3.2",
        "symfony/framework-bundle": "4.3.2",
        "symfony/http-foundation": "4.3.2",
        "symfony/http-kernel": "4.3.2",
        "symfony/messenger": "4.3.2",
        "symfony/monolog-bundle": "3.3.1",
        "symfony/options-resolver": "4.3.2",
        "symfony/polyfill-php73": "1.11.0",
        "symfony/property-access": "4.3.2",
        "symfony/property-info": "4.3.2",
        "symfony/psr-http-message-bridge": "1.2.0",
        "symfony/routing": "4.3.2",
        "symfony/serializer": "4.3.2",
        "symfony/service-contracts": "1.1.2",
        "symfony/swiftmailer-bundle": "3.2.7",
        "symfony/translation": "4.3.2",
        "symfony/translation-contracts": "1.1.2",
        "symfony/twig-bundle": "4.3.2",
        "symfony/validator": "4.3.2",
        "symfony/yaml": "4.3.2",
        "twig/extensions": "1.5.4",
        "twig/twig": "2.11.2",
        "voku/stop-words": "2.0.1"
    },
    "require-dev": {
        "ext-tokenizer": "*",
        "ext-xmlwriter": "*",
        "bheller/images-generator": "1.0.1",
        "fzaninotto/faker": "1.8.0",
        "johnkary/phpunit-speedtrap": "3.1.0",
        "kubawerlos/php-cs-fixer-custom-fixers": "1.13.0",
        "league/flysystem-memory": "1.0.2",
        "mbezhanov/faker-provider-collection": "1.2.1",
        "phpunit/phpunit": "8.2.1",
        "smalot/pdfparser": "0.14.0",
        "symfony/browser-kit": "4.3.2",
        "symfony/phpunit-bridge": "4.3.2",
        "symfony/stopwatch": "4.3.2",
        "symfony/var-dumper": "4.3.2",
        "symfony/web-profiler-bundle": "4.3.2"
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "autoload": {
        "psr-4": {
            "Shopware\\Administration\\": "src/Administration/",
            "Shopware\\Docs\\": "src/Docs/",
            "Shopware\\Storefront\\": "src/Storefront/",
            "Shopware\\Core\\": "src/Core/",
            "Shopware\\Elasticsearch\\": "src/Elasticsearch/"
        },
        "exclude-from-classmap": [
            "src/**/Test/"
        ]
    }
}

shopware/development

composer update

Cannot load Zend OPcache - it was already loaded
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
> ln -sf ../../bin/pre-commit vendor/shopware/platform/.git/hooks/pre-commit

cat composer.json

{
    "name": "shopware/development",
    "type": "project",
    "license": "MIT",
    "repositories": [
        {
            "type": "path",
            "url": "custom/plugins/*",
            "options": {
                "symlink": true
            }
        },
        {
            "type": "path",
            "url": "platform",
            "options": {
                "symlink": true
            }
        }
    ],
    "config": {
        "optimize-autoloader": true
    },
    "prefer-stable": true,
    "minimum-stability": "dev",
    "autoload": {
        "psr-4": {
            "Shopware\\Development\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Shopware\\Development\\Test\\": "tests/"
        }
    },
    "require": {
        "php": "~7.2",
        "ocramius/package-versions": "1.4.0",
        "shopware/platform": "dev-master"
    },
    "scripts": {
        "post-update-cmd": [
            "ln -sf ../../bin/pre-commit vendor/shopware/platform/.git/hooks/pre-commit"
        ]
    },
    "require-dev": {
        "ext-tokenizer": "*",
        "ext-xmlwriter": "*",
        "bheller/images-generator": "1.0.1",
        "fzaninotto/faker": "1.8.0",
        "johnkary/phpunit-speedtrap": "3.1.0",
        "kubawerlos/php-cs-fixer-custom-fixers": "1.13.0",
        "league/flysystem-memory": "1.0.2",
        "mbezhanov/faker-provider-collection": "1.2.1",
        "phpunit/phpunit": "8.2.1",
        "smalot/pdfparser": "0.14.0",
        "symfony/browser-kit": "4.3.2",
        "symfony/phpunit-bridge": "4.3.2",
        "symfony/stopwatch": "4.3.2",
        "symfony/var-dumper": "4.3.2",
        "symfony/web-profiler-bundle": "4.3.2"
    }
}

from shopware.

janbuecker avatar janbuecker commented on May 17, 2024

Thank you! I see your problem in the composer.json file in the development template. The requirement there is set to "shopware/platform": "dev-master" which checks out the latest changes, a nightly status so to say. Please change this line to "shopware/platform": "6.0.0+ea1" and run composer update again. After that, it should have the code from the release and the administration should say the same. :-)

from shopware.

DevertNet avatar DevertNet commented on May 17, 2024

Now the backend shows the correct version :) Thank you!

Maybe you should set the default branch from the shopware/development repo to "6.0+ea".
Because in the installation doc is no hint to use a special release/branch:
https://docs.shopware.com/en/shopware-platform-en/getting-started/installation?category=shopware-platform-en/getting-started

It only says "git clone [email protected]:shopware/development.git".

from shopware.

mitelg avatar mitelg commented on May 17, 2024

hey @DevertNet
I've updated the docs according to your suggest. Thanks for the hint 👍

from shopware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.