Pages:
Author

Topic: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support (Read 11553 times)

newbie
Activity: 5
Merit: 0
I too would gladly donate 1 LTC once it's working for me Sad

Everything seems to work - config editing, pool management, rebooting the server..

Everything EXCEPT any card info. I cannot start/stop mining, and I see no cards listed for the rig I added.

I know cgminer is set up to answer API requests on the local box just fine since the default miner.php file works just fine.

Does the pool management screen utilize cgminer API calls? If so then I'm at a complete loss.

Anything else you think I should check?



PS - Also, the config wizard screws up the values it stores based on what you enter. I had to go in and edit the conf manually to fix the errors (as well as edit the conf-dist for good measure)
In it's current state I feel it would be better NOT to have the wizard at all.
member
Activity: 87
Merit: 10
What I can offer is that I start accepting pre-donations. If there are not enought donations after 3 weeks i will refund all the donations from this time.

What you think?

You can do that and I will donate 1 LTC again, but for others you will need to write out your ideas, other peoples feature requests and have a road map for going forward so people know what they get if they contribute/donate. Make images and screenshots (dont do the coding work) and show it off and say this is coming etc...Also not everyone has money and times are tough with the market being soo bad atm, you will need to think of a minimum donation, it might not be what your product is worth...but not many people have 1 or 2 LTC to give away.

Even if it means you need to make your repo private and going forward no one can install without a donation...anything but don't stop developing, even if it's in your free time (if you have).
full member
Activity: 168
Merit: 100
Hello guys

I have a trouble with phpminer
After I installed it I'm getting 'could not find driver' at the top:


Please advise
Thanks in advance

P.S.
BAMT 1.3
Phpminer 1.3.1
php5-mysql is installed
member
Activity: 111
Merit: 10
Good f'ing luck with that.  Roll Eyes

You are barking up the *wrong* community if you think the tightwads in this joint will part with even a single satoshi if they can get it or something similar for free. That's not true of everyone here, but it definitely was my experience.

Seems like there is some sort of allergy or moral opposition to actually sending donations for mining/monitoring software around here.

Try building in an option for donation mining, that might have better luck.

Advertising a software product as free, and requesting donations as payment rarely results in you feeling truly compensated for your work; particularly in this industry. Getting mad because people aren't donating what you feel your software is worth kinda proves that you chose the wrong model.

Alternatively, convert what you have into a paid or ad supported product. Leave the existing product exactly as it is, offer an updated one via a private repo to people who 'donate'.  Smiley

You simple missunderstand my situation, for me phpminer is already finished, and was already finished for about a month - 1 1/2 months or so.
I thought then ok, if i can make a bit money with my work why not. So i enhanced phpminer and hope that someone think this is worth some money. So the additional thinks i made for phpminer were just for others not for me. Some features are nice to have, some others doesn't matter for me.
There is already a donation system included, so people can really decide a specific amount of time where they will mine for me. They have a slider from 5 to 240 minutes.

I like the private paid for repo idea. I donated 1 LTC already, would probably donate again to get access to a private repo, but I can't be the only person donating. Sucks that the author has left but I do understand spending time and effort and not getting a reward is not gratifying.

I could do this, but for this, people need to donate first. I know that this will be risky for people who are the first donater, because they can not know if someone else is also donating which will tell me to do the next steps.
But I noticed, If i now say "ok i will do it" The private repo is active and i start again to develope features. But for who? Skills would be one of the user which benefits from that but others, too? That's why I would have to wait until some users donated.

What I can offer is that I start accepting pre-donations. If there are not enought donations after 3 weeks i will refund all the donations from this time.

What you think?
member
Activity: 87
Merit: 10
I like the private paid for repo idea. I donated 1 LTC already, would probably donate again to get access to a private repo, but I can't be the only person donating. Sucks that the author has left but I do understand spending time and effort and not getting a reward is not gratifying.
full member
Activity: 178
Merit: 100
Sorry, new feature development is now stopped until some people think about how much work time I spent on it.

Good f'ing luck with that.  Roll Eyes

You are barking up the *wrong* community if you think the tightwads in this joint will part with even a single satoshi if they can get it or something similar for free. That's not true of everyone here, but it definitely was my experience.

Seems like there is some sort of allergy or moral opposition to actually sending donations for mining/monitoring software around here.

Try building in an option for donation mining, that might have better luck.

Advertising a software product as free, and requesting donations as payment rarely results in you feeling truly compensated for your work; particularly in this industry. Getting mad because people aren't donating what you feel your software is worth kinda proves that you chose the wrong model.

Alternatively, convert what you have into a paid or ad supported product. Leave the existing product exactly as it is, offer an updated one via a private repo to people who 'donate'.  Smiley

member
Activity: 111
Merit: 10
Just to let you know how much time spent on it already. I started something around 01.01.2014
I spent every day 2 - 3 hours from mo-do, fr around 4 -5 hours, Sa + So arround 8 - 10 hours. Count up this for one week are 57 hours.
57 hours * ~12 weeks 684 hours.
I think it does not need a fully perfect working program to start donations and also I don't think that Windows are the only people who would donate. And as you see, the work time is very high. I think a gift to tell me that I should develop further is ok.
member
Activity: 114
Merit: 10
firstly, to get donation product will be working! not only for computer guru. I tryend windows and linus and cant' install. Need how-to or something like this
member
Activity: 111
Merit: 10
So now i know, how much my work is worth. After 5 days with your post, there are some donations but only doge. and People are donating 84 doge in average which are     ~ 0.06 $. That's huge, or?
Sorry, new feature development is now stopped until some people think about how much work time I spent on it.
member
Activity: 87
Merit: 10
To everyone else who users PHPMiner and hasn't donated any BTC, LTC or DOGE, please do so! The developer says it's not worth his time to code anymore because he's got very few donations  Angry
member
Activity: 96
Merit: 10
100% cpu bug is fixed on latest git version.
Got it work also with windows: add this to php.ini: extension=php_sockets.dll
sr. member
Activity: 264
Merit: 252
alt coins trader/miner.
hardly waiting for mass pool change !

ur soft is da best

but we need options for alot of pcs controll
member
Activity: 96
Merit: 10
100% CPU Bug happens almost instantly everytime when i have phpminer page open on browser. Any ideas how to debug what it's doing?
member
Activity: 111
Merit: 10
This conf worked with earlier versions. It's most likely something with this new rpc talking to cgminer code.
It won't crash if you have no cgminer running.

Will test it with a cgminer running next week.

With the 100% cpu usage. How ~often it happens and after  what ~time?
member
Activity: 96
Merit: 10
Quote
did you also copied the 1.3.1 rpc client to the debian-server system? I had the 100% issue too, but with my changes it run's now for days without any 100% actions.

Yes i did copy 1.3.1 rpc client to the debian-server system. It's 100% cpu usage on all rigs with 1.3.1

Code:
/* * ********* CONFIG ***************** */

// Service IP.
// This address is used to bind the service.
// If you provide 0.0.0.0 all interface are bound, this means that the api is connectable at any ip-address on this machine.
// Provide 127.0.0.1 to only allow localhost.
// If your rig is within your local network, provide the ip address which you eather configurated by your self or got from your router per DHCP.
$config['ip'] = '0.0.0.0';

// Service port, change it to your needs, please keep in mind, in Linux ports lower 1000 can only be created by user root.
$config['port'] = 11111;

// Miner, can be cgminer or sgminer
$config['miner'] = 'cgminer';

// The miner api ip
$config['miner_api_ip'] = '127.0.0.1';

// The port of the miner api
$config['miner_api_port'] = 4028;

// Miner binary, this can be left empty if the binary is the same as the miner. For example miner = cgminer, miner_binary = cgminer or on windows cgminer.exe
$config['miner_binary'] = '';

// RPC Secret key.
$config['rpc_key'] = 'xxxx';

// The path + file where the cgminer.conf is.
// Please make sure that the user which run's this script has the permission to edit this file.
$config['cgminer_config_path'] = 'C://Program Files (x86)//CGWatcher-1.3.2//cgminer-kalroth-api-patched//cgminer.conf';

// The path where the cgminer executable is.
// Please make sure that the user which run's this script has the permission to start cgminer.
$config['cgminer_path'] = 'C://Program Files (x86)//CGWatcher-1.3.2//cgminer-kalroth-api-patched//';

// Path to AMD SDK if available (Normally this is only needed within Linux)
$config['amd_sdk'] = '';

/* * ********* CONFIG END ************* */

This conf worked with earlier versions. It's most likely something with this new rpc talking to cgminer code.
It won't crash if you have no cgminer running.
member
Activity: 111
Merit: 10
- Fixed CPU-Usage problem on RPC-Client

this problem still exists with 1.3.1.
 
PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM     TIME+ COMMAND
11075 sickki    20   0  254m  12m 7556 R 104.2  0.1 116:27.71 php
sickki@debian-server:~$ ps aux | grep 11075
sickki   11075 97.1  0.0 260936 13144 ?        Rs   15:41 117:13 php -f /var/www/phpminer/phpminer_rpcclient/index.php

1.3.1 won't work anymore on windows. When i try add it to phpminer daemon will die.

C:\Program Files (x86)\CGWatcher-1.3.2\phpminer\phpminer_rpcclient>php index.php


08.03.2014 19:12:26: Starting RPC Server at 0.0.0.0 on port 11111
08.03.2014 19:13:15: Incoming data request: test_connection

and then it's die.


did you also copied the 1.3.1 rpc client to the debian-server system? I had the 100% issue too, but with my changes it run's now for days without any 100% actions.

1.3.1 won't work anymore on windows. When i try add it to phpminer daemon will die.

C:\Program Files (x86)\CGWatcher-1.3.2\phpminer\phpminer_rpcclient>php index.php


08.03.2014 19:12:26: Starting RPC Server at 0.0.0.0 on port 11111
08.03.2014 19:13:15: Incoming data request: test_connection

and then it's die.


Please check your config.php on windows rpc client, i just copied now all files to a windows vm and started it, this worked well, to get the test_connection call i tried to add the rig. This worked also however the system told me that cgminer not running and i got an error message dialog with that information, but the rpc client still running under windows 7.
member
Activity: 96
Merit: 10
- Fixed CPU-Usage problem on RPC-Client

this problem still exists with 1.3.1.
 
PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM     TIME+ COMMAND
11075 sickki    20   0  254m  12m 7556 R 104.2  0.1 116:27.71 php
sickki@debian-server:~$ ps aux | grep 11075
sickki   11075 97.1  0.0 260936 13144 ?        Rs   15:41 117:13 php -f /var/www/phpminer/phpminer_rpcclient/index.php

1.3.1 won't work anymore on windows. When i try add it to phpminer daemon will die.

C:\Program Files (x86)\CGWatcher-1.3.2\phpminer\phpminer_rpcclient>php index.php


08.03.2014 19:12:26: Starting RPC Server at 0.0.0.0 on port 11111
08.03.2014 19:13:15: Incoming data request: test_connection

and then it's die.
newbie
Activity: 1
Merit: 0
Quote

Nothing is lost.
Can you check that php5 mysql is installed?
Type in "apt-get install php5-mysql" when it is not, just install it and tell me if this helped.

For some reason I can't post with my other forum account - it says "less than 360 seconds since your last post from this IP" even though it's been over 12 hours.  I had to make a new account.

PHP5-mysql was not installed.  After installing I can open the main page and there's no driver error; however, my miners are gone and it's prompting me to add one like it does when you first connect to a fresh installation.  I tried adding one of my miners and when I check connection it says it's unable to connect to the client rpc, even though I copied index.php over to the client restarted the service, and the service is running on the client.
member
Activity: 111
Merit: 10
First let me say this is the best monitoring and alert solution I have yet to come across, and I will gladly donate if I can get it working again - which brings me to my question  Wink  I just installed phpminer for the first time yesterday (version 1.2.1)  I had it all configured and working well until today, when I saw a new version was out.  I downloaded the 1.3.1 zip and ran the linux installer script like I did for the initial installation of 1.2.1.  During the install it prompted for mysql user and password, which I guessed as phpminer/phpminer.  When this finished I tried to open the web page and was greeted with a notice that I had just installed or upgraded phpminer, and I should install mysql and edit config.php with my database connection details.  This puzzled me since I already installed mysql when I installed version 1.2.1 yesterday.  Rather than reinstall mysql I edited the config.php file in the config folder with what I thought were the correct database connection details.  After doing that I can open the main page, but all of my miners are gone, and there's an error "can't connect to driver" at the top left of each page.

So my question is have I completely broken my installation?  What's the correct procedure for upgrading?  Thanks and keep up the great work - this is a great app!

Nothing is lost.
Can you check that php5 mysql is installed?
Type in "apt-get install php5-mysql" when it is not, just install it and tell me if this helped.
newbie
Activity: 24
Merit: 0
can anyone confirm whether this works with cgminer-kalroth?

Confirmed for ver. 1.2.0 I have tried 1.2.1 bud i have some issues during install. Still didn't check current version - 1.3.1 (i hope it works)
Pages:
Jump to: