Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are no usable processing nodes. Make sure that at least one processing node is reachable and that you have granted the current user sufficient permissions to view the processing node #202

Closed
ichsan2895 opened this issue Apr 15, 2023 · 1 comment

Comments

@ichsan2895
Copy link

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

$ docker --version
Docker version 20.10.8, build 3967b7d

What's your browser and operating system?
Opera 78 on Linux

What is the problem?
Seriously, I dont know this problem is caused by WebODM or NodeODM, so I posted twice in this thread OpenDroneMap/WebODM#1326

Here is the screenshot of that error
image

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing?

This is happen after I updated to newest WebODM

# download newest git then extracted it to a folder named "WebODM-master"
$ cd WebODM-master

# update WebODM with GPU supports
$ ./webodm.sh update --gpu
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
GPU_NVIDIA has been found
Checking for docker...   OK
Checking for docker-compose...  OK
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.gpu.nvidia.yml -f docker-compose.nodemicmac.yml down --remove-orphans
Removing webapp                   ... done
Removing worker                   ... done
Removing webodm-master_node-odm_1 ... done
Removing db                       ... done
Removing broker                   ... done
Removing network webodm-master_default
Updating WebODM...
Skipping source update (.git directory not found)
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.gpu.nvidia.yml pull
Pulling broker   ... done
Pulling db       ... done
Pulling worker   ... done
Pulling node-odm ... done
Pulling webapp   ... done
Done! You can now start WebODM by running ./webodm.sh start

# start it with GPU
$ ./webodm.sh start --gpu
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
GPU_NVIDIA has been found
Checking for docker...   OK
Checking for docker-compose...  OK
Starting WebODM...

Using the following environment:
================================
Host: localhost
Port: 8000
Media directory: appmedia
Postgres DB directory: dbdata
SSL: NO
SSL key: 
SSL certificate: 
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1
================================
Make sure to issue a ./webodm.sh down if you decide to change the environment.

docker-compose -f docker-compose.yml -f docker-compose.nodeodm.gpu.nvidia.yml up --scale node-odm=1
Creating broker                   ... done
Creating db                       ... done
Creating webodm-master_node-odm_1 ... done
Creating worker                   ... done
Creating webapp                   ... done
Attaching to broker, db, webodm-master_node-odm_1, worker, webapp
broker      | 1:C 15 Apr 2023 00:37:12.930 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
broker      | 1:C 15 Apr 2023 00:37:12.930 # Redis version=7.0.10, bits=64, commit=00000000, modified=0, pid=1, just started
broker      | 1:C 15 Apr 2023 00:37:12.930 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
db          | 
db          | PostgreSQL Database directory appears to contain a database; Skipping initialization
db          | 
db          | LOG:  database system was shut down at 2023-04-15 00:36:31 UTC
broker      | 1:M 15 Apr 2023 00:37:12.930 * monotonic clock: POSIX clock_gettime
broker      | 1:M 15 Apr 2023 00:37:12.931 * Running mode=standalone, port=6379.
db          | LOG:  MultiXact member wraparound protections are now enabled
node-odm_1  | (node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
node-odm_1  | 
node-odm_1  | Please migrate your code to use AWS SDK for JavaScript (v3).
node-odm_1  | For more information, check the migration guide at https://a.co/7PzMCcy
node-odm_1  | (Use `node --trace-warnings ...` to show where the warning was created)
broker      | 1:M 15 Apr 2023 00:37:12.931 # Server initialized
worker      | Postgres is up - executing command
db          | LOG:  database system is ready to accept connections
db          | LOG:  autovacuum launcher started
worker      | wait-for-it.sh: waiting for broker:6379 without a timeout
worker      | wait-for-it.sh: broker:6379 is available after 0 seconds
broker      | 1:M 15 Apr 2023 00:37:12.931 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
worker      | wait-for-it.sh: waiting for webapp:8000 without a timeout
broker      | 1:M 15 Apr 2023 00:37:12.931 * Ready to accept connections
webapp      | Postgres is up - executing command
webapp      | wait-for-it.sh: waiting for broker:6379 without a timeout
webapp      | wait-for-it.sh: broker:6379 is available after 0 seconds
webapp      | 
webapp      |  _       __     __    ____  ____  __  ___
webapp      | | |     / /__  / /_  / __ \/ __ \/  |/  /
webapp      | | | /| / / _ \/ __ \/ / / / / / / /|_/ / 
webapp      | | |/ |/ /  __/ /_/ / /_/ / /_/ / /  / /  
webapp      | |__/|__/\___/_.___/\____/_____/_/  /_/   
webapp      | 
webapp      | 
webapp      | Checking python version... 3.x, good!
webapp      | Checking GDAL version... GDAL 3.2.2, released 2021/03/05, excellent!
webapp      | Running migrations
node-odm_1  | info: Authentication using NoTokenRequired
node-odm_1  | info: Listening on 0.0.0.0:6367 UDP for progress updates
node-odm_1  | info: No tasks dump found
node-odm_1  | info: Checking for orphaned directories to be removed...
node-odm_1  | info: Server has started on port 3000
webapp      | Generated secret key
webapp      | Operations to perform:
webapp      |   Apply all migrations: admin, app, auth, contenttypes, guardian, nodeodm, sessions
webapp      | Running migrations:
webapp      |   No migrations to apply.
webapp      | Checking for celery...   OK
webapp      | Scheduler is not running.
webapp      | Generating nginx configurations from templates...
webapp      | - nginx/nginx-ssl.conf
webapp      | - nginx/nginx.conf
webapp      | celery beat v4.4.0 (cliffs) is starting.
worker      | wait-for-it.sh: webapp:8000 is available after 7 seconds
worker      | Checking for celery...   OK
worker      | Starting worker using broker at redis://broker
webapp      | [2023-04-15 00:37:20 +0000] [112] [INFO] Starting gunicorn 19.7.1
webapp      | [2023-04-15 00:37:20 +0000] [112] [INFO] Listening at: unix:/tmp/gunicorn.sock (112)
webapp      | [2023-04-15 00:37:20 +0000] [112] [INFO] Using worker: sync
webapp      | /usr/lib/python3.9/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
webapp      |   return io.open(fd, *args, **kwargs)
webapp      | [2023-04-15 00:37:20 +0000] [147] [INFO] Booting worker with pid: 147
webapp      | [2023-04-15 00:37:20 +0000] [148] [INFO] Booting worker with pid: 148
webapp      | [2023-04-15 00:37:20 +0000] [149] [INFO] Booting worker with pid: 149
webapp      | [2023-04-15 00:37:21 +0000] [150] [INFO] Booting worker with pid: 150
webapp      | __    -    ... __   -        _
webapp      | LocalTime -> 2023-04-15 00:37:21
webapp      | Configuration ->
webapp      |     . broker -> redis://broker:6379//
webapp      |     . loader -> celery.loaders.app.AppLoader
webapp      |     . scheduler -> celery.beat.PersistentScheduler
webapp      |     . db -> celerybeat-schedule
webapp      |     . logfile -> [stderr]@%WARNING
webapp      |     . maxinterval -> 5.00 minutes (300s)
webapp      | [2023-04-15 00:37:21 +0000] [151] [INFO] Booting worker with pid: 151
webapp      | [2023-04-15 00:37:21 +0000] [152] [INFO] Booting worker with pid: 152
webapp      | [2023-04-15 00:37:21 +0000] [153] [INFO] Booting worker with pid: 153
webapp      | [2023-04-15 00:37:21 +0000] [154] [INFO] Booting worker with pid: 154
webapp      | [2023-04-15 00:37:21 +0000] [155] [INFO] Booting worker with pid: 155
webapp      | [2023-04-15 00:37:21 +0000] [156] [INFO] Booting worker with pid: 156
webapp      | [2023-04-15 00:37:21 +0000] [157] [INFO] Booting worker with pid: 157
webapp      | [2023-04-15 00:37:21 +0000] [158] [INFO] Booting worker with pid: 158
webapp      | [2023-04-15 00:37:21 +0000] [159] [INFO] Booting worker with pid: 159
webapp      | [2023-04-15 00:37:21 +0000] [160] [INFO] Booting worker with pid: 160
webapp      | [2023-04-15 00:37:21 +0000] [161] [INFO] Booting worker with pid: 161
webapp      | [2023-04-15 00:37:21 +0000] [162] [INFO] Booting worker with pid: 162
webapp      | [2023-04-15 00:37:21 +0000] [163] [INFO] Booting worker with pid: 163
worker      | /usr/local/lib/python3.9/dist-packages/celery/platforms.py:800: RuntimeWarning: You're running the worker with superuser privileges: this is
worker      | absolutely not recommended!
worker      | 
worker      | Please specify a different user using the --uid option.
worker      | 
worker      | User information: uid=0 euid=0 gid=0 egid=0
worker      | 
worker      |   warnings.warn(RuntimeWarning(ROOT_DISCOURAGED.format(
webapp      | 
webapp      | Trying to establish communication...
webapp      | INFO Booting WebODM 2.0.1
webapp      | INFO Registered [coreplugins.fullscreen.plugin]
webapp      | INFO Registered [coreplugins.diagnostic.plugin]
webapp      | INFO Registered [coreplugins.lightning.plugin]
webapp      | INFO Registered [coreplugins.posm-gcpi.plugin]
webapp      | INFO Registered [coreplugins.measure.plugin]
webapp      | INFO Registered [coreplugins.contours.plugin]
webapp      | 
webapp      | Congratulations! └@(・◡・)@┐
webapp      | ==========================
webapp      | 
webapp      | If there are no errors, WebODM should be up and running!
webapp      | 
webapp      | Open a web browser and navigate to http://localhost:8000
webapp      | 
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted
webapp      | WARNING Session data corrupted

Additional information

$ neofetch
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNMMMMMMMMM   ichsan@ichsan 
MMMMMMMMMMNs..yMMMMMMMMMMMMMm: +NMMMMMMM   ------------- 
MMMMMMMMMN+    :mMMMMMMMMMNo` -dMMMMMMMM   OS: MX x86_64 
MMMMMMMMMMMs.   `oNMMMMMMh- `sNMMMMMMMMM   Host: Aspire E5-476G V1.05 
MMMMMMMMMMMMN/    -hMMMN+  :dMMMMMMMMMMM   Kernel: 5.10.0-5mx-amd64 
MMMMMMMMMMMMMMh-    +ms. .sMMMMMMMMMMMMM   Uptime: 11 hours, 9 mins 
MMMMMMMMMMMMMMMN+`   `  +NMMMMMMMMMMMMMM   Shell: bash 5.0.3 
MMMMMMMMMMMMMMNMMd:    .dMMMMMMMMMMMMMMM   Resolution: 1366x768 
MMMMMMMMMMMMm/-hMd-     `sNMMMMMMMMMMMMM   DE: Plasma 5.14.5 
MMMMMMMMMMNo`   -` :h/    -dMMMMMMMMMMMM   WM: KWin 
MMMMMMMMMd:       /NMMh-   `+NMMMMMMMMMM   Theme: Breeze [Plasma], Breeze [GTK2/3] 
MMMMMMMNo`         :mMMN+`   `-hMMMMMMMM   Icons: Papirus [Plasma], breeze [GTK2/3] 
MMMMMMh.            `oNMMd:    `/mMMMMMM   Terminal: konsole 
MMMMm/                -hMd-      `sNMMMM   CPU: Intel i5-8250U (8) @ 3.400GHz 
MMNs`                   -          :dMMM   GPU: NVIDIA GeForce MX150 
Mm:                                 `oMM   GPU: Intel UHD Graphics 620 
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM   Memory: 11568MiB / 23930MiB

$ docker images
REPOSITORY                        TAG         IMAGE ID       CREATED         SIZE
redis                             latest      33e3db53b328   2 days ago      117MB
opendronemap/nodeodm              gpu         9f35cf88538d   8 days ago      6.07GB
opendronemap/webodm_webapp        latest      96a8bb742eee   11 days ago     1.64GB
opendronemap/webodm_db            latest      e40c0f274bba   19 months ago   695MB


$ docker ps
CONTAINER ID   IMAGE                               COMMAND                  CREATED          STATUS          PORTS                                                         NAMES
28ff90da39ae   opendronemap/webodm_webapp          "/bin/bash -c 'chmod…"   16 minutes ago   Up 16 minutes   0.0.0.0:8000->8000/tcp, :::8000->8000/tcp                     webapp
9d83804a33a2   opendronemap/webodm_webapp          "/bin/bash -c '/webo…"   16 minutes ago   Up 16 minutes                                                                 worker
bfaecc7a272a   opendronemap/nodeodm:gpu            "/usr/bin/node /var/…"   16 minutes ago   Up 16 minutes   0.0.0.0:49166->3000/tcp, :::49166->3000/tcp                   webodm-master_node-odm_1
027e3cdaf0ae   redis                               "docker-entrypoint.s…"   16 minutes ago   Up 16 minutes   6379/tcp                                                      broker
9fcfa257f65d   opendronemap/webodm_db              "docker-entrypoint.s…"   16 minutes ago   Up 16 minutes   0.0.0.0:49165->5432/tcp, :::49165->5432/tcp                   db

@pierotofy
Copy link
Member

Make sure the processing node is reachable by WebODM (as the error message says); not a bug in NodeODM. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants