motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.85k stars 897 forks source link

Motioneye fails to start on Pi Zero W #2544

Closed mmaxbar closed 3 years ago

mmaxbar commented 3 years ago

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: 20200606

Board Model

I am using the following board/model: Pi Zero W

Camera

I am using the following type of camera:

My camera model is: Pi Camera 2 NoIr

Network Connection

My motionEyeOS unit is connected to the network via: Wifi

After writing a fresh image of 20200606 to SD card and putting wpasupplicant.conf into the root, i have problems starting motioneye os. I connected HDMI for debugging: motioneye os starts ok until starting motioneye, this fails after some time and the device reboots. After going back to the (fresh) image 20190911 it works flawless.

starbasessd commented 3 years ago

The file is wpa_supplicant.conf It needs to follow a format like:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US

network={ ssid="SSID" psk="passphrase" key_mgmt=WPA-PSK }

with 'country=XX' your country with 'ssid="SSID" ' with quotes and is case sensitive with 'psk="password" ' with quotes and is case sensitive

BTW, make sure that on the back of the Pi, it says "Raspberry Pi Zero W V1.1" ( or Zero WH if it has the GPIO header installed ) Several people have reported recently that they've received original Pi Zeros (without the W or WH) from somewhat dodgy dealers.

On Sun, Oct 11, 2020 at 4:38 AM mmaxbar notifications@github.com wrote:

Preliminary Docs

I confirm that I have read the CONTRIBUTING https://github.com/ccrisan/motioneyeos/blob/master/.github/CONTRIBUTING.md guide before opening this issue.

I confirm that I have read the FAQ https://github.com/ccrisan/motioneyeos/wiki/FAQ before opening this issue. motionEyeOS Version

I am running motionEyeOS version: 20200606 Board Model

I am using the following board/model: Pi Zero W Camera

I am using the following type of camera:

My camera model is: Pi Camera 2 NoIr Network Connection

My motionEyeOS unit is connected to the network via: Wifi

After writing a fresh image of 20200606 to SD card and putting wpasupplicant.conf into the root, i have problems starting motioneye os. I connected HDMI for debugging: motioneye os starts ok until starting motioneye, this fails after some time and the device reboots. After going back to the (fresh) image 20190911 it works flawless.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKHKWGWEMZBPCS3ETDSKFVGZANCNFSM4SLT7QOA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

mmaxbar commented 3 years ago

The file is wpa_supplicant.conf It needs to follow a format like: ----- ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="SSID" psk="passphrase" key_mgmt=WPA-PSK } ----- with 'country=XX' your country with 'ssid="SSID" ' with quotes and is case sensitive with 'psk="password" ' with quotes and is case sensitive BTW, make sure that on the back of the Pi, it says "Raspberry Pi Zero W V1.1" ( or Zero WH if it has the GPIO header installed ) Several people have reported recently that they've received original Pi Zeros (without the W or WH) from somewhat dodgy dealers. On Sun, Oct 11, 2020 at 4:38 AM mmaxbar @.***> wrote: Preliminary Docs I confirm that I have read the CONTRIBUTING https://github.com/ccrisan/motioneyeos/blob/master/.github/CONTRIBUTING.md guide before opening this issue. I confirm that I have read the FAQ https://github.com/ccrisan/motioneyeos/wiki/FAQ before opening this issue. motionEyeOS Version I am running motionEyeOS version: 20200606 Board Model I am using the following board/model: Pi Zero W Camera I am using the following type of camera: My camera model is: Pi Camera 2 NoIr Network Connection My motionEyeOS unit is connected to the network via: Wifi After writing a fresh image of 20200606 to SD card and putting wpasupplicant.conf into the root, i have problems starting motioneye os. I connected HDMI for debugging: motioneye os starts ok until starting motioneye, this fails after some time and the device reboots. After going back to the (fresh) image 20190911 it works flawless. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2544>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKHKWGWEMZBPCS3ETDSKFVGZANCNFSM4SLT7QOA . -- Thanks Kevin Shumaker Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel N38° 19' 56.52" W85° 45' 8.56" Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

The file is named correctly, wpa_supplicant.conf, it was just a typo in my original post describing the issue, network is up. I can ping the device while it is trying to start motioneye which fails after some time, so I am quite sure that networking is not part of the issue.

starbasessd commented 3 years ago

What's the last things it says on the monitor before it reboots? Which image did you use? Full filename?

On Sunday, October 11, 2020, mmaxbar notifications@github.com wrote:

The file is wpa_supplicant.conf It needs to follow a format like: ----- ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US network={ ssid="SSID" psk="passphrase" key_mgmt=WPA-PSK } ----- with 'country=XX' your country with 'ssid="SSID" ' with quotes and is case sensitive with 'psk="password" ' with quotes and is case sensitive BTW, make sure that on the back of the Pi, it says "Raspberry Pi Zero W V1.1" ( or Zero WH if it has the GPIO header installed ) Several people have reported recently that they've received original Pi Zeros (without the W or WH) from somewhat dodgy dealers. … <#m6786810912687243822> On Sun, Oct 11, 2020 at 4:38 AM mmaxbar @.***> wrote: Preliminary Docs I confirm that I have read the CONTRIBUTING https://github.com/ccrisan/ motioneyeos/blob/master/.github/CONTRIBUTING.md guide before opening this issue. I confirm that I have read the FAQ https://github.com/ccrisan/ motioneyeos/wiki/FAQ before opening this issue. motionEyeOS Version I am running motionEyeOS version: 20200606 Board Model I am using the following board/model: Pi Zero W Camera I am using the following type of camera: My camera model is: Pi Camera 2 NoIr Network Connection My motionEyeOS unit is connected to the network via: Wifi After writing a fresh image of 20200606 to SD card and putting wpasupplicant.conf into the root, i have problems starting motioneye os. I connected HDMI for debugging: motioneye os starts ok until starting motioneye, this fails after some time and the device reboots. After going back to the (fresh) image 20190911 it works flawless. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2544 https://github.com/ccrisan/motioneyeos/issues/2544>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ AEZTUHKHKWGWEMZBPCS3ETDSKFVGZANCNFSM4SLT7QOA . -- Thanks Kevin Shumaker Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel N38° 19' 56.52" W85° 45' 8.56" Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

The file is named correctly, wpa_supplicant.conf, it was just a typo in my original post describing the issue, network is up. I can ping the device while it is trying to start motioneye which fails after some time, so I am quite sure that networking is not part of the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2544#issuecomment-706732616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHNLNDLZRHUV3QVDZHLSKHOCDANCNFSM4SLT7QOA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

mmaxbar commented 3 years ago

I used the one from the wiki. Now the strange thing is that I cannot reproduce the error right now. I am literally doing exactly the same thing I did yesterday, apart from using a different SD card and downloaded the image again. I'm closing it for now, will reopen if I'm able to reproduce it...