# Motion software on raspberry pi

**URL:** <https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773>\
**Category:** Support\
**Created:** [12 March 2019 04:55 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773 "2019-03-12T04:55:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter47774](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Peter47774](https://forum.core-electronics.com.au/u/Peter47774)\
**Post date:** [12 March 2019 04:55 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/1 "2019-03-12T04:55:07Z")

</div>

The ‘motion’ software used to work on my rasp pi. However it seems to have stopped working and I have tried all possible solutions - daemon/no daemon; editing motion, motion.conf, setting permissions; etc and cannot seem to get it working at all!  
The rasp pi camera does work however and I used to be able to stream video!

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [13 March 2019 00:55 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/2 "2019-03-13T00:55:23Z")

</div>

Hi Peter,

Sorry but you will need to be a bit more specific about the software you are trying to use, and the setup that you have with your Pi.

Have you run update/upgrade lately?

Sometimes the only solution is a fresh Raspbian image.

---

<div class="post-metadata">

**Author:** ![Peter47774](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Peter47774](https://forum.core-electronics.com.au/u/Peter47774)\
**Post date:** [13 March 2019 09:42 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/3 "2019-03-13T09:42:38Z")

</div>

what I meant was the ‘motion’ system that runs on raspberry pi: [https://pimylifeup.com/raspberry-pi-webcam-server/](https://pimylifeup.com/raspberry-pi-webcam-server/)

I posted this elsewhere [https://www.raspberrypi.org/forums/viewtopic.php?t=218465](https://www.raspberrypi.org/forums/viewtopic.php?t=218465)  
noting that others have had similar issues. I cannot get it to run as a daemon or otherwise. However I do know that it used to work and now does not for some obscure reason - possibly to do with permissions. I will try one more fresh install after deleting the old version.

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [14 March 2019 02:50 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/4 "2019-03-14T02:50:38Z")

</div>

Hi Peter,

It looks like you’ve got a solution via the Raspberry Pi forum!

---

<div class="post-metadata">

**Author:** ![Peter47774](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Peter47774](https://forum.core-electronics.com.au/u/Peter47774)\
**Post date:** [14 March 2019 11:38 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/5 "2019-03-14T11:38:50Z")

</div>

Thanks Stephen – however I did not see a solution on the rasp pi forum?

I would like to see if anyone can get this motion s/w to work!

Regards

Peter

Mail]([https://go.microsoft.com/fwlink/?LinkId=550986](https://go.microsoft.com/fwlink/?LinkId=550986)) for Windows 10

---

<div class="post-metadata">

**Author:** ![Stephen](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/stephen/32/1599_2.png) [@Stephen](https://forum.core-electronics.com.au/u/Stephen)\
**Post date:** [14 March 2019 22:34 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/6 "2019-03-14T22:34:39Z")

</div>

Hi Peter,

I realize now that those posts are from a couple weeks back. Those people who helped you out on the Pi forum are much more knowledgeable about this than I am. I’ve not used ‘motion’ before. If a fresh image, and update and upgrade of the image and motion specifically didn’t fix the problem (as suggested in the other thread) then I’m not sure what the solution might be.

Good luck with your search for answers though!

---

<div class="post-metadata">

**Author:** ![Peter47774](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Peter47774](https://forum.core-electronics.com.au/u/Peter47774)\
**Post date:** [20 March 2019 00:11 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/7 "2019-03-20T00:11:01Z")

</div>

I may have fixed this issue. I went to the github source site for motion and followed the instructions to completely rebuild motion. The s/w works - at least in non daemon mode - I can stream video from the rasp pi camera!. The distribution version must have had some issue with my system.

[https://motion-project.github.io/motion\_support.html](https://motion-project.github.io/motion_support.html)

---

<div class="post-metadata">

**Author:** ![Mike53438](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Mike53438](https://forum.core-electronics.com.au/u/Mike53438)\
**Post date:** [20 March 2019 06:41 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/8 "2019-03-20T06:41:53Z")

</div>

Hi Peter. Which OS (and release) were you trying to use on the pi? (i.e. what were you installing the motion software onto?)

Just my experience with using motion (which I think is great btw) - I originally tried setting it up on my RPi a good 18 months ago and it worked for me just fine. For various reasons I ended up needing to reinstall it and found I ran into trouble and couldn’t get it to go. Looking back over my notes from the original install I found I’d used a Jessie Lite image from 2017 for the OS and then successfully installed motion on top. The second time I’d used a more recent Lite release.

When I wiped the SDcard and reinstalled using Jessie Lite I got motion working again. I’m not experienced enough to dig into what the differences were and why it didn’t work out unfortunately, but it seemed like some kind of compatibility problem between the motion binary I’d got and the version of Raspbian I was trying to use (which rebuilding from source on your Pi seems like it could well have fixed for you!)

hope your video stream’s still streaming nicely anyway

---

<div class="post-metadata">

**Author:** ![Peter47774](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Peter47774](https://forum.core-electronics.com.au/u/Peter47774)\
**Post date:** [20 March 2019 10:37 UTC](https://forum.core-electronics.com.au/t/motion-software-on-raspberry-pi/4773/9 "2019-03-20T10:37:47Z")

</div>

this is my software:

pi@raspberrypi:~ $ cat /etc/os-release  
PRETTY\_NAME=“Raspbian GNU/Linux 9 (stretch)”  
NAME=“Raspbian GNU/Linux”  
VERSION\_ID=“9”  
VERSION=“9 (stretch)”  
ID=raspbian  
ID\_LIKE=debian  
HOME\_URL=“[http://www.raspbian.org/](http://www.raspbian.org/)”  
SUPPORT\_URL=“[http://www.raspbian.org/RaspbianForums](http://www.raspbian.org/RaspbianForums)”  
BUG\_REPORT\_URL=“[http://www.raspbian.org/RaspbianBugs](http://www.raspbian.org/RaspbianBugs)”

I did use the instructions here: [https://pimylifeup.com/raspberry-pi-webcam-server/](https://pimylifeup.com/raspberry-pi-webcam-server/)

to install motion and this seems to specify stretch but I could not get it to work.

However rebuilding from scratch using the github repository does see to work - at least for non-daemon mode at: [https://motion-project.github.io/motion\_support.html](https://motion-project.github.io/motion_support.html)
