Linux Version Install WebODM Natively, 16.04 LTS or 18.04 LTS


#1

the WebODM githube page says:
"
Run it natively

WebODM can run natively on Windows, MacOS and Linux.

Ubuntu 16.04 LTS users can refer to this script to install WebODM natively on a new machine."

Most packages in requirement seams to be 18.04 LTS any one succeed in native installing on a 16.04 LTS?
Or should I try installing natively on 18.04?

the requirment scripts points to ubuntu 18.04 LTS, ie, amqp 2.2.2 it is a ubuntu 18.04 LTS package not 16.04 LTS.

So native install ubuntu is 18.04LTS or 16.04 LTS

If it is a 16.04 how to point to a newer package without screwing the system? Never did it.


#2

The reference system we use for our docker images is 16.04 LTS. I don’t think Python really cares about what version of Ubuntu is running (those are pip requirements, not apt). I think you’ll have an easier time getting up and running with 16.04, but I’m fairly certain that you can get it to work on 18.04 without too many troubles (instructions are the same).


#3

Thanks, I just installed everything manually.

But now I’m geting this:

FileNotFoundError at /login/

[Errno 2] No such file or directory: ‘/home/odm/WebODM/app/media/settings/logo512_aWw2zNw.png’

Request Method: GET
Request URL: http://localhost:8000/login/
Django Version: 2.0.3
Exception Type: FileNotFoundError
Exception Value:

[Errno 2] No such file or directory: ‘/home/odm/WebODM/app/media/settings/logo512_aWw2zNw.png’

Exception Location: /home/odm/env/lib/python3.5/site-packages/django/core/files/storage.py in _open, line 218
Python Executable: /home/odm/env/bin/python
Python Version: 3.5.2
Python Path:

[’/home/odm/WebODM’,
‘/home/odm/env/lib/python35.zip’,
‘/home/odm/env/lib/python3.5’,
‘/home/odm/env/lib/python3.5/plat-x86_64-linux-gnu’,
‘/home/odm/env/lib/python3.5/lib-dynload’,
‘/usr/lib/python3.5’,
‘/usr/lib/python3.5/plat-x86_64-linux-gnu’,
‘/home/odm/env/lib/python3.5/site-packages’,
‘/home/odm/WebODM’]

Server time: Wed, 23 May 2018 21:21:13 -0300
Error during template rendering

In template /home/odm/WebODM/app/templates/app/base.html, error at line 10
2
1
2
3
4 {% load i18n static settings compress plugins %}
5
6
7
8
9
10
11
12
13
14
15
16
17 {% block extra-headers %}{% endblock %}
18
19
20

Any suggestion?

Thanks in advance.


#4

Hi, got 18.04 installing problems: pip requirement.txt errors in all Django requirements
I try to install python3-django-xxx packs but anything change
Could be differences with 16.04 vs 18.04??

-when start wodm, it appear lines so:
Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 7, in
from compose.cli.main import main
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 17, in
import docker
File “/usr/local/lib/python2.7/dist-packages/docker/init.py”, line 6, in
from .client import Client, AutoVersionClient, from_env # flake8: noqa
File “/usr/local/lib/python2.7/dist-packages/docker/client.py”, line 11, in
from . import api
File “/usr/local/lib/python2.7/dist-packages/docker/api/init.py”, line 2, in
from .build import BuildApiMixin
File “/usr/local/lib/python2.7/dist-packages/docker/api/build.py”, line 9, in
from … import utils
File “/usr/local/lib/python2.7/dist-packages/docker/utils/init.py”, line 2, in
from .utils import (
File “/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py”, line 19, in
from … import tls
File “/usr/local/lib/python2.7/dist-packages/docker/tls.py”, line 5, in
from .ssladapter import ssladapter
File “/usr/local/lib/python2.7/dist-packages/docker/ssladapter/init.py”, line 1, in
from .ssladapter import SSLAdapter # flake8: noqa
File “/usr/local/lib/python2.7/dist-packages/docker/ssladapter/ssladapter.py”, line 21, in
from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 7, in
from compose.cli.main import main
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 17, in
import docker
File “/usr/local/lib/python2.7/dist-packages/docker/init.py”, line 6, in
from .client import Client, AutoVersionClient, from_env # flake8: noqa
File “/usr/local/lib/python2.7/dist-packages/docker/client.py”, line 11, in
from . import api
File “/usr/local/lib/python2.7/dist-packages/docker/api/init.py”, line 2, in
from .build import BuildApiMixin
File “/usr/local/lib/python2.7/dist-packages/docker/api/build.py”, line 9, in
from … import utils
File “/usr/local/lib/python2.7/dist-packages/docker/utils/init.py”, line 2, in
from .utils import (
File “/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py”, line 19, in
from … import tls
File “/usr/local/lib/python2.7/dist-packages/docker/tls.py”, line 5, in
from .ssladapter import ssladapter
File “/usr/local/lib/python2.7/dist-packages/docker/ssladapter/init.py”, line 1, in
from .ssladapter import SSLAdapter # flake8: noqa
File “/usr/local/lib/python2.7/dist-packages/docker/ssladapter/ssladapter.py”, line 21, in
from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname

Which is trouble in your opinion? I dont want to downgrade to 16.04 because nvidia drivers did not work as in 18.04, much faster now, full resolution.
thanks


#5

Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 11, in
sys.exit(main())
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 71, in main
command()
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 124, in perform_command
project = project_from_options(’.’, options)
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 41, in project_from_options
compatibility=options.get(’–compatibility’),
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 121, in get_project
host=host, environment=environment
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 92, in get_client
environment=environment, tls_version=get_tls_version(environment)
File “/usr/local/lib/python2.7/dist-packages/compose/cli/docker_client.py”, line 120, in docker_client
client = APIClient(**kwargs)
File “/usr/local/lib/python2.7/dist-packages/docker/api/client.py”, line 110, in init
config_dict=self._general_configs
TypeError: load_config() got an unexpected keyword argument ‘config_dict’
Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 11, in
sys.exit(main())
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 71, in main
command()
File “/usr/local/lib/python2.7/dist-packages/compose/cli/main.py”, line 124, in perform_command
project = project_from_options(’.’, options)
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 41, in project_from_options
compatibility=options.get(’–compatibility’),
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 121, in get_project
host=host, environment=environment
File “/usr/local/lib/python2.7/dist-packages/compose/cli/command.py”, line 92, in get_client
environment=environment, tls_version=get_tls_version(environment)
File “/usr/local/lib/python2.7/dist-packages/compose/cli/docker_client.py”, line 120, in docker_client
client = APIClient(**kwargs)
File “/usr/local/lib/python2.7/dist-packages/docker/api/client.py”, line 110, in init
config_dict=self._general_configs
TypeError: load_config() got an unexpected keyword argument ‘config_dict’


#6

@Fabio_Raimondo make sure that you are using the latest version of docker, as well as the latest version of docker-compose. https://docs.docker.com/compose/install/


#7

Very special thanks, i installed a different docker-compose ver (lastest) and it now working.
But i did not understand yet which is difference from docker-engine and docker.io, i made some confusions…

WODM installed on Kubuntu 18.04: now working!

Thanks Piero

Fabio