Forums

Not Found

Not found The requested resource was not found on this server. Trying to load django for first time and have this displayed when clicking the configuration link

serverlog: 2022-11-17 06:08:14 Thu Nov 17 06:08:14 2022 - received message 0 from emperor 2022-11-17 06:08:14 SIGINT/SIGTERM received...killing workers... 2022-11-17 06:08:15 worker 1 buried after 1 seconds 2022-11-17 06:08:15 worker 2 buried after 1 seconds 2022-11-17 06:08:15 goodbye to uWSGI. 2022-11-17 06:08:15 VACUUM: unix socket /var/sockets/transitscanner.pythonanywhere.com/socket removed. 2022-11-17 06:08:20 *** Starting uWSGI 2.0.20 (64bit) on [Thu Nov 17 06:08:18 2022] *** 2022-11-17 06:08:20 compiled with version: 9.4.0 on 22 July 2022 18:35:26 2022-11-17 06:08:20 os: Linux-5.15.0-1017-aws #21~20.04.1 SMP Tue Aug 16 15:49:47 UTC 2022 2022-11-17 06:08:20 nodename: blue-liveweb11 2022-11-17 06:08:20 machine: x86_64 2022-11-17 06:08:20 clock source: unix 2022-11-17 06:08:20 pcre jit disabled 2022-11-17 06:08:20 detected number of CPU cores: 4 2022-11-17 06:08:20 current working directory: /home/TRANSITSCANNER 2022-11-17 06:08:20 detected binary path: /usr/local/bin/uwsgi 2022-11-17 06:08:20 *** dumping internal routing table *** 2022-11-17 06:08:20 [rule: 0] subject: path_info regexp: .svgz$ action: addheader:Content-Encoding:gzip 2022-11-17 06:08:20 *** end of the internal routing table *** 2022-11-17 06:08:20 chdir() to /home/TRANSITSCANNER/ 2022-11-17 06:08:20 your processes number limit is 256 2022-11-17 06:08:20 your memory page size is 4096 bytes 2022-11-17 06:08:20 detected max file descriptor number: 123456 2022-11-17 06:08:20 building mime-types dictionary from file /etc/mime.types... 2022-11-17 06:08:20 567 entry found 2022-11-17 06:08:20 lock engine: pthread robust mutexes 2022-11-17 06:08:20 thunder lock: disabled (you can enable it with --thunder-lock) 2022-11-17 06:08:20 uwsgi socket 0 bound to UNIX address /var/sockets/transitscanner.pythonanywhere.com/socket fd 3 2022-11-17 06:08:20 Python version: 3.10.5 (main, Jul 22 2022, 17:09:35) [GCC 9.4.0] 2022-11-17 06:08:20 PEP 405 virtualenv detected: /home/TRANSITSCANNER/.virtualenvs/scanenv-virtualenv 2022-11-17 06:08:20 Set PythonHome to /home/TRANSITSCANNER/.virtualenvs/scanenv-virtualenv 2022-11-17 06:08:20 *** Python threads support is disabled. You can enable it with --enable-threads *** 2022-11-17 06:08:20 Python main interpreter initialized at 0x55ed031f7e80 2022-11-17 06:08:20 your server socket listen backlog is limited to 100 connections 2022-11-17 06:08:20 your mercy for graceful operations on workers is 60 seconds 2022-11-17 06:08:20 setting request body buffering size to 65536 bytes 2022-11-17 06:08:20 mapped 501384 bytes (489 KB) for 2 cores 2022-11-17 06:08:20 *** Operational MODE: preforking *** 2022-11-17 06:08:20 initialized 54 metrics 2022-11-17 06:08:20 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x55ed031f7e80 pid: 1 (default app) 2022-11-17 06:08:20 *** uWSGI is running in multiple interpreter mode *** 2022-11-17 06:08:20 gracefully (RE)spawned uWSGI master process (pid: 1) 2022-11-17 06:08:20 spawned uWSGI worker 1 (pid: 2, cores: 1) 2022-11-17 06:08:20 spawned 2 offload threads for uWSGI worker 1 2022-11-17 06:08:20 spawned uWSGI worker 2 (pid: 5, cores: 1) 2022-11-17 06:08:20 metrics collector thread started 2022-11-17 06:08:20 spawned 2 offload threads for uWSGI worker 2

Do you have any routing configured in urls.py to the url you try to hit?

Just have admin and myapp, Do i need to add or change one? it runs locally...

I had the urls configured quite badly now fixed thanks