Mongodb Unexpected server error

Hi,

My YunoHost server

Hardware: VPS bought online /
YunoHost version: 4.3.6.2
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

My DAVx client doesn’t work. It gives HTTP Server error - HTTP 500
And on server’s services pane Mongodb says " Error: "500" Internal Server Error"

[GET] /services/mongod/log?number=50
YunoHost encountered an internal error
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:

Error: "500" Internal Server Error

Action: "GET" /yunohost/api/services/mongod/log?number=50&locale=en

Error message:
Unexpected server error

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 494, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 599, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/service.py", line 555, in service_log
    result[log_path] = _tail(log_path, number)
  File "/usr/lib/moulinette/yunohost/service.py", line 817, in _tail
    lines = f.read().splitlines()
MemoryError

How can I solve this problem?

The logs ends with MemoryError, maybe your VPS doesn’t have enough RAM ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.