Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup with docker-compose and Cloudflare Tunnel #45

Open
clemone210 opened this issue Aug 23, 2023 · 0 comments
Open

Setup with docker-compose and Cloudflare Tunnel #45

clemone210 opened this issue Aug 23, 2023 · 0 comments

Comments

@clemone210
Copy link

clemone210 commented Aug 23, 2023

Hello!

I've tried to setup the project with Cloudflare Tunnel, but I cannot seem to get it working.

The server is setup with docker-compose. I changed the secret in the config.php.

Cloudflare Tunnel is setup to point my subdomain.domain to the docker container at the specified port.

On the client, i've setup the secret and the URL.
When running I get the following error:
Error: Failed to upload screenshot. Server returned status code '500'.

On the server it shows this error:

myazo  | 2023/08/23 15:10:15 [warn] 62#62: *1 a client request body is buffered to a temporary file /var/tmp/nginx/client_body/0000000001, client: 172.26.0.1, server: _, request: "POST /upload.php HTTP/1.1", host: "screenshot.mydomain.com"
myazo  | [23-Aug-2023 15:10:15] WARNING: [pool www] child 68 said into stderr: "NOTICE: PHP message: PHP Warning:  mkdir(): File exists in /app/upload.php on line 41"
myazo  | 2023/08/23 15:10:15 [error] 62#62: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  mkdir(): File exists in /app/upload.php on line 41" while reading response header from upstream, client: 172.26.0.1, server: _, request: "POST /upload.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "screenshot.mydomain.com"
myazo  | [php-fpm:access] 127.0.0.1 -  23/Aug/2023:15:10:15 +0000 "POST /upload.php" 500 /app/upload.php 90.269 2048 88.62%
myazo  | 172.26.0.1 - - [23/Aug/2023:15:10:15 +0000] "POST /upload.php HTTP/1.1" 500 5 "-" "python-requests/2.31.0"

Any tips to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant