AnubisLMS / AnubisLMS/Anubis

FIX 404 page not found with make debug

Abierto
#463 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
381
Forks
53
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am just trying to test the software so I followed https://github.com/AnubisLMS/Anubis/blob/main/docs/development_guide.md this tutorial and used the "sudo make debug" command to use Docker to get Anubis running,

1. After running "sudo make debug" I got database connection error in the logs as follows
`docker compose -p anubis exec api alembic upgrade head
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Access denied for user 'root'@'172.20.0.1' (using password: NO)'
Starting with DATABASE_URI: mysql+pymysql://anubis:anubis@db/anubis
Starting with CACHE_TYPE: RedisCache
Starting with SECRET_KEY: DEBUG
Starting with MINDEBUG: False
Starting with DEBUG: True
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
make startup-links
make[1]: Entering directory '/home/user/Projects/Anubis'
`

Then logs ended like this
`seed: http://localhost/api/admin/seed/
auth: http://localhost/api/admin/auth/token/superuser
auth: http://localhost/api/admin/auth/token/professor
auth: http://localhost/api/admin/auth/token/ta
auth: http://localhost/api/admin/auth/token/student
site: http://localhost/
make[1]: Leaving directory '/home/user/Projects/Anubis'`

and when i tried going to site from browser I am getting 404 error
image

need to understand why this is happening

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.