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

HTTP Error 500 #286

Open
JK-Effects opened this issue May 7, 2024 · 2 comments
Open

HTTP Error 500 #286

JK-Effects opened this issue May 7, 2024 · 2 comments

Comments

@JK-Effects
Copy link

JK-Effects commented May 7, 2024

Hi
I have installed the typo3 image version 12 via my docker compose.
The communication to the installation of typo 3 through traefik works according to the console.
There I get a response per browser call with the call from the browser.

However, the browser only receives an error 500 in response.
This also prevents me from completing the installation-process of the typo3 instance.

What could be the reason that only an error 500 is returned?


Container logs:

<container_name>    | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <docker ip address>. Set the 'ServerName' directive globally to suppress this message
<container_name>    | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <docker ip address>. Set the 'ServerName' directive globally to suppress this message
<container_name>    | [Tue May 07 07:11:22.738981 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.2.16 configured -- resuming normal operations
<container_name>    | [Tue May 07 07:11:22.739214 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

<container_name>    | <docker ip address> - - [07/May/2024:07:11:38 +0000] "GET / HTTP/1.1" 500 211 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"

my docker-compose config:

version: '3'

services:
  typo3:
    image: martinhelmich/typo3:12
    restart: always
    volumes:
      - /var/typo3/fileadmin:/var/www/html/fileadmin
      - /var/typo3/typo3conf:/var/www/html/typo3conf
      - /var/typo3/typo3temp:/var/www/html/typo3temp
      - /var/typo3/uploads:/var/www/html/uploads
    labels:
      - traefik.enable=true
      - traefik.docker.network=proxy
      - traefik.http.routers.typo3.rule=Host(`<Subdomain.Domain>`)
      - traefik.http.routers.typo3.tls=true
      - traefik.http.routers.typo3.tls.certresolver=myresolver
    networks:
      - proxy
      - typo3_internal
    links:
      - typo3-db:db
    depends_on:
      - typo3-db

  typo3-db:
    image: mariadb:11.2
    environment:
      - MYSQL_USER=<user>
      - MYSQL_PASSWORD=<password>
      - MYSQL_DATABASE=<database>
      - MYSQL_RANDOM_ROOT_PASSWORD=<password>
    networks:
      - typo3_internal

networks:
  proxy:
    external: true
  typo3_internal:
@WifiAccessPoint
Copy link

Did you find a solution for this?
I was able to deploy it in production a few weeks ago, now my team needs a container for dev too and I can't deploy it, no matter what I change.

@JK-Effects
Copy link
Author

I haven't found any solution yet.
But if I do find anything that works, I'll post it here.

Maybe someone else does know what to do, to fix that error.

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

2 participants