Motioneye: Ubuntu 20.04 LTS

Created on 19 Jul 2020  路  5Comments  路  Source: ccrisan/motioneye

Hello,
i have installed motioneye on ubuntu 20.04 LTS and i can麓t get the port 8765 to administration motioneye.
I used this guide:
https://github.com/ccrisan/motioneye/wiki/Install-On-Ubuntu

Stale No Activity 60 Days

Most helpful comment

Had this problem on Ubuntu 20.04 on a Raspberry Pi - apparently motioneye hasn't been updated for Python 3, and Ubuntu no longer includes Python 2 by default - and doesn't include pip for Python 2 at all. To fix:

sudo pip3 uninstall motioneye
sudo apt install python2 python2-dev
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install motioneye
sudo systemctl start motioneye

If this still doesn't work look in the logs immediatly after starting:
sudo systemctl start motioneye
sudo tail -n 20 /var/log/syslog

All 5 comments

What error message are you getting when you try to web to it? Can you send the output of 'netstat -atn' on the system it is running on? Want to make sure that TCP/8765 is actually "LISTEN"ing before trying to troubleshoot further.

I have same problem in ubuntu 20.04 LTS. The TCP/8765 does not show up in 'netstat -atn'.

Had this problem on Ubuntu 20.04 on a Raspberry Pi - apparently motioneye hasn't been updated for Python 3, and Ubuntu no longer includes Python 2 by default - and doesn't include pip for Python 2 at all. To fix:

sudo pip3 uninstall motioneye
sudo apt install python2 python2-dev
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install motioneye
sudo systemctl start motioneye

If this still doesn't work look in the logs immediatly after starting:
sudo systemctl start motioneye
sudo tail -n 20 /var/log/syslog

Thx it works

I have installed MotionEye 0.4.21 successfully on Ubuntu 20.04 in my arm64 Raspberry Pi 4 but the installation was a little different. At first I got error when adding PPA Repository for ffmpeg so I decided to install from Ubuntu Repo:

sudo apt-get install motion ffmpeg v4l-utils

Then added a universe repo:

sudo add-apt-repository universe
sudo apt update

Installed Python2

sudo apt install python2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo apt-get install python-dev-is-python2 curl libssl-dev libcurl4-openssl-dev libjpeg-dev

And make sure pip is using Python2

pip --version

Before start installing MotionEye, I installed the requirements with apt:

sudo apt install python-pillow
sudo apt install python-pycurl

Then, finally install MotionEye

sudo pip install motioneye

And do the rest according to the official instruction.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

walterdevos picture walterdevos  路  5Comments

FlyingPersian picture FlyingPersian  路  5Comments

anon-tigress picture anon-tigress  路  3Comments

shahzadgodil picture shahzadgodil  路  3Comments

glyderman8 picture glyderman8  路  5Comments