Cant reset admin using ./

Hi, I am trying to reset the admin account using the script, but get this error

File “/srv/seafile-pro-server-9.0.9/pro/python/seafevents/tasks/”, line 22, in init
File “/srv/seafile-pro-server-9.0.9/pro/python/seafevents/tasks/”, line 29, in _prepare_seahub_dir
raise RuntimeError(‘seahub_dir is not set’)

Can anyone help me reset it please?


Well I seem to have cured it with guesswork, I noticed an empty set of quotes near line 29, so i filled them with ‘seahub’ and it worked, i have no idea if that was the right thing to do, or if i should leave it there?

def _prepare_seahub_dir(self):
seahub_dir = os.environ.get(‘SEAHUB_DIR’, ‘seahub’)

Can you mark the topic as solved?