Coder Social home page Coder Social logo

Comments (7)

NicolasCARPi avatar NicolasCARPi commented on August 29, 2024

Yes I realized that too some time ago, I used another approach:

1458d7b

Did you use this version (meaning this fix didn't work)?

from elabimg.

oli-ver avatar oli-ver commented on August 29, 2024

I pulled elabftw/elabimg:latest which is 4 weeks old. Has you fix been published yet? As it is part of the master branch and tagged with a version I would assume so, right?

from elabimg.

NicolasCARPi avatar NicolasCARPi commented on August 29, 2024

I think if you build it yourself you'll get the fix but the one from docker hub might not have it.

from elabimg.

oli-ver avatar oli-ver commented on August 29, 2024

I just built the dev branch myself and are still reproducing the issue:

 [ErrorException]                                                                                                                                                       
  file_exists(): open_basedir restriction in effect. File(/.dockerenv) is not within the allowed path(s): (/elabftw/:/tmp/:/root/.composer:/usr/bin/composer:/usr/bin/u  
  nzip)  

I checked the commit history: Your fix has been merged to the dev branch but seems not to work (perhaps .dockerenv is being created during another step?). When testing with a docker image with the fixed open_basedir path it's working.

from elabimg.

NicolasCARPi avatar NicolasCARPi commented on August 29, 2024

Ok I'll merge your change then. You can even add a commit on your PR to remove the rm .dockerenv from the Dockerfile ;)

from elabimg.

oli-ver avatar oli-ver commented on August 29, 2024

@NicolasCARPi Sure, I updated the branch with your suggestion

from elabimg.

oli-ver avatar oli-ver commented on August 29, 2024

@NicolasCARPi Sorry, I got confused with the branches. My commit was not on the patch-2 branch but on the dev branch in my fork. Is it possible that my pull request needs to be set to the dev branch, too? Right now it's for hypernext. I will push the change to the patch-2 branch now.

from elabimg.

Related Issues (13)

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.