Hi all,
The websodm.sh start script had been launched for days and I could use WebODM without issue.
Today when trying to use it again it failed and I realized the webodm.sh script had crashed without any visible reason. So in the same terminal I just relaunched the webodm.sh start command ([Up], [Enter]) and surprisingly it started downloading things. When WebODM finally started, the layout changed (I modified the logo and theme in the administration menu before, and it looked like it was reset) and my last user name and password are not recognized any-more…
Obviously I tried to reset my password with the ./webodm.sh resetadminpassword newpass command, but it fails with the following error:
Traceback (most recent call last):
File "/webodm/manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.9/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.9/dist-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.9/dist-packages/django/core/management/base.py", line 316, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/dist-packages/django/core/management/base.py", line 353, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.9/dist-packages/django/core/management/commands/shell.py", line 92, in handle
exec(sys.stdin.read())
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.9/dist-packages/django/db/models/query.py", line 303, in __getitem__
return qs._result_cache[0]
IndexError: list index out of range
Then, I also tried the webodm.sh down command and restarting it. I tried removing the local git folder and cloning it again. I tried to update again after download. I tried to use a previous git clone I made a long time ago.
Please, how to solve the situation, that is how to:
- either totally remove WebODM and restart from scratch the login/password definition
- or reset the actual password?
Optionally, any idea about why that happened?
Thank you for help,
Best regards,