internal server error on dashboard

31 views
Skip to first unread message

Ya'qub Ebrahim

unread,
Apr 29, 2024, 8:17:09 AMApr 29
to archivematica
Hello,

I've installed Archivematica using the manual installation guide but I'm having an issue with the dashboard.

'Internal server error'
This is the dashboard logs:
(archivematica) yebrahim@vm-archivematica-qc-tst-01:~$ sudo tail -n30 /var/log/archivematica/dashboard/dashboard.log
    return bool(self.execute_sql(SINGLE))
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1173, in execute_sql
    cursor = self.connection.cursor()
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner
    return func(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/base/base.py", line 259, in cursor
    return self._cursor()
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    self.ensure_connection()
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner
    return func(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/base/base.py", line 218, in ensure_connection
    with self.wrap_database_errors:
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner
    return func(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/base/base.py", line 200, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/utils/asyncio.py", line 33, in inner
    return func(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/MySQLdb/__init__.py", line 121, in Connect
    return Connection(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.10/site-packages/MySQLdb/connections.py", line 193, in __init__
    super().__init__(*args, **kwargs2)
django.db.utils.OperationalError: (1049, "Unknown database 'MCP'")

Any assistance with this would be appreciated, thank you

Amaya Rodrigo

unread,
Apr 30, 2024, 8:11:54 AMApr 30
to archiv...@googlegroups.com
Hi, The MCP database is missing:

On Mon, Apr 29, 2024 at 2:17 PM Ya'qub Ebrahim <yaqub....@gmail.com> wrote:
django.db.utils.OperationalError: (1049, "Unknown database 'MCP'")



--
Amaya M Rodrigo Sastre (she/her/bofh) - sysadmin@artefactual 


Reply all
Reply to author
Forward
0 new messages