AnubisLMS / AnubisLMS/Anubis

FIX 404 page not found with make debug

Open
#463 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
381
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.