Comments (6)
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 404Nginx 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.
Same here.
from osticket-docker.
Same issue here, rendering this docker image useless.
from osticket-docker.
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.
same here in June 2020!
from osticket-docker.
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)
- Docker image language HOT 2
- Cron does not work
- SMTP insists on using PHP mail() due to blank SECRET_SALT HOT 1
- Modal Window not working HOT 4
- Push new image to docker hub HOT 1
- Add language to osticket HOT 2
- Unable to login after Setup with Docker HOT 3
- existing mysql docker db
- PHP fatal error while installing
- PHP Parse error HOT 2
- Wrong PHP Version
- Permission Denied on /bin.vendor HOT 2
- Permission Denied on /bin.vendor
- New Docker Hub image HOT 2
- Unable to lock the ticket dockerized version
- Unable to change de Admin password HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osticket-docker.