Git Product home page Git Product logo

Comments (6)

Capobuf avatar Capobuf commented on August 16, 2024

I've installed this docker container via the instructed methods including the MariaDB.

When I try to go to http://localhost:8080 I get a 403 restricted.
http://localhost:8080/scp gives me a 404

Nginx logs in /var/www/logs/nginx-error.log as follows:

# cat nginx-error.log 
2018/07/03 01:38:17 [error] 40#40: *1 directory index of "/var/www/src/public/" is forbidden, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", host: "localhost:8080"
2018/07/03 01:38:17 [error] 40#40: *1 open() "/var/www/src/public/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2018/07/03 01:38:17 [error] 40#40: *1 open() "/var/www/src/public/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2018/07/03 01:41:52 [error] 40#40: *3 directory index of "/var/www/src/public/" is forbidden, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", host: "0.0.0.0:8080"
2018/07/03 01:41:52 [error] 40#40: *3 open() "/var/www/src/public/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /favicon.ico HTTP/1.1", host: "0.0.0.0:8080"
2018/07/03 01:41:52 [error] 40#40: *3 open() "/var/www/src/public/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: _, request: "GET /favicon.ico HTTP/1.1", host: "0.0.0.0:8080"
2018/07/03 01:45:32 [error] 40#40: *4 directory index of "/var/www/src/public/" is forbidden, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", host: "0.0.0.0:8080"
2018/07/03 01:47:21 [error] 40#40: *4 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /bin/webhook.php on line 12" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /webhook.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "0.0.0.0:8080"

Any suggestions what I'm doing wrong?

EDIT: See also https://stackoverflow.com/questions/51145679/docker-osticket-http-errors

Same Problem

from osticket-docker.

jocarren avatar jocarren commented on August 16, 2024

Same here.

from osticket-docker.

maikelthedev avatar maikelthedev commented on August 16, 2024

Same issue here, rendering this docker image useless.

from osticket-docker.

kiuka avatar kiuka commented on August 16, 2024

the docker image does not clone the repository or contains the source code in it. I just faced the same issues, how should this even work lol

from osticket-docker.

elekgeek avatar elekgeek commented on August 16, 2024

same here in June 2020!

from osticket-docker.

sknopp avatar sknopp commented on August 16, 2024

found that /etc/nginx/conf.d/default.conf is pointing to the wrong directory as www-root.

line 10 should look as follows.

    [...]
    # The location of our projects public directory.
    root /var/www/src/;
    [...]

but as stated by the author in #6 unfortunately this here is no longer maintained and therefore i'll look for another image.

Update

after some more research this still seems to be the best way to use osTicket in Docker. Therefore i created a PR with the needed fixes :)

from osticket-docker.

Related Issues (17)

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.