Giter Site home page Giter Site logo

Permission issue about benotes HOT 8 CLOSED

galgofa avatar galgofa commented on May 31, 2024
Permission issue

from benotes.

Comments (8)

MohamedElashri avatar MohamedElashri commented on May 31, 2024 2

The reason why it isn't included is that it should not happen. Usually the directory you put everything in should be owned by your current user and then you won't face that problem and won't have to use chmod 774 or 744

After some thinking, yes you right about that. Anyway docker-compose exec app sh will solve this problem and .env to 664.

from benotes.

fr0tt avatar fr0tt commented on May 31, 2024 1

The reason why it isn't included is that it should not happen. Usually the directory you put everything in should be owned by your current user and then you won't face that problem and won't have to use chmod 774 or 744

from benotes.

fr0tt avatar fr0tt commented on May 31, 2024

Thank you for saying that ;)
Sure thing. What method did you use to install it ? And probably nonetheless do you have an .env file ?

from benotes.

galgofa avatar galgofa commented on May 31, 2024

Thanks for respond, initially i started with instructions from https://noted.lol/benotes/ but then github here, same issue.
.env file i have used with amendment for different port 8099 only, the rest as per default.
I can run "php artisan install --only-user" and insert user/email/pass, web page is available but can't login

On top of that, i'm trying to install on native PC, docker use.

from benotes.

fr0tt avatar fr0tt commented on May 31, 2024

What I exactly meant was if you use docker (compose) or if you try to install it on the host system old-school without docker, but I presume you use docker-compose?

I asked if you have an .env file because I thought you maybe forgot to copy .env.example as .env but it that's not the case try to make the .env file writable for your current user.

from benotes.

galgofa avatar galgofa commented on May 31, 2024

try to make the .env file writable for your current user.
That's it !
Thank you vm, problem solved.

from benotes.

fr0tt avatar fr0tt commented on May 31, 2024

No problem !

from benotes.

MohamedElashri avatar MohamedElashri commented on May 31, 2024

Is chmod 664 .env what solved this problem or what (running this on the host)? I'm still having the same problem.
Also, it is better if this is added as a step in docker-compose documentation

from benotes.

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.