Motioneye: Are instructions to install in ubuntu correct?

Created on 18 Sep 2019  Â·  7Comments  Â·  Source: ccrisan/motioneye

$ pip install motioneye
Successfully installed MarkupSafe-1.1.1 backports-abc-0.5 futures-3.3.0 jinja2-2.10.1 motioneye-0.41 pillow-6.1.0 pycurl-7.43.0.3 singledispatch-3.4.0.3 six-1.12.0 tornado-5.1.1

$ cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
cp: cannot stat '/usr/local/share/motioneye/extra/motioneye.conf.sample': No such file or directory

_When checking there is no '/usr/local/share/motioneye/' foler_

Most helpful comment

For my 18.04 vm, i found it in .local/share if it helps anyone.

It might be useful to update the documentation to run it in sudo -H so that pip installs it globally.

All 7 comments

If you installed motioneye in a virtual environment, motioneye.conf.sample is located in /path/to/ENV/motioneye/extra/

Thank you for responding. I installed ubuntu server on a non-virtual enviroment still the same problem. I just can't find where motioneye got installed in ubuntu 18, sorry, this might look like a silly question. This is making me feel like the dumbest Linux user ever. Not being able to find a simple file? I don't understand what is going on! I am the kind of user that searches a lot before posting, however search engines are not helping either

@noriegafam your are not alone:

desigual@thor ~ $ sudo cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
cp: cannot stat '/usr/local/share/motioneye/extra/motioneye.conf.sample': No such file or directory
desigual@thor ~ $ sudo find / -name motioneye.conf* -type f
find: ‘/proc/27404’: No such file or directory
desigual@thor ~ $ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

I realized that I had previously installed motioneye in version 39, but i deleted long time ago the directory. Long history short:

sudo pip uninstall motioneye    
sudo pip install motioneye

had worked on my side.

Thank you looking into this. Will try it.

Sent from Yahoo Mail on Android

On Thu, Oct 3, 2019 at 4:42 AM, jobenvilnotifications@github.com wrote:
@noriegafam your are not alone:
desigual@thor ~ $ sudo cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
cp: cannot stat '/usr/local/share/motioneye/extra/motioneye.conf.sample': No such file or directory
desigual@thor ~ $ sudo find / -name motioneye.conf* -type f
find: ‘/proc/27404’: No such file or directory
desigual@thor ~ $ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

I realized that I had previously installed motioneye in version 39, but i deleted long time ago the directory. Long history short:
sudo pip uninstall motioneye
sudo pip install motioneye

had worked on my side.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

For my 18.04 vm, i found it in .local/share if it helps anyone.

It might be useful to update the documentation to run it in sudo -H so that pip installs it globally.

yeah really
sudo -H pip install -U motioneye
seems to solve a bunch of otherwise cryptic pip errors, non-globally located file issues, and service fails

The new instructions are. Many upstream sources are dropping bits and pieces is python 2.7, the latest biggest piece which is still required. Please follow the instructions for Ubuntu 20.04 or Newer for any debian-like Linux including Raspberry Pi

Was this page helpful?
0 / 5 - 0 ratings

Related issues

regolo76 picture regolo76  Â·  5Comments

sambul13 picture sambul13  Â·  6Comments

vtrack picture vtrack  Â·  6Comments

TyTnMonz picture TyTnMonz  Â·  4Comments

rvdeijk picture rvdeijk  Â·  4Comments