I've moved my Ubuntu based test rig to Minera today. I've mostly got it working, with a few issues.
Like others on this thread, I couldn't get the cron jobs to work until I installed the PHP cli:
sudo apt-get install php5-cli
I was working from the read me on git hub. I think that it should be updated so that other newcomers can avoid this problem. Looks like this just got added to the read me. Thanks!
A more important issue is that when I reboot, cpuminer goes into a weird state where it doesn't hash anything. When I grab the stats with a python script I wrote, I see the following weirdness:
{
"start_time": 1399756136,
"err": 0,
"devices": {
"ttyACM1": {
"serial": "6D89577A4857",
"chips": []
},
"ttyACM0": {
"serial": "6D8A21A34857",
"chips": []
},
"ttyACM2": {
"serial": "6D8E40854857",
"chips": []
}
}
}
Note this is with minerd being started from rc.local, as per the Minera installer script. When I stop and restart the miner from with the Minera GUI, it starts working.
I'd really prefer to start minerd as a daemontools service with full logging, but when I tried that, Minera thinks that the miner has not started. Apparently it uses some mechanism other than just trying to talk to the API. I didn't try hacking Minera to support alternative launch methods, but I might take this on if I have no better solution for rebooting and reliably restarting minerd.
Since the default installation uses screen to run minerd, I tried to switch to the "minera" user and attach to the screen, but I get an error:
Cannot open your terminal '/dev/pts/2' - please check.
I'm not a big fan of screen anyway, but if I cannot reliably attach to the miner GUI then it's not providing any value at all. Again, I might turn to daemontools and run minerd in text mode (no text GUI) if I can figure out how to get Minera to play nicely with it.
I'd love to move my main rig to cpuminer and Minera, but I need to work through these issues on my test rig first.