AnubisLMS / AnubisLMS/Anubis

FIX 404 page not found with make debug

Aperta
#463 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
381
Fork
53
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.