Cant reset admin using ./reset-admin.sh

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/repo_old_file_auto_del_scanner.py”, line 22, in init
self._prepare_seahub_dir()
File “/srv/seafile-pro-server-9.0.9/pro/python/seafevents/tasks/repo_old_file_auto_del_scanner.py”, line 29, in _prepare_seahub_dir
raise RuntimeError(‘seahub_dir is not set’)

Can anyone help me reset it please?

JD

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?