-
Notifications
You must be signed in to change notification settings - Fork 58
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
AIDE not fully launching from docker #30
Comments
Hello Mari, Thanks a lot for opening the issue. I will try and go through your comments step-by-step below.
From your log the server (Gunicorn) is launching as it should; you can see this from the last five messages in the Docker command line output:
Perhaps the confusion comes from the description of what Docker does—it only launches the Web server, but does not open a Web browser window. This needs to be done manually; exactly as you did: open Firefox and navigate to the provided URL and port (
Yes, this is due to the way Docker works: it basically creates a separate environment for AIDE to run in. Therefore, commands issued on the host machine will not reach it. This includes
This in turn is more worrying. You should be able to log in with the user credentials in the |
got it, thanks! I was looking at the wrong settings file. I got it up and running and have a couple quick questions. Can I change the image folder path? And is the AI model not enabled yet. It says coming soon... |
Alright, good to know! About the AI model: models themselves are active and can be configured and trained manually through the project configuration page ("AI model" ➔ "settings", resp. "AI model" ➔ "Workflow Designer"). Auto-training functionality is currently disabled, though. This will be re-enabled shortly with the official version 2 that is to come. If you want to take a peek at it, you can do so under the respective branch. |
Hi Ben - I met you a few weeks ago when you demoed AIDE for our AI for Conservation Slack group. I have been trying to use AIDE on an Azure VM (one of the Ubuntu Data Science Virtual Machines). I got it installed through docker following your instructions, but it doesnʻt seem to be launching from docker, in that the UI (in gunicorn?) is just not opening up. Once itʻs open, I also canʻt seem to kill it in the terminal without shutting down the VM. For complicated reasons, I am running the Ubuntu GUI through VNC Viewer and Bitvise on a different Windows VM, so maybe thatʻs the trouble? But other programs in there (Firefox) seem to be showing up correctly, so Iʻm a little stumped. Also, neither ^C in this terminal nor /.AIDE.sh stop from a different terminal seem to kill it.
I did not set those environment variables prior to launching in docker, so maybe thatʻs the problem? If I manually type in http://0.0.0.0:8080 to firefox, I do get the AIDE Label Interface Sign in screen...but also, I donʻt know how to sign in (I tried what I entered into the settings.ini file but that didnʻt work)?
Here is the terminal output:
Booby@FindTheBirdsUbuntu:~/aerial_wildlife_detection$ sudo docker/docker_run_gpu.sh
Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable redis-server
Starting redis-server: redis-server.
Setup of database IS STARTING
...done.
GRANT
CREATE EXTENSION
NOTICE: extension "uuid-ossp" already exists, skipping
GRANT
Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable postgresql
...done.
==============================
Setup of database IS COMPLETED
==============================
==========================
RABBITMQ SETUP IS STARTING
...done.
Creating user "aide"
Creating vhost "aide_vhost"
Setting permissions for user "aide" in vhost "aide_vhost"
Synchronizing state of rabbitmq-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable rabbitmq-server
===========================
RABBITMQ SETUP IS COMPLETED
===========================
sysctl: setting key "net.ipv4.tcp_keepalive_time": Read-only file system
sysctl: setting key "net.ipv4.tcp_keepalive_intvl": Read-only file system
sysctl: setting key "net.ipv4.tcp_keepalive_probes": Read-only file system
[2021-02-05 22:25:30 +0000] [1703] [INFO] Starting gunicorn 20.0.4
[2021-02-05 22:25:30 +0000] [1703] [INFO] Listening at: http://0.0.0.0:8080 (1703)
[2021-02-05 22:25:30 +0000] [1703] [INFO] Using worker: sync
[2021-02-05 22:25:30 +0000] [1709] [INFO] Booting worker with pid: 1709
[2021-02-05 22:25:30 +0000] [1710] [INFO] Booting worker with pid: 1710
^C
The text was updated successfully, but these errors were encountered: