Skip to content

WebODM won't start - repeated webapp exception #1586

@rahlhar

Description

@rahlhar

How did you install WebODM (docker, installer, etc.)?

Installed docker v27.3.1. Used git clone followed by ./webodm.sh start.

What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

Browser is irrelevant - the problem is a failure to start.

OS is Artix Linux running 6.12.9-hardened (confirmed also on 6.12.9).

What is the problem?

When running ./webodm.sh start, all seems to flow well until the webapp process keeps crashing, retrying, ad nauseum.

webapp      | celery beat v4.4.0 (cliffs) is starting.                                                                                         
webapp      | [2025-01-16 10:16:05 +0000] [240] [INFO] Starting gunicorn 19.7.1                                                                
webapp      | Traceback (most recent call last):                                                                                               
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/sock.py", line 44, in set_options                                        
webapp      |     sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)                                                                   
webapp      | OSError: [Errno 95] Operation not supported                                                                                      
webapp      |                                                                                                                                  
webapp      | During handling of the above exception, another exception occurred:                                                              
webapp      |                                                                                                                                  
webapp      | Traceback (most recent call last):                                                                                               
webapp      |   File "/usr/local/bin/gunicorn", line 8, in <module>                                                                            
webapp      |     sys.exit(run())                                      
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/app/wsgiapp.py", line 74, in run                                         
webapp      |     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()                                                                     
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/app/base.py", line 203, in run                                           
webapp      |     super(Application, self).run()                                                                                               
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/app/base.py", line 72, in run                                            
webapp      |     Arbiter(self).run()                                                                                                          
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/arbiter.py", line 198, in run
webapp      |     self.start()                                         
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/arbiter.py", line 157, in start                                          
webapp      |     self.LISTENERS = sock.create_sockets(self.cfg, self.log, fds)                                                                
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/sock.py", line 180, in create_sockets                                    
webapp      |     sock = sock_type(addr, conf, log)                                                                                            
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/sock.py", line 117, in __init__                                          
webapp      |     super(UnixSocket, self).__init__(addr, conf, log, fd=fd)                                                                     
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/sock.py", line 32, in __init__                                           
webapp      |     self.sock = self.set_options(sock, bound=bound)                                                                              
webapp      |   File "/usr/local/lib/python3.9/dist-packages/gunicorn/sock.py", line 46, in set_options                                        
webapp      |     if err[0] not in (errno.ENOPROTOOPT, errno.EINVAL):                                                                          
webapp      | TypeError: 'OSError' object is not subscriptable                                                                                 
webapp exited with code 0 

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a dataset, you must include a copy of your dataset uploaded on Dropbox, Google Drive or https://dronedb.app)

Not really reproducable without knowing what the problem is.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions