AnubisLMS / AnubisLMS/Anubis

FIX 404 page not found with make debug

Offen
#463 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
381
Forks
53
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.