GithubHelp home page GithubHelp logo

Comments (11)

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

Did you test it with the original yml file ? I haven't tested it without volumes because it doesn't make sense for a production environment.

from docker-otrs.

zoell avatar zoell commented on July 28, 2024

Yeah its the same error with the original file.

Could you please check if you can run this with docker-compose up?

from docker-otrs.

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

When using the defaullt yml file, did you check the file system permissions as described on the README ?

from docker-otrs.

zoell avatar zoell commented on July 28, 2024

Yes

from docker-otrs.

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

I just tested the default yml file and it works fine. Most of the problems come from the permissions of the directories that hold the container volumes as explained on the README file.

from docker-otrs.

zoell avatar zoell commented on July 28, 2024

That is intereting.

So to just start at the beggining, with zero (or almost zero) configuration what I have to do is:

1: clone the repo
2: add the files:
for otrs: otrs-setup.env
for postfix: credentials-smtp.env
3: change to OTRS_INSTALL: "yes"

and do docker-compose up right? I want to replicate exactly what you have done to try it out.
Btw do you have an example for those two env files?

from docker-otrs.

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

You don't list to check/fix directory permissions, please check the README and fix permissions before starting the service.

from docker-otrs.

zoell avatar zoell commented on July 28, 2024

I did that already as I mentioned.
Please give me an example for the env files.

from docker-otrs.

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

The error you posted has to do with filesystem permissions, it has nothing to do with env files. You can remove them and put all the env variables on the yml file and the error should be the same. Test with the docker-compose-prod.yml file (which doesn't use env_file), the other one I use it to build the images, and use the -prod one as a base for my production installations (but using env_file).

from docker-otrs.

juanluisbaptiste avatar juanluisbaptiste commented on July 28, 2024

Also don't use OTRS_INSTALL=yes (the default is no), the default install is ready to be configured, you don't need to do the installation, that parameter is more for tests and haven't tested it in a long time.

from docker-otrs.

zoell avatar zoell commented on July 28, 2024

Thanks, the issue was with the OTRS_INSTALL=yes.

from docker-otrs.

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.