Back

[SOLVED] 404 page not found

  • 0
  • General
Bouahaza
27 May, 2023, 14:42

So appwrite isn't launch cause it dรฉpends of mariadb container, and 404 is normal cause traefik can't route request

TL;DR
User encountered a 404 page not found error when trying to edit the title of a post. They tried using the "edit post" option but were unable to change the title. Another user suggested adding [SOLVED] at the beginning of the post title. The issue was resolved by running the command "docker system prune." The user also received suggestions regarding increasing disk space and changing the default storage location. The error message indicated that there was no space left on the device. Another suggestion was to run the command "docker exec appwrite doctor." The user provided logs which showed the successful installation of Appwrite but mentioned that it couldn't
Bouahaza
27 May, 2023, 14:43

Do you have somme error ?

Fahad Ali
27 May, 2023, 14:45
TypeScript
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:1.3.4
Starting Appwrite installation...
Compose file found, creating backup: docker-compose.yml.1685198172.backup
Env file found, creating backup: .env.1685198172.backup
Choose your server HTTP port: (default: 3000)
80
Choose your server HTTPS port: (default: 443)

Choose a secret API key, make sure to make a backup of your key in a secure location (default: 'hello-imfali')

Enter your Appwrite hostname (default: 'localhost')

Enter a DNS A record hostname to serve as a CNAME for your custom domains.
You can use the same value as used for the Appwrite hostname. (default: 'localhost')

Running "docker compose -f /usr/src/code/appwrite/docker-compose.yml up -d --remove-orphans --renew-anon-volumes"
Appwrite installed successfully```
Fahad Ali
27 May, 2023, 14:45

These are the logs

Bouahaza
27 May, 2023, 14:47

try docker exec appwrite doctor

Fahad Ali
27 May, 2023, 14:48
Bouahaza
27 May, 2023, 14:48

Oh, disk is full

Fahad Ali
27 May, 2023, 14:49
TypeScript
2023-05-27 14:32:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-05-27 14:32:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.8+maria~ubu2004 started.
2023-05-27 14:32:00+00:00 [Note] [Entrypoint]: Initializing database files
2023-05-27 14:32:00 0 [ERROR] mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left on device")
2023-05-27 14:32:00 0 [ERROR] Aborting
2023-05-27 14:32:00 0 [ERROR] mariadbd: Error on close of '(null)' (Errcode: 9 "Bad file descriptor")```
Fahad Ali
27 May, 2023, 14:50

this is the error from the container

Bouahaza
27 May, 2023, 14:50

No space left on device

Fahad Ali
27 May, 2023, 14:50

What is the fix for this space issue?

Fahad Ali
27 May, 2023, 14:51

on device means, there is 113gb left on my laptop??

Bouahaza
27 May, 2023, 14:51

Depends how you install docker on your mac

Fahad Ali
27 May, 2023, 14:52

I simply used the installer

Bouahaza
27 May, 2023, 14:52

I don't have mac and don't use docker GUI, perhaps you've an option to increase disk ?

Fahad Ali
27 May, 2023, 14:53

okay let me explore on this

Bouahaza
27 May, 2023, 15:01

On docker desktop, apparently you can change image size on Settings > Advanced > Ressources

Bouahaza
27 May, 2023, 15:01
Fahad Ali
27 May, 2023, 15:03

fixed with this command docker system prune

Fahad Ali
27 May, 2023, 15:04

Thanks a lot @Bouahaza and @D5 :appwriteheart2:

Bouahaza
27 May, 2023, 15:05

Add [SOLVED] at begin of your post title after check that everythings is ok

Fahad Ali
27 May, 2023, 15:05

okay. Got it

Fahad Ali
27 May, 2023, 15:09

I dont know why I am not able to edit the title of the post. I used the edit post option at the top right

D5
27 May, 2023, 15:13

[SOLVED] 404 page not found

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