Is there an Install Package for Linux Mint 20 (Cinnamon)?

I’ve been battling this for a while now. In fact I tried a couple of years ago and gave up. I’m trying again. I’m not a code jockey so I don’t know the command line language like the developers do.

I can cut and paste with the best of 'em but was really hoping a basic install package had been developed like there is for Mac and Windows.

If it isn’t the Docker it’s the 8000 port stopping me. I really want to use WebODM on my home built powerful Linux machine but being unable to install it is stopping me.

I could even manage with some clear instructions that make sense. The instructions on the Github site are probably clear to someone who understands and uses the command line language but most of us do not.

I have looked elsewhere for tutorials but none are for regular users. Normally I can find something on Youtube but so far no joy there either.

Any help would be appreciated.

2 Likes

How do I install the Server0 ?

For this I use a minimal Ubuntu 20.04 Server with SSH already installed. I guess it should work for mint20 too.

apt-get install update
apt-get install git
sudo apt install docker.io

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

check docker with the command → docker-compose –version

git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1

cd WebODM

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py

./webodm.sh restart --ssl --hostname yourdomain.org --port 443

Open https://serveradress:443

-After this I setup the admin and then I am done with the basic installation.

2 Likes

Welcome!

No, native packages yet. We do have the install script for Ubuntu 20.04LTS derivatives, but we don’t recommend people use that as the Dockerized version is much simpler.

Prerequisites:
git installed
docker installed
docker-compose installed

Debian-Derived:

sudo apt update && sudo apt install git docker.io docker-compose

If you just installed Docker:

sudo usermod -AG docker $USER
sudo reboot now

Here’s all I need to do to set it up on my Alpine Linux platform:

  1. Copy current WebODM release from https://github.com/OpenDroneMap/WebODM
    • There are multiple ways to accomplish this, so pick path A or B
      A) git clone https://github.com/OpenDroneMap/WebODM
      B) download as zip
  2. Navigate into extracted WebODM directory
    A) cd WebODM (if using git clone)
    [email protected]:~$ cd WebODM/
    B) cd to where you extracted the zip from GitHub
  3. run ./webodm.sh update
  4. run ./webodm.sh start
  5. monitor the console until it is launched
  6. Profit

Sidebar:
I would not recommend chaging permissions of docker-compose nor curl’ing docker-compose. What is in your repo should be sufficient in a default environment.

1 Like

Thank you for the quick reply. I used the very first command and this is what I got.

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

Then I tried putting sudo in front of apt-get install update and got this.

E: Unable to locate package update

I’m starting to wonder if my OS is corrupted or something.

1 Like

You made a syntax error following Ghost’s instructions (sudo apt-get update && sudo apt-get install docker.io docker-compose git would be correct). Try following mine as they are a bit more simple and meant for default Ubuntu deployments.

Oh, you are totally right. I do not know why I documented it this way. Thanks for correcting.

1 Like

Is this normal?

Reading package lists… Done
W: GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository ‘http://dl.google.com/linux/earth/deb stable InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

can’t remember, but in which step does this happen? apt-get upgrade?
If yes write apt upgrade to manually upgrade

I always feel so dumb working in this environment (command line). Does this look right?

Reading package lists… Done
W: GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository ‘http://dl.google.com/linux/earth/deb stable InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[email protected]:~$ git clone xxxx/github.com/OpenDroneMap/WebODM
fatal: destination path ‘WebODM’ already exists and is not an empty directory.
[email protected]:~$ WebODM
bash: WebODM: command not found
[email protected]:~$ cd WebODM
[email protected]:~/WebODM$ ./webodm.sh start
Checking for docker… OK
Checking for docker-compose… OK
Starting WebODM…

Using the following environment:

Host: localhost
Port: 8000
Media directory: appmedia
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.yml up --scale node-odm=1
Creating network “webodm_default” with the default driver
ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
[email protected]:~/WebODM$

are you able to access http://serveradress:8000 ?

[email protected]:~/WebODM$ http://serveradress:8000
bash: http://serveradress:8000: No such file or directory
[email protected]:~/WebODM$

try to access the http adress with an webbrowser and try the ip instead an dns name
is this a virtual machine or a hardware machine?

This is a hardware machine and I am unable to access that address.

If you check the docker version.
I guess you get a proper answer. So I guess your networkinterface is maybe misconfigured, a firewall is activ or a depencie does not work properly.

I use a VPN. Would that block 8000?

Could you draw your setup? So we can get a better look at your environment and network topology? We may find the issue. In generell a vpn could (depends on the vpn configuration) route all ports outside trough the vpn. In generell I would not use vpn while setting up lan devices.

1 Like

Please remember in this command line network realm I’m just a big ole’ dummy even though I am a retired computer tech.

I don’t know what you mean by drawing my setup.
Turning off the VPN didn’t make a difference in accessing the http://serveradress:8000/ through a web browser (firefox).

That’s why I was really hoping someone had put together an installer (GUI) package for Linux (Mint).

I mean try to make a diagram of how you arranged your virtual machines, how is the network connected(subnet, gateway, ip adress) which devices are involved in the setup and where is what installed. Question: why do you use mint?

1 Like

Can you try connecting to:

http://127.0.0.1:8000/