Back

[SOLVED] 404 page not found when appwrite installed

  • 0
  • General
D5
16 May, 2023, 18:19

I have installed appwrite locally and IΒ΄m getting such error, without allowing access to console

TL;DR
The user was experiencing a 404 page not found error after installing appwrite. They tried reinstalling appwrite but it did not fix the issue. They noticed influxdb errors and decided to check the ports. They discovered that the traefik ports were not updated. They asked for help with the traefik section of the docker-compose.yml file and the output of `docker ps`. The user made modifications based on the provided traefik section but the issue persisted. They confirmed that all containers were running and there were no errors in the appwrite logs. They noted that they had installed appwrite locally and were still experiencing the same
D5
16 May, 2023, 18:20

Everything is running properly and I don't see any errors in the appwrite logs

D5
16 May, 2023, 18:21

I tried different browsers and nothing seems to change

Binyamin
16 May, 2023, 18:22

What is the error you're gettings? Is docker ps shows that all containers running?

D5
16 May, 2023, 18:23

Everything running. No errors and when trying to access appwrite console, it just shows 404 page not found

Binyamin
16 May, 2023, 18:24

Like this?

D5
16 May, 2023, 18:24

Nope

Binyamin
16 May, 2023, 18:24

Which one?

D5
16 May, 2023, 18:25
Binyamin
16 May, 2023, 18:27

Can you share the traefik part of your docker-compose.yml file & the output of docker ps

TypeScript
  traefik:
    image: traefik:2.7
    container_name: appwrite-traefik
    <<: *x-logging
    command:
      - --providers.file.directory=/storage/config
      - --providers.file.watch=true
      - --providers.docker=true
      - --providers.docker.exposedByDefault=false
      - --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
      - --entrypoints.appwrite_web.address=:80
      - --entrypoints.appwrite_websecure.address=:443
    restart: unless-stopped
    ports:
      - 80:80
      - 443:443
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - appwrite-config:/storage/config:ro
      - appwrite-certificates:/storage/certificates:ro
    depends_on:
      - appwrite
    networks:
      - gateway
      - appwrite
D5
16 May, 2023, 18:30

I can't find any traefik section in docker composer file

Binyamin
16 May, 2023, 18:30

How did you installed this particular Appwrite?

D5
16 May, 2023, 18:30

Oh, just found

D5
16 May, 2023, 18:30

It was not updated

D5
16 May, 2023, 18:33

Seems that traefik doesn't has assigned the correct ports. Checking if modifying that solves the problem

Binyamin
16 May, 2023, 18:33

πŸ‘ Lmn

D5
16 May, 2023, 18:34

Nope, stills not working. I'm getting now influxdb errors, some progress made πŸ˜…

Binyamin
16 May, 2023, 18:34

πŸ˜‰

Binyamin
16 May, 2023, 18:36

So is all the ports are in order? What ports do you see in docker ps?

Binyamin
16 May, 2023, 18:36
D5
16 May, 2023, 18:44

That seemed to be the problem. I just basically deleted everyting and installed appwrite again to prevent future bugs related to the first bad installation

D5
16 May, 2023, 18:45

[SOLVED] 404 page not found when appwrite installed

Binyamin
16 May, 2023, 18:45

Cool πŸ‘

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more