Update: adding -y in octopi.txt seems to have an effect so far.
Update:
Nope, it was only temporary, it persists...
I have some theories. If i come up with something definite or a solution i'll post back.
Sorry for the mess...
EDIT:
Well, i am at 0.18 now, the rc2 lasted two days...
The camera issue was still there. However, a change in /boot/octopi.txt seems to have solved it.
Changing:
camera_usb_options="-r HD -f 30"
to:
camera_usb_options="-r HD -f 25"
seems to behave consistently consistent for the last two days....
My guess is it has to be related to my Microsoft Lifecam linked with mjpg_streamer's implementation.
I did a lot of searching to reach to this conclusion.
I'll have to do thorough crash-testing, bu tif you people have issues, try it with your setup and let me know what happens, i am interested in the findings.
Cheers to everybody.
EDIT:
Go figure...
I tried the camera on my pc, it behaved exactly the same, although it wasn't doing it some months ago...
So it definitely is not even pi related.
I tried with my girlfriends camera - a cheap one - no issues.
I did two things.
First, the usb plug looked rusty to my eyes, so i put in wd40 for about 10-15 minutes and carefully dried it.
Then i very carefully tightened the plug with a plier, the connection felt sort of loose.
It worked fine on the pc for about 10 minutes, then i unplugged it and plugged it to the pi.
It started without the need for an ssh connection, no commandline tinkering at all.
For about an hour now i have no problems....
Weird, i never thought of that...
EDIT:
Go figure...
I tried the camera on my pc, it behaved exactly the same, although it wasn't doing it some months ago...
So it definitely is not even pi related.
I tried with my girlfriends camera - a cheap one - no issues.
I did two things.
First, the usb plug looked rusty to my eyes, so i put it in wd40 for about 10-15 minutes and carefully dried it.
Then i very carefully tightened the plug with pliers, the connection felt sort of loose.
It worked fine on the pc for about 10 minutes, then i unplugged it and plugged it to the pi.
It started without the need for an ssh connection, no commandline tinkering at all.
For about an hour now i have no problems....
Weird...
UPDATE:
Next day, still no issues, i am printing something that is close to1.5 days with one pause so far, not finished yet.
But i still cannot accept that it was only a hardware issue...
UPDATE#2: About 4 hours later, still no hiccups.
UPDATE#3: The Problem came back.
In my frustration i disassembled the camera and saw that a soldering was dodgy (white wire).
Fixed it...
Attaching an image after the repair.
I apologize for all the mess, it was a hardware issue after all...