Coder Social home page Coder Social logo

Comments (9)

PetrHeinz avatar PetrHeinz commented on May 22, 2024 2

Hello @rapemer,

thanks for reporting this issue. The issue is caused by our php-fpm image, which is based on phpdockerio/php72-fpm:latest. In the latest release there was a BC breaking change and it cannot be installed at the moment. We're already working on the solution by switching to a more stable image. You can see the WIP in https://github.com/shopsys/shopsys/compare/mc-docker-images-switch.

I will create a PR in a few hours, you're welcome to join in with comments.

There is also a hotfix 36df504 which makes the appliaction buildable, but acceptance tests fail, you can use it if you want to build the application.

from shopsys.

MattCzerner avatar MattCzerner commented on May 22, 2024 1

Hello @rapemer,

we just commited modifications to our docker images to make it work, you can see it in this commit,
013978d

Please read changelog since there could be important informations for you to upgrade on new php-fpm image.

from shopsys.

PetrHeinz avatar PetrHeinz commented on May 22, 2024 1

There were actually more changes related to changing the Docker image, see c2e767d...54408aa. I would advise using current master branch. We'll release 7.0.0-alpha2 till the end of the month.

Did you manage to get it working?

from shopsys.

rapemer avatar rapemer commented on May 22, 2024

@PetrHeinz thanks for quick response and informations - I can wait for PR merge ;)

from shopsys.

rapemer avatar rapemer commented on May 22, 2024

@MattCzerner, @PetrHeinz thanks, I'm going to try it ..

from shopsys.

rapemer avatar rapemer commented on May 22, 2024

@PetrHeinz after commands: git checkout master and git pull there is command composer install under sudo - it's very dangerous to run composer under sudo, see https://getcomposer.org/root

it's in file .git/hooks/post-merge at line 21: check_run composer "sudo composer install"

from shopsys.

rapemer avatar rapemer commented on May 22, 2024

@PetrHeinz, @MattCzerner docker-compose up -d --build at current master done without errors, thanks a lot ;)

from shopsys.

PetrHeinz avatar PetrHeinz commented on May 22, 2024

@rapemer Are you sure you don't have any local custom settings of git hooks? Composer warns about executing under superuser privileges and there is no warning on either my machine nor on our CI.

In the image we used earlier, there was only user root, so composer was indeed run by root user (this was one of the reasons for switching the Docker image). But not using a githook.

from shopsys.

rapemer avatar rapemer commented on May 22, 2024

@PetrHeinz sorry, of course it's my local hook and I don't know how it could get there ..

from shopsys.

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.