After a crash of webODM i tried to restart it, but I cannot login anymore: Invalid credentials. Note that both fields are case-sensitive.
So i tried to do a reset of the admin password with:
./webodm.sh resetadminpassword "Test123"
This generates the following error message:
./webodm.sh resetadminpassword "Test123"
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 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.9/dist-packages/django/core/management/base.py", line 364, 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 309, in __getitem__
return qs._result_cache[0]
IndexError: list index out of range
Could not change administrator password. If you need help, please visit https://github.com/OpenDroneMap/WebODM/issues/
I searched (and found) a similar problem here and tried the solution that was given by [Saijin_Naib]:
./webdom.sh stop
./webdom.sh down
./webodm.sh update
./webdom.sh start
But this made no difference. Any ideas how to solve this?
But at the moment i managed to reset the password, by restarting the browser, going to http://localhost:8000/dashboard/, and using the resetadminpassword command in the terminal.
Not shure what happened, but when i recall it:
Webodm gave me an error message that is was out of memory
I checked Docker and allocated more memory
I also saw that my internal harddisk of my MAcMini wasd almost completely full, so i changed the Disk Image Location in Docker to another drive and restarted Docker
Docker got stuck in the Restarting… process, so i killed the proces and restarted the computer.
After that Docker started up normally, but when i started Webodm (./webodm.sh start ) it took a very long time, and it seemed that it did a completely new install?
After that i couldn’t login, and the resetadminpassword didn’t work
So eventually i restarted the browser, go to http://localhost:8000/dashboard/ and saw the “confetti screen”. In the terminal i was now able to use the resetadminpassword command ands login to webodm, to see that all my projects were gone ;-(
Is there a way to get them back? I tried to set the d\isk image location in docker to its original location, but it gives an error message thet the DockerDesktop location already exists (wich of course is correct, but the point is i want Docker to use this original location so i hopefully will get my projects back)
Appareantly i did something wrong, and i hope someone can point it out to me so the next time i don’t make the same mistake…
If your disk almost filled, something could have failed to write out and got corrupted. I’m not sure if you did anything wrong aside from run low on resources.
I’m not really certain… It depends upon if Docker trashes the filesystem images when you set a new directory or not. And whether or not those images got corrupted due to the low disk space condition or not…
Have you taken a poke around to see if the filesystem image is still in the original location?
Do you mean the location of the Docker.raw file? That still exists in the original location
And I still have the output of the projects, because i start up WebODM with the --media-dir option. So that is no problem. But i would like to recover the projects so i can quickly view the settings, and use the viewers (3D and DSM/DTM/Ortho) to quickly inspect the results
peazip could open the .qcow2 files, but with errors. It couldn’t open the .raw file. I did not succeed in mounting the raw file in VirtualBox. So i created the projects from scratch
Thanks for your support
At the moment i have a slow internet connection. In about 1 month i will have a much faster connection. The docker.raw file i have is about 110GB in size. Uploading it now to files.com will take about 4-5 days according the site…