Open zoometh opened 9 months ago
❗Server Error (500)
(ENV) root@ip-172-31-39-197:/opt/arches# tail -20 /var/log/apache2/error.log
Gives
[Tue Apr 30 00:00:31.412193 2024] [ssl:warn] [pid 147823:tid 281473101725712] AH01909: ip-172-31-39-197.eu-west-1.compute.internal:443:0 server certificate does NOT include an ID which matches the server name
[Tue Apr 30 00:00:31.413067 2024] [mpm_event:notice] [pid 147823:tid 281473101725712] AH00489: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations
[Tue Apr 30 00:00:31.413083 2024] [core:notice] [pid 147823:tid 281473101725712] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 29 19:17:43.751026 2024] [wsgi:error] [pid 2291450:tid 281473066750352] /opt/arches/ENV/lib/python3.8/site-packages/django/contrib/gis/shortcuts.py:10: UserWarning: NumPy was imported from a Python sub-interpreter but NumPy does not properly support sub-interpreters. This will likely work for most users but might cause hard to track down issues or subtle bugs. A common user of the rare sub-interpreter feature is wsgi which also allows single-interpreter mode.
[Mon Apr 29 19:17:43.751058 2024] [wsgi:error] [pid 2291450:tid 281473066750352] Improvements in the case of bugs are welcome, but is not on the NumPy roadmap, and full support may require significant effort to achieve.
[Mon Apr 29 19:17:43.751061 2024] [wsgi:error] [pid 2291450:tid 281473066750352] import numpy
[Tue Apr 30 11:20:30.247155 2024] [authz_core:error] [pid 2291453:tid 281472686612880] [client 134.155.219.232:55611] AH01630: client denied by server configuration: /opt/arches/files, referer: https://database.eamena.org/search?paging-filter=1&tiles=true&format=tilecsv&reportlink=false&precision=6&total=368511&term-filter=%5B%7B%22inverted%22%3Afalse%2C%22type%22%3A%22string%22%2C%22context%22%3A%22%22%2C%22context_label%22%3A%22%22%2C%22id%22%3A%220b509735-78fa-42df-a770-d1f158916c0b%22%2C%22text%22%3A%220b509735-78fa-42df-a770-d1f158916c0b%22%2C%22value%22%3A%220b509735-78fa-42df-a770-d1f158916c0b%22%7D%5D&language=*
[Tue Apr 30 11:24:02.687014 2024] [authz_core:error] [pid 2291453:tid 281472686612880] [client 192.76.8.91:56260] AH01630: client denied by server configuration: /opt/arches/files, referer: https://database.eamena.org/search?paging-filter=1
A systemctl status apache2
shows that the Apache server was running
✔️ A service apache2 restart
has fixed the error
The URL https://database.eamena.org/search gave an Internal Server Error
Looking in the Apache2 log:
Gave: