Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: prdatur on January 05, 2014, 11:52:52 PM



Title: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on January 05, 2014, 11:52:52 PM
Hello everyone,

I just wanted to let you all know, I finished my PHPMiner.

PHPMiner is a webinterface which uses the API from CGMiner/SGMiner.
It can:

 - Handle multiple rig's
 - Watch the device status and notify when something is wrong.
 - Overclock GPU's
 - Handle pool groups and easy pool switching.
 - Restart CGMiner/SGMiner if not running
 - Reboot system if defunc processes are present.


PHPMiner is for Linux and Windows.
FPGA/ASIC are currently not really supported, all the overclocking and info things are based on GPU's. Because I don't have an FPGA/ASIC I also can not tell if it will run with those.

If you are interested.

Hompage
https://phpminer.com

Github
https://github.com/prdatur/phpminer

I also enhanced the CGMiner API with some more api commands. I recommend the use of this fork (Only API was enhanced, nothing else changed)
https://github.com/prdatur/cgminer
However it will also work with stock cgminer and of course with sgminer.

Latest version: 1.3.1

Changes:
  - All API-Commands will now be executed from the rpc client, so only rpc connection details are required by adding rigs.
  - Removed push.co notification service because the push.co service does not work and no response from their support.
  - Added access management.
  - Fix some problems while editing a rig.
  - Fixed CPU-Usage problem on RPC-Client
  - Add cron lock-pid.
  - Changed kernel miner settings to text input instead of select
  - Fix cron for rebooting rig's
  - Add rig based pools
  - Add "shortname" for rigs which will be used as the username appendings for rig based pools.
  - Add bug reporting
  - Re-Added fan rpm output.
  - Add manual rig reboot command for each rig.
  - Fix error message when miner software has no pools configurated.
  - Add possibility to change pool group.
  - Add version number to the page title.
  - While in collapsed mode, a change affects all devices within this rig.
  - Change donate system where user can choose how much he wants to donate.
  - Fix typos.
  - Fix fatal error for infoException not found.

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner 1.0.0 for CGMiner v3.7.2
Post by: prdatur on January 06, 2014, 04:53:53 PM
New version available: 1.0.1

Changes:
  - Better and fixed pool group / pool switch.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 09, 2014, 06:59:18 PM
New version available: 1.0.2

Changes:
  - Multi rig support
  - Latest version check


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 09, 2014, 07:30:53 PM
Hi!
Will this work with stock 3.7.2 cgminer?
Have you tried this on bamt?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 09, 2014, 08:27:59 PM
Yes it will work with stock 3.7.2 and yes i use smos (fork of bamt) on my Mining rig.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 09, 2014, 08:30:09 PM
Yes it will work with stock 3.7.2 and yes i use smos (fork of bamt) on my Mining rig.
Great, is there anything different on the latest smos version (which i currently use too) that should cause mgpumon to interfere?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 09, 2014, 08:45:07 PM
Normally not, the new smos version only fix some bugs and directly detect r9 cards.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: icaros on January 09, 2014, 10:56:06 PM
Feature request: remove "AMD Radeon Series" text from listing so it won't make it so big with firefox not running on fullscreen: http://puu.sh/6fmO3/26c5ce0017.png


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 09, 2014, 11:35:58 PM
New version: 1.0.3

Changes:
  - Fix check if cgminer is running
  - Seperated config for phpminer rpc client

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 09, 2014, 11:43:32 PM
Feature request: remove "AMD Radeon Series" text from listing so it won't make it so big with firefox not running on fullscreen: http://puu.sh/6fmO3/26c5ce0017.png

I recognized this issue too but with the whole multi rig feature i forgot to change this.
I will re-size some columns and will check if it looks good with a little responsive layout.
Maybe i will do an agenda and only use icons. this would also make some columns smaller.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 10, 2014, 01:50:00 AM
New version: 1.0.4

Changes:
  - Fix cron errors
  - Added new monitoring settings for hardware errors
  - Enhanced main table style to fit a bit better

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: noedelx on January 10, 2014, 06:15:53 PM
gonna give this a shot  i try'd the linux os thing but that went totaly wrong ( alot of errors / hw errors)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 11, 2014, 11:10:35 AM
New version: 1.0.5

Changes:
  - Fix errors while retrieving device status in main windows

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: ballot on January 11, 2014, 11:17:36 AM
what is the best way to notification mobiles  ??? any free sms service without captcha  ???
whatsapp viber tango tictoc any of them have api  ???


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 11, 2014, 12:44:25 PM
PHPMiner includes RapidPush notifications which is also made by me. It works flawless with Android devices. IPhone's are not supported.
But you could create a seperate email address and send the notifications to this email which you configurated at your ios phone.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 11, 2014, 04:15:13 PM
People who downloaded 1.0.5 till now, please re-download it.

or change:
$system_conf['version'] = array(1, 0, 4);

to:
$system_conf['version'] = array(1, 0, 5);

within includes/common.php at line 60.

Sorry forgot to change the version info :)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 12, 2014, 06:27:03 PM
New version available: 1.0.7

Changes:
  - Fix cronjob error when no rig's are configurated.
  - Fix adding pools on servers which don't response as expected thx @ madcoin
  - Fix HW config dialog to close correctly.
  - Fix adding/deleting rig urls thx @ icarus

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 13, 2014, 09:22:10 PM
New version available: 1.0.8

Changes:
  - Added restart option when Dead/Sick GPU's are detected without defunc processes.
  - Add Socket timeout setting.

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 15, 2014, 10:20:00 PM
New version available: 1.0.9

Changes:
  - Fixed reboot command for windows
  - Enhanced Dead/Sick GPU settings.

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: icaros on January 20, 2014, 08:17:31 AM
Rebooting with DEAD/Sick GPU's not working on linux. It's spamming with RapidPush that it should do it but no reboots happening. I have phpminer running with sudo user having access to reboot command


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 20, 2014, 10:02:31 PM
you say "reboot" command.
Is the user allowed to call "shutdown -r NOW"? can you test this within the command shell?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: icaros on January 21, 2014, 09:17:47 AM
/etc/sudoers:
# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) NOPASSWD: ALL

user has access to run all commands with root.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bayo on January 22, 2014, 06:03:57 PM
Hi i just test your php script and look very good but can you change the rig add script for allow cgminer api only for miner rig like knc avalon ant miner etc.So we can monitor this asic too.  Atm when trying add it say bad rpc info or something missing in this. ( Sorry my english ) And thanks for your time and script !!


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 22, 2014, 11:30:10 PM
@icarus, will check it on weekend,

@bayo, Currently cgminer is the only one which is supported as "miner", i will check the other's too but all miners have one required dependency, there must exist some sort of api to which i can talk and recieve the information from the miner application. When a software does not provide an api i can not do much. but will check them.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bayo on January 23, 2014, 05:28:49 PM
Hey idk if you understand what i mean. Atm this miner ( knc , avalon etc ) use cgminer. Also i can control it on cgremote with cgminer api. but with your panel cant add it because rpc part not run on miner side. It say and error ( normal ) . If can have possiblity bypass this it will be good for monitor more stuff ! :)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: akabane on January 23, 2014, 06:33:39 PM
Hey idk if you understand what i mean. Atm this miner ( knc , avalon etc ) use cgminer. Also i can control it on cgremote with cgminer api. but with your panel cant add it because rpc part not run on miner side. It say and error ( normal ) . If can have possiblity bypass this it will be good for monitor more stuff ! :)

+1 I also would like to known if there is a way to not use PHPMiner RPC and just the cgminer API (I do not need restart)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: supermine on January 25, 2014, 03:12:28 AM
Hi guys, wow I really love the screenshot. Has anybody got this to run on Windows? If not, can I run it on my Raspberry Pi and connect remotely to my cgminer on Windows? Regards


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: hdzw on January 25, 2014, 02:57:11 PM
Hi, I'm not good at PHP, but it seemed that there is a serious issue for your donate design:

        // If we mine over 24 hours. Switch to donate pools.
            if ($rig_config['mining_time'] >= 100) { #86400

The comment mentioned 24 hours, but the actual value is 100 seconds. Once I croned this script in my rig, I will have to donate 15 minutes per 100 seconds.

I am not a PHP engineer, I check the php manual for time() is to return the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). Below is the code you calculate the time for $rig_config['mining_time']:

        // The time from the last mining time.
                if (empty($rig_config['mining_last'])) {
                    $rig_config['mining_last'] = TIME_NOW;
                }

                // Inc the mining time.
                $rig_config['mining_time'] += (TIME_NOW - $rig_config['mining_last']);
                $rig_config['mining_last'] = TIME_NOW;


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: _Crash_ on January 25, 2014, 05:03:44 PM
Looking at the screenshots, it looks very squashed. It would be better if it was sorted in blocks like "GPU's" and "General".


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 25, 2014, 07:57:48 PM
Hi, I'm not good at PHP, but it seemed that there is a serious issue for your donate design:

        // If we mine over 24 hours. Switch to donate pools.
            if ($rig_config['mining_time'] >= 100) { #86400

You saw it correctly, this would switch every 100 seconds. :(

Oh man, thank you very much, shit, this was a debug value for me to test if it is working good. Tomorroww there will be an update which fix this also with the issue fix to reboot linux machine.

Sorry for that, just forgot to change it back to the 86400 seconds.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 25, 2014, 07:59:24 PM
Looking at the screenshots, it looks very squashed. It would be better if it was sorted in blocks like "GPU's" and "General".

Why GPU's and General ? What do you put into General section?

In the first time i had just a table with the gpu's but after i decided to extend the script to connect multiple rig's it was required to have for each rig a seperated table with the gpu's


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 25, 2014, 08:00:30 PM
Hi guys, wow I really love the screenshot. Has anybody got this to run on Windows? If not, can I run it on my Raspberry Pi and connect remotely to my cgminer on Windows? Regards

Yes this will work, I think your rasp pi has a normal linux running with a webserver ?
Sorry don't have a rasp pi so that's why I am asking :)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 25, 2014, 08:44:18 PM
Hey idk if you understand what i mean. Atm this miner ( knc , avalon etc ) use cgminer. Also i can control it on cgremote with cgminer api. but with your panel cant add it because rpc part not run on miner side. It say and error ( normal ) . If can have possiblity bypass this it will be good for monitor more stuff ! :)

+1 I also would like to known if there is a way to not use PHPMiner RPC and just the cgminer API (I do not need restart)

Sorry it is not possible to run this without phpminer rpc. The problem is that my system supports multi rig setup.
PHPMiner rpc is required in order to restart cgminer, reboot the rig and reading / writing the config files to cgiminer.
This is needed to ensure that cgminer is started with the latest config's which you configurated.
Also when you switch a pool group, the new pool config needs to be written to the cgminer.conf file.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 25, 2014, 08:52:29 PM
New version available: 1.1.0

Changes:
  - Fixed donate time within cron
  - Fixed reboot rig on linux

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: supermine on January 28, 2014, 04:11:57 PM
Hi awesome tool you wrote there.

I am trying to let it run from a Rapsberry Pi and control all the Windows OS-based Miners in my LAN. However I ask myself if you do have a pre-compiled Win32 Binary of your dedicated cgminer version?

And in what format do I use the "cgminer_config_path" and "kernel-path" directives on Windows?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 28, 2014, 07:24:49 PM
Hi awesome tool you wrote there.

I am trying to let it run from a Rapsberry Pi and control all the Windows OS-based Miners in my LAN. However I ask myself if you do have a pre-compiled Win32 Binary of your dedicated cgminer version?

And in what format do I use the "cgminer_config_path" and "kernel-path" directives on Windows?

I didn't compiled the cgminer to win32, but it is not required. The enhancements are, that you can see the current mining pool a bit faster and that you can switch pool strategies. All other features are also available with just the normal cgminer version.

kernel-path: Can't really tell, also i saw that my kernel path is completely invalid (this directly does not exist at my machine)

cgminer_config_path: This is the path where your cgminer.conf file exist. If it does not exist, choose a directory of your choice.
The requirement is, that the webserver user (on which the webserver runs) has access to create, read and write files


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 29, 2014, 08:36:20 PM
New version: 1.1.1

Changes:
  - Fix error while setup when CGMiner does not return valid version.
  - Add feature to collapse mining groups, an average value will be displayed for all rig's, rig's which have problems are shown always
  - Add global hashrate sum
  - Add hashrate sum per rig

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 30, 2014, 06:42:54 AM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 30, 2014, 02:47:27 PM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: gsupp on January 30, 2014, 03:22:17 PM
Hi, I'm not good at PHP, but it seemed that there is a serious issue for your donate design:

        // If we mine over 24 hours. Switch to donate pools.
            if ($rig_config['mining_time'] >= 100) { #86400

You saw it correctly, this would switch every 100 seconds. :(

Oh man, thank you very much, shit, this was a debug value for me to test if it is working good. Tomorroww there will be an update which fix this also with the issue fix to reboot linux machine.

Sorry for that, just forgot to change it back to the 86400 seconds.


I really wish you had disclosed that this will switch your rigs to mine for you as a donation. I read all though the website and this thread and there's no mention of it.  ::)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: slavo on January 30, 2014, 03:39:12 PM
Hi, it seems awesome, but as a linux newbie, I have no ideas on how to make it works. I'm running xubuntu, maybe a strong linux user can help. Btw i'm also stuck with ybc miner install, I don't know how to make it works.

I'd really love some help/support to makes my rigs back to work on scrypt/scrypt-jane with a nice php interface :)^

If someone feels like he could help, u can join me on btc talk or on skype @exilepoker.

Thanks


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 30, 2014, 07:40:00 PM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 30, 2014, 10:41:23 PM
New version: 1.1.2

Changes:
  - Add linux install scripts for webinterface and rpc client (debian/ubuntu based distro only)
  - Improved readme to make clear that a auto donation exist but can be disabled at ANY time.
  - Enhanced "average" entry per rig.

Notice:
  - If you run on linux, please enter this command as root:
    insserv phpminer_rpcclient
    this is the new way for debian based distros to enable a script to run on boot with dependencies.

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 30, 2014, 10:48:50 PM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md

You can not run the cron with ./cron.php you have to type "php -f cron.php". You should have already a config file after added your first rig to phpminer.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 30, 2014, 10:49:29 PM
Hi, it seems awesome, but as a linux newbie, I have no ideas on how to make it works. I'm running xubuntu, maybe a strong linux user can help. Btw i'm also stuck with ybc miner install, I don't know how to make it works.

I'd really love some help/support to makes my rigs back to work on scrypt/scrypt-jane with a nice php interface :)^

If someone feels like he could help, u can join me on btc talk or on skype @exilepoker.

Thanks

Knew this issue, so i decided to create install scripts for linux (debian/ubuntu based systems)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 30, 2014, 10:50:14 PM
Hi, I'm not good at PHP, but it seemed that there is a serious issue for your donate design:

        // If we mine over 24 hours. Switch to donate pools.
            if ($rig_config['mining_time'] >= 100) { #86400

You saw it correctly, this would switch every 100 seconds. :(

Oh man, thank you very much, shit, this was a debug value for me to test if it is working good. Tomorroww there will be an update which fix this also with the issue fix to reboot linux machine.

Sorry for that, just forgot to change it back to the 86400 seconds.


I really wish you had disclosed that this will switch your rigs to mine for you as a donation. I read all though the website and this thread and there's no mention of it.  ::)

Yes, you are right.
I have added the explanation for auto donation to the readme.

However, it should be always a "must go" that after installing a system you check the "settings" page and there is directly the option to disable the donation.
That what I wanted.. people who don't want to donate can simple disable it without any hints or complicated ways and no hidden options.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 30, 2014, 11:04:37 PM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md

You can not run the cron with ./cron.php you have to type "php -f cron.php". You should have already a config file after added your first rig to phpminer.
Yes I did that too.. same thing.
By adding a rig to phpminer you say starting phpminer service on the same computer as the web files? There is no config created and the service is running.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 31, 2014, 07:16:55 AM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md

You can not run the cron with ./cron.php you have to type "php -f cron.php". You should have already a config file after added your first rig to phpminer.
Yes I did that too.. same thing.
By adding a rig to phpminer you say starting phpminer service on the same computer as the web files? There is no config created and the service is running.


No I mean when you open phpminer webinterface you are asked to provide rig details to add a rig, there you have to add your first rig (the machine on which the rpc client is running).


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 31, 2014, 07:20:11 AM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md

You can not run the cron with ./cron.php you have to type "php -f cron.php". You should have already a config file after added your first rig to phpminer.
Yes I did that too.. same thing.
By adding a rig to phpminer you say starting phpminer service on the same computer as the web files? There is no config created and the service is running.


No I mean when you open phpminer webinterface you are asked to provide rig details to add a rig, there you have to add your first rig (the machine on which the rpc client is running).
I never got to that part, i keep getting "The cronjob never ran! ...".
I will reinstall everything in a few hours.
Does this (https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24) make the cron exit before setting as run?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on January 31, 2014, 08:44:32 AM
Hi, I am getting "The cronjob never ran!" on a new installation, but it has run multiple times already...
What else could be wrong?

Can you go to the console an run the cronjob manually? what does it say?
I run it manually ./cron.php and it does nothing.. no output at all, not even logs.

I think it is related to this line:
https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24
Since i dont have any configuration file... As i told you by PM, there is no mention of it in the readme.md

You can not run the cron with ./cron.php you have to type "php -f cron.php". You should have already a config file after added your first rig to phpminer.
Yes I did that too.. same thing.
By adding a rig to phpminer you say starting phpminer service on the same computer as the web files? There is no config created and the service is running.


No I mean when you open phpminer webinterface you are asked to provide rig details to add a rig, there you have to add your first rig (the machine on which the rpc client is running).
I never got to that part, i keep getting "The cronjob never ran! ...".
I will reinstall everything in a few hours.
Does this (https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24) make the cron exit before setting as run?

Yes this can prevent to run the cron.
You could check if a config.json file exist within the config directory. Normally this will be created after adding the first rig.

If not then this is the error.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on January 31, 2014, 03:25:53 PM
I never got to that part, i keep getting "The cronjob never ran! ...".
I will reinstall everything in a few hours.
Does this (https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24) make the cron exit before setting as run?

Yes this can prevent to run the cron.
You could check if a config.json file exist within the config directory. Normally this will be created after adding the first rig.

If not then this is the error.

Ok but how can i add my first rig, if the cron wont run first, so the phpminer web interface wont start.. can i put a dummy config.json? Will you give me one small enough to pass that empty test?
Thanks


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: gsupp on January 31, 2014, 06:43:20 PM
I really wish you had disclosed that this will switch your rigs to mine for you as a donation. I read all though the website and this thread and there's no mention of it.  ::)

Yes, you are right.
I have added the explanation for auto donation to the readme.

However, it should be always a "must go" that after installing a system you check the "settings" page and there is directly the option to disable the donation.
That what I wanted.. people who don't want to donate can simple disable it without any hints or complicated ways and no hidden options.

Thank you, that goes a long way.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 01, 2014, 10:11:59 AM
I never got to that part, i keep getting "The cronjob never ran! ...".
I will reinstall everything in a few hours.
Does this (https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24) make the cron exit before setting as run?

Yes this can prevent to run the cron.
You could check if a config.json file exist within the config directory. Normally this will be created after adding the first rig.

If not then this is the error.

Ok but how can i add my first rig, if the cron wont run first, so the phpminer web interface wont start.. can i put a dummy config.json? Will you give me one small enough to pass that empty test?
Thanks

when you opening phpminer webinterface and there is no rig configurated you should directly get a dialog where you can add a rig.
If not I have to check what is going wrong however you can press the button on the left side "Add rig". If this will not open the dialog to add a rig, tell me and I have to check this too.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: icaros on February 02, 2014, 09:01:47 PM
Rebooting on Sick/DEAD GPU's is still broken. It will send rapidpush notification about rebooting but no RPC command is send to phpminer client.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: micabg on February 03, 2014, 03:23:56 PM
Is anywhere how to for dummies?
It would be nice to make a tutorial with pictures or video


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on February 03, 2014, 04:31:39 PM
I never got to that part, i keep getting "The cronjob never ran! ...".
I will reinstall everything in a few hours.
Does this (https://github.com/prdatur/phpminer/blob/master/cron.php#L22-L24) make the cron exit before setting as run?

Yes this can prevent to run the cron.
You could check if a config.json file exist within the config directory. Normally this will be created after adding the first rig.

If not then this is the error.

Ok but how can i add my first rig, if the cron wont run first, so the phpminer web interface wont start.. can i put a dummy config.json? Will you give me one small enough to pass that empty test?
Thanks

when you opening phpminer webinterface and there is no rig configurated you should directly get a dialog where you can add a rig.
If not I have to check what is going wrong however you can press the button on the left side "Add rig". If this will not open the dialog to add a rig, tell me and I have to check this too.
I ended up checking the code, there was a library used that was outdated and the browser wouldn't do anything when clicking buttons, and no dialog was shown.
jQuery, i tried 2.0.3 and it worked.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on February 03, 2014, 09:01:02 PM
Also, Feature request:
Could you add a button/option to add a pool even if it is not up at the moment?
Code:
Can not connect to the given stratum server.
Do you want to add it anyway?
"Yes - No"


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: Velocd on February 03, 2014, 09:38:50 PM
Will this work with sgminer?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 03, 2014, 10:02:43 PM
Will this work with sgminer?

Can't say it right now. Requirements to work is that it accepts all API commands which PHPMiner uses and returns the value the same as CGMiner, and that SGMiner returns a version number which is creater or equal than 3.7.2.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 03, 2014, 10:04:40 PM
Also, Feature request:
Could you add a button/option to add a pool even if it is not up at the moment?
Code:
Can not connect to the given stratum server.
Do you want to add it anyway?
"Yes - No"

Maybe I will add it in the future, but for now I am waiting a bit with feature request. For me the system works as I expected and I have not the time to work on it day by day for free beside normal work which is also software developing.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 03, 2014, 10:06:38 PM
Quote from: sheinsha
I ended up checking the code, there was a library used that was outdated and the browser wouldn't do anything when clicking buttons, and no dialog was shown.
jQuery, i tried 2.0.3 and it worked.

When it works for you then all fine, but the used jquery version is not outdated. There exist 2 versions of jquery the 1.x and 2.x 1.x has some features enabled which where removed at 2.x but both versions normally works.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 03, 2014, 10:08:19 PM
Is anywhere how to for dummies?
It would be nice to make a tutorial with pictures or video

No, I have not the time to create such tutorials. For Linux there exist 2 easy "one-click" installation scripts. For windows I have not the best knowledge in windows shell to create such an installation script.
If anybody want's to create such windows installation script, there are welcome.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on February 04, 2014, 12:10:23 AM
Quote from: sheinsha
I ended up checking the code, there was a library used that was outdated and the browser wouldn't do anything when clicking buttons, and no dialog was shown.
jQuery, i tried 2.0.3 and it worked.

When it works for you then all fine, but the used jquery version is not outdated. There exist 2 versions of jquery the 1.x and 2.x 1.x has some features enabled which where removed at 2.x but both versions normally works.
You are right, I did not want to say outdated, sorry about that.

Also, Feature request:
Could you add a button/option to add a pool even if it is not up at the moment?
Code:
Can not connect to the given stratum server.
Do you want to add it anyway?
"Yes - No"

Maybe I will add it in the future, but for now I am waiting a bit with feature request. For me the system works as I expected and I have not the time to work on it day by day for free beside normal work which is also software developing.


I understand, I can help with that, I've already sent a PR with a tiny fix, maybe i could try and do it myself, not sure if i can accomplish but will try anyway.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: ondratra on February 04, 2014, 08:59:46 PM
Great work man!!

I noticed there is need to rename rewrite virtualhost for new apache (i think its >=2.4) - filename has to be phpminer.conf and "Require all granted" added

$ cat /etc/apache2/sites-available/phpminer.conf
Code:
<VirtualHost *:80>
        ServerAdmin webmaster@phpminer.yourmachineName
        ServerName phpminer.yourmachineName
ServerAlias phpminer.yourmachineName

        DocumentRoot /srv/www/phpminer
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /srv/www/phpminer/>
Require all granted
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

+ run
Code:
$ sudo apt-get install php5-json



Very good job man ;) Hope you will continue with development. Two thinks would be great:
- user roles (at least basic two - administrator with full right; plus watcher with read only permissions)
- support for new scrypt miners - especially sgminer that gaves me approximately +15kHash/s on r280x card



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 04, 2014, 09:22:10 PM
Hi,

Can you add the pagination option to phpminer home page? We have large number of GPU miners running at my place.

Please PM your LTC address and your Skype - I'll send it to you.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 05, 2014, 12:17:58 PM
Hi,

Can you add the pagination option to phpminer home page? We have large number of GPU miners running at my place.

Please PM your LTC address and your Skype - I'll send it to you.

LTCs donation is sent to your Lh5sjSpN88N3PeG3vyQD9h6bz2jV4tdoke

Please contact me via Skype (PM sent).


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: gsupp on February 05, 2014, 04:59:37 PM
+1 I also would like to known if there is a way to not use PHPMiner RPC and just the cgminer API (I do not need restart)

Sorry it is not possible to run this without phpminer rpc. The problem is that my system supports multi rig setup.
PHPMiner rpc is required in order to restart cgminer, reboot the rig and reading / writing the config files to cgiminer.
This is needed to ensure that cgminer is started with the latest config's which you configurated.
Also when you switch a pool group, the new pool config needs to be written to the cgminer.conf file.

I don't understand why phpminer-rpc is required. I also would like to use PHPMiner without installing the phpminer-rpc service on every rig. Restarting cgminer and writing the cgminer config file can all be done through the cgminer API. I only see rebooting the rig and killing/restarting cgminer when the process is defunct that would require a separate service running on each rig. If we just didn't use those features, would PHPMiner still function with the rest of the features?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: extera on February 05, 2014, 09:06:14 PM
Hi,

I have installed phpminer and de RPC clients on 2 SMOS 1.3 rigs.

They are working correctly, but only untill reboot.
After reboot the RPC client does not auto start, and I can't find a way to start it manually.

Readouts are working with the client running, but I can't change pool.

Hope you can help me fix this!

I would also like to vote for sgminer support!


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 05, 2014, 10:59:56 PM
+1 I also would like to known if there is a way to not use PHPMiner RPC and just the cgminer API (I do not need restart)

Sorry it is not possible to run this without phpminer rpc. The problem is that my system supports multi rig setup.
PHPMiner rpc is required in order to restart cgminer, reboot the rig and reading / writing the config files to cgiminer.
This is needed to ensure that cgminer is started with the latest config's which you configurated.
Also when you switch a pool group, the new pool config needs to be written to the cgminer.conf file.

I don't understand why phpminer-rpc is required. I also would like to use PHPMiner without installing the phpminer-rpc service on every rig. Restarting cgminer and writing the cgminer config file can all be done through the cgminer API. I only see rebooting the rig and killing/restarting cgminer when the process is defunct that would require a separate service running on each rig. If we just didn't use those features, would PHPMiner still function with the rest of the features?

If you don't read all entries than your thinking would be correct.
But I wrote that phpminer rpc is required also to write config files.
CGminer has the possiblity to write a config file but after a test i noticed that this command does not really write the correct values.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 05, 2014, 11:02:58 PM
Hi,

I have installed phpminer and de RPC clients on 2 SMOS 1.3 rigs.

They are working correctly, but only untill reboot.
After reboot the RPC client does not auto start, and I can't find a way to start it manually.

Readouts are working with the client running, but I can't change pool.

Hope you can help me fix this!

I would also like to vote for sgminer support!

In the README there is written
First method:
Quote
service phpminer_rpcclient start

Second method:
Quote
Other

You should get the information for your distribution to run a script on system startup.

The command which needs to be executed is:

php -f {/PATH/TO/phpminer_rpcclient}/index.php

Replace {/PATH/TO/phpminer_rpcclient} to the path where you copied the phpminer_rpcclient.

Can not really understand why it isn't workling for your after rebooting.
I have tested the service for my own rig which also run's SMOS and there the service was started after reboot correctly.

On the weekend I will investigate some time to check it again.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 06, 2014, 01:53:34 AM
You may want to turn on the services that will restart phpminer_rpcclient automatically after reboot.

Code:
chkconfig phpminer_rpcclient on


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on February 06, 2014, 10:04:51 AM
I have added Support for Push.co (http://push.co) Notification, compatible with iOS devices that were not usable with RapidPush.
Check the PR https://github.com/prdatur/phpminer/pull/3

Also made a modification to the phpminer_rpcclient service function that finds cgminer PID, please check if that seems correct to you.
I was not paying attention and merged all commits to my master, so the PR has both Push.co support and fixes. I could split them if there is something you don't want to merge.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: extera on February 06, 2014, 08:08:42 PM
Oh yeah! its working now!

did the following:

Code:
apt-get install chkconfig 
chkconfig phpminer_rpcclient on

Just 2 more things before its perfect (for me at least).

- Restarting of cgminer does not work. Maybe because SMOS uses the 'mine start' command?
- I get no notification when I power off my rig (simulating a total crash).

By the way, the RPC client does not start in 'screen' as it did right after installing it.

@ sheinsha. I can't find a way to download your edited files?
I accidentally forked phpminer now, no way to remove it

feel like such a newb now :D


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 06, 2014, 08:21:33 PM
Oh yeah! its working now!

did the following:

Code:
apt-get install chkconfig 
chkconfig phpminer_rpcclient on

To restart the cgminer, you need to follow this command:
Code:
/etc/init.d/phpminer_rpcclient restart


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: extera on February 06, 2014, 08:25:38 PM
Damn!

It's still not working!
I taught it was, because switching pools works. But this seems to work without the RPC client running already.
Switching pool group however does not.

Back to start :(

Tried starting the RPC in every way I could think of, but no luck.
No output in the CLI after starting either.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 07, 2014, 07:51:15 AM
Damn!

It's still not working!
I taught it was, because switching pools works. But this seems to work without the RPC client running already.
Switching pool group however does not.

Back to start :(

Tried starting the RPC in every way I could think of, but no luck.
No output in the CLI after starting either.

Today is weekend, will investigate some time. When you have skype or icq please send me a PM with contact info so we can work together to find out the problem.


@sheinsha
Will check it today or tomorrow.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: sheinsha on February 07, 2014, 09:35:50 AM
@sheinsha
Will check it today or tomorrow.
Ok no problem let me know if you find anything

@ sheinsha. I can't find a way to download your edited files?
I accidentally forked phpminer now, no way to remove it
feel like such a newb now :D

Github forking is in no way wrong, so dont worry!
You could clone my repo instead of the main one, but i would wait for prdatur to test it first and you could just pull when merged.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: Mylo on February 07, 2014, 12:21:02 PM
Damn!

It's still not working!
I taught it was, because switching pools works. But this seems to work without the RPC client running already.
Switching pool group however does not.

Back to start :(

Tried starting the RPC in every way I could think of, but no luck.
No output in the CLI after starting either.

Today is weekend, will investigate some time. When you have skype or icq please send me a PM with contact info so we can work together to find out the problem.


@sheinsha
Will check it today or tomorrow.

MAN! If this will work out for me, I'll send some satoshies your way for sure!

The only thing I was wondering about a CGWatcher/CGRemote developer was:

I need to have an ability of a quick pool switch of all my miners' hashpower (~10 rigs) to a new pool, is there a feature that can do it?
Basically, all I need to enter is a new pool address and logins generated like *user*.[1 to 10] and passwords generated all the same.
Nevermind the pool, can be a solo mine to one network wallet too!

Is it possible man?

A feature that can add, edit and delete pools on the fly across all rigs.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 07, 2014, 05:23:51 PM

I need to have an ability of a quick pool switch of all my miners' hashpower (~10 rigs) to a new pool, is there a feature that can do it?
Basically, all I need to enter is a new pool address and logins generated like *user*.[1 to 10] and passwords generated all the same.
Nevermind the pool, can be a solo mine to one network wallet too!

Is it possible man?

A feature that can add, edit and delete pools on the fly across all rigs.

That feature is already available. You need to use pool groups to manage the pools.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: ballot on February 07, 2014, 10:16:18 PM
rpc has no windows version so i think it doesnt work under windows


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 08, 2014, 08:06:55 AM
rpc has no windows version so i think it doesnt work under windows

phpminer_rpcclient is a php based script so it run's also under windows.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: extera on February 08, 2014, 01:30:53 PM
I now have everything working with some help of a friend.
Why not share the fixes? (they might be quick and dirty, but hey, they work!)

phpminer_rpcclient not starting

add line to phpminer_rpcclient to remove phpminer_rpcclient.pid

add

Code:
        rm /tmp/phpminer_rpcclient.pid   

above the line
      
Code:
        screen -d -m -S phpminer_rpcclient su $USER -c "php -f $PROGRAM"
      
I couldn't add middlecoin pools, gave me the error 'difficulty'.
This might be the way to surpass the check of the pool is online to, so you can add offline pools.

      
      
edit:

Code:
/var/www/phpminer/controllers/pools.php

comment out the following:


Code:
/* 
if ($result !== true) {
            AjaxModul::return_code(AjaxModul::ERROR_INVALID_PARAMETER, array(
                'url' => $params->url,
                'user' => $params->user,
                    ), true, $result);
}*/

Prdatur: sorry for abusing your program :P but i can't develop :P so used the dirty way  8)





Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: ondratra on February 08, 2014, 10:08:26 PM
What about that SGMINER - did anyoune tried to make workaround so it's API is supported?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: bitcoinlord on February 09, 2014, 08:46:45 PM
SGMINER support is coming. He's busy on updating the awesome phpminer program.

So, please stay tuned..and try to donate some coins to him. :)



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 with multi rig support
Post by: prdatur on February 10, 2014, 10:28:44 PM
New version available: 1.2.0

Changes:
  - Add reset stats global and rig based
  - Add paging support when having many rig's
  - Add rig based pools (each rig have their own username, which is better for VARDIFF)
  - Fix Pool group collapse
  - Add support for SGMiner >= 4.1.0
  - Enhance RPC-Client install script
  - Add Cronjob to make sure RPC-Client is running
  - Fix notification url post thx @ sheinsha
  - Add sort mode settings
  - Add push.co notification for IOS thx @ sheinsha
  - Fix BAMT/SMOS compatibilty thx @ sheinsha
  - Add possiblity to add offline pools

After updates always update the phpminer rpcclient and restart the service.

People who just update and use Linux. Please install the cronjob for rpc client:

Linux

Please add a file named phpminer_rpcclient to /etc/cron.d/ with the following contents:

# /etc/cron.d/phpminer_rpcclient: crontab fragment for phpminer_rpcclient
#  This will run the cronjob script for phpminer to send notifications and other periodic tasks.
* * * * * root sh {/path/to/phpminer_rpcclient}/rpcclient_cron.sh
Please replace:

{/path/to/phpminer_rpcclient} with the path to your phpminer rpcclient directory.

Windows

For now this check script only exist for linux, if any one want to provide a script for Windows, let me know.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: extera on February 11, 2014, 09:28:29 AM
Nice features! Very nice to have support for sgminer now.
Mobile support would be awesome to. Changing pools from a mobile page would be a big plus.

Would it also be possible to support cgminer-keccak / cgminer-vert-scrypt
Maybe in such a way it will switch to the other cgminer when a checkbox is checked / algorithm is chosen in pool management.

I've send you 10k doge donation to support your great work.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 11, 2014, 04:42:23 PM
Nice features! Very nice to have support for sgminer now.
Mobile support would be awesome to. Changing pools from a mobile page would be a big plus.

Would it also be possible to support cgminer-keccak / cgminer-vert-scrypt
Maybe in such a way it will switch to the other cgminer when a checkbox is checked / algorithm is chosen in pool management.

I've send you 10k doge donation to support your great work.

Thanks, there is an idea for switching algo's but this is really hard work. So i have to think about it. Mobile page is not planned, you can just open your browser within the smartphone and do the stuffs there, but a mobile solution would really explode the time :)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: extera on February 11, 2014, 06:53:03 PM
well, mobile support would be a nice gimmick. But i guess you are right, i works well on most phones allready.

Multiple algo's would be nice. Now if i'm mining vertcoin, I can't use phpminer, and I miss it already :P

another thing: When the rigs hard freezes, I do not get a notification.
Is it possible to add a option to receive a notification when phpminer can not reach the rig at all?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 11, 2014, 08:07:54 PM
well, mobile support would be a nice gimmick. But i guess you are right, i works well on most phones allready.

Multiple algo's would be nice. Now if i'm mining vertcoin, I can't use phpminer, and I miss it already :P

another thing: When the rigs hard freezes, I do not get a notification.
Is it possible to add a option to receive a notification when phpminer can not reach the rig at all?


Think i will add 2 options "PHPMiner can't connect to Rig cgminer" and "PHPMiner can't connet to RPC-Client". Comes in next version maybe next weekend :)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: extera on February 11, 2014, 09:03:20 PM
Great!

i'm on vertcoin now. when you added support for it, I will enable donations  ;D


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: sheinsha on February 13, 2014, 12:44:30 PM
I am about to start coding the "Select your miner software / algorithm" but first i wanted to ask:

What will you prefer:

1) Having one copy of miner soft (cgminer/sgminer/cgminer_keccak) in a separate path each with a separate config file, and choose which one to use from phpminer. This means adding one set of options to phpminer config file per algo/soft.

2) Make it so you setup the command to run each algorithm so you set the soft and algo yourself for each like:
"/path/to/scrypt_cgminer/cgminer -a scrypt"
"/path/to/sha_cgminer/cgminer -a sha256d"
"/path/to/cgminer_keccak/cgminer -a keccak"

3) any other better way


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 13, 2014, 07:12:58 PM
I am about to start coding the "Select your miner software / algorithm" but first i wanted to ask:

What will you prefer:

1) Having one copy of miner soft (cgminer/sgminer/cgminer_keccak) in a separate path each with a separate config file, and choose which one to use from phpminer. This means adding one set of options to phpminer config file per algo/soft.

2) Make it so you setup the command to run each algorithm so you set the soft and algo yourself for each like:
"/path/to/scrypt_cgminer/cgminer -a scrypt"
"/path/to/sha_cgminer/cgminer -a sha256d"
"/path/to/cgminer_keccak/cgminer -a keccak"

3) any other better way

Ok, I think we need to work together with this feature, because today and i think i will need tomorrow too, I will change that phpminer only needs to connect to the rpc client and the rpc client will do all the api commands. With this change, i will enhance the code for the rpc client to a class structure, to have a better overview against the current one.

Since you need to call the rpc client to kill/restart miner to ensure new algo is used you should wait this evening, i will push the new class structure (without the additinal api commands if I am not fast enough). So you will have the correct rpc structure to work with.

I think the config should be that each miner has it's own sub folder, but only the miner itself, not the algo too. Then you have to configurate within the rpc client config file the available miners and what algo's they can handle.
An rpc command should return the possible miners + their algo's.
Currently within phpminer you have a tabbed view of all rig's to configurate cgminer, there an inner tabbed view should be created with all available miners.
Then there are 2 possibilities.

First one is, if a different algo does not require a new option or can not have an option which is available on a different algo, then the cgminer config is finished here. The normal config options should directly appear.

Second one is, when the options can differ from algo to algo, then there should be another inner tab view with one tab which is called "global" and then as many algo's available a seperate tab.
The global one is the base, the algo tab will override the global option.

On save I would think within the rpc client config file, you have to provide, as it is now, the path to miner config file.
The option for config file it self (cgminer_config_path) can be removed, instead rpc client will create for each algo a seperate config file within this directoy. For example "config_scrypt.conf", "config_sha.conf" and so on.

What you think?
Hope my english is not too bad :)



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 13, 2014, 09:22:13 PM
New version available: 1.2.1

Changes:
  - Fix stored pools in cgminer when using rig based pools
  - Add SMTP From configuration
  - Fix add pool to cgminer config when adding pools to an active group
  - Add Rig based Start/Stop mining
  - Add better miner binary for rpc client confg.

After updates always update the phpminer rpcclient and restart the service.

People who use SGMiner, please open the rpc client config.php and change the miner from cgminer to sgminer


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 19, 2014, 09:36:21 PM
Just a live sign from me: I am currently re-structuring the config files, so it will be better in performance and better to develop for me in the future.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: sheinsha on February 19, 2014, 09:52:51 PM
New version available: 1.2.1

Changes:
  - Fix stored pools in cgminer when using rig based pools
  - Add SMTP From configuration
  - Fix add pool to cgminer config when adding pools to an active group
  - Add Rig based Start/Stop mining
  - Add better miner binary for rpc client confg.

After updates always update the phpminer rpcclient and restart the service.

People who use SGMiner, please open the rpc client config.php and change the miner from cgminer to sgminer
Great new features!

Just a live sign from me: I am currently re-structuring the config files, so it will be better in performance and better to develop for me in the future.
I will keep an eye on github then ;)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: SirGeekalot on February 25, 2014, 03:23:21 PM
is there any reason that the rpcclient script would use 100% of my CPU?

it starts off fine but ends up using all of my Processor power. i have to frequently kill the Process and waiut for the cron job to restart it.

any ideas?



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 25, 2014, 06:28:06 PM
is there any reason that the rpcclient script would use 100% of my CPU?

it starts off fine but ends up using all of my Processor power. i have to frequently kill the Process and waiut for the cron job to restart it.

any ideas?



I noticed this issue too.
Please have a bit time. I currently implemented a access control management. When it is fully tested and working the update will also bring up  hopefully a fix for that issue :) The problem is testing if my changes had an effect of it is a bit tricky because i have to wait some time after the load prob begins.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: SirGeekalot on February 26, 2014, 10:38:22 AM
Thanks.

its not a major issue. the processor isn't used for much else! just wanted to know if it was me or if it affected anyone else.

Look forward to the next update.



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: SirGeekalot on February 26, 2014, 11:29:10 AM
Also, i just did a git pull and now i'm getting a DB Locked error.



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 26, 2014, 08:36:45 PM
Also, i just did a git pull and now i'm getting a DB Locked error.

Is the cronjob still running? When you get the error and how it is completely called?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on February 26, 2014, 08:39:45 PM
Current linux rpcclient installation script has a bug where it just exit's.
Till the new update is released a fix is to remove "exit 0;" on line 68.
Also after the script has finished check /etc/init.d/phpminer_rpcclient there is a line where it says PROGRAM=  if there are any { or } please remove those brackets.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: SirGeekalot on February 28, 2014, 01:34:15 PM
Also, i just did a git pull and now i'm getting a DB Locked error.

Is the cronjob still running? When you get the error and how it is completely called?

i'm getting this

https://i.imgur.com/1fSmHif.jpg



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: CryptoCoinz on March 01, 2014, 05:03:14 AM
Can someone tell me where a step by step guide is to setting this up. We have tried and we cant get it right.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 02, 2014, 11:22:19 PM
A new update with a new config structure is on the way. It needs some more testings.


Can someone tell me where a step by step guide is to setting this up. We have tried and we cant get it right.

Readme.md has all what you need, if you are on linux there are one click installation shell files.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: itraxe on March 07, 2014, 09:19:02 PM
i did everything by manual and still get

Connection Refuse

when i first login time to phpminer and put all setings

who will support me with that will get donate


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: itraxe on March 08, 2014, 06:18:05 AM
also cannot connect rpc client on bamt 1.3

help me guys

i did all by manual 100%


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: divxrullz on March 08, 2014, 11:29:27 AM
Would be nice to show up the Rig Work Utility in %, next to Rig hasrate...


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 08, 2014, 01:13:46 PM
Would be nice to show up the Rig Work Utility in %, next to Rig hasrate...

Have to check the Space. I have so much infos displayed that I needed to cut off some text strings from the model in order to get a 1 line entry without a wrap.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: divxrullz on March 08, 2014, 02:12:42 PM
Would be nice to show up the Rig Work Utility in %, next to Rig hasrate...

Have to check the Space. I have so much infos displayed that I needed to cut off some text strings from the model in order to get a 1 line entry without a wrap.

I meaning top of cards info, next to overall hashrate


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 08, 2014, 03:41:24 PM
New version available: 1.3.1

Changes:
  - Fix fatal error for infoException not found.

After updates always update the phpminer rpcclient and restart the service.

New version available: 1.3.0

Changes:
  - All API-Commands will now be executed from the rpc client, so only rpc connection details are required by adding rigs.
  - Removed push.co notification service because the push.co service does not work and no response from their support.
  - Added access management.
  - Fix some problems while editing a rig.
  - Fixed CPU-Usage problem on RPC-Client
  - Add cron lock-pid.
  - Changed kernel miner settings to text input instead of select
  - Fix cron for rebooting rig's
  - Add rig based pools
  - Add "shortname" for rigs which will be used as the username appendings for rig based pools.
  - Add bug reporting
  - Re-Added fan rpm output.
  - Add manual rig reboot command for each rig.
  - Fix error message when miner software has no pools configurated.
  - Add possibility to change pool group.
  - Add version number to the page title.
  - While in collapsed mode, a change affects all devices within this rig.
  - Change donate system where user can choose how much he wants to donate.
  - Fix typos.

After updates always update the phpminer rpcclient and restart the service.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: techforge on March 09, 2014, 05:00:44 AM
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  ;)  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!


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: nem2k on March 09, 2014, 07:59:46 AM
can anyone confirm whether this works with cgminer-kalroth?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: divxrullz on March 09, 2014, 08:29:17 AM
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)


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 09, 2014, 10:22:47 AM
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  ;)  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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: techshadow on March 09, 2014, 03:20:21 PM
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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: icaros on March 09, 2014, 03:44:47 PM
- 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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 09, 2014, 06:00:31 PM
- 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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: icaros on March 09, 2014, 08:15:01 PM
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:
<?php
/* * ********* 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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 09, 2014, 10:05:36 PM
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?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: icaros on March 10, 2014, 12:22:43 PM
100% CPU Bug happens almost instantly everytime when i have phpminer page open on browser. Any ideas how to debug what it's doing?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: itraxe on March 11, 2014, 06:39:47 AM
hardly waiting for mass pool change !

ur soft is da best

but we need options for alot of pcs controll


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: icaros on March 11, 2014, 05:25:58 PM
100% cpu bug is fixed on latest git version.
Got it work also with windows: add this to php.ini: extension=php_sockets.dll


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: Sk1llS on March 15, 2014, 01:39:50 PM
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  >:(


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 20, 2014, 09:37:01 AM
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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: yotadrivers on March 20, 2014, 10:41:37 AM
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


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 20, 2014, 10:53:25 AM
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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: DarkKnight on March 21, 2014, 12:13:25 AM
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.  ::)

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'.  :)



Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: Sk1llS on March 23, 2014, 01:30:47 PM
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.


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: prdatur on March 23, 2014, 02:01:08 PM
Good f'ing luck with that.  ::)

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'.  :)

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?


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: GunPowder on March 23, 2014, 05:28:43 PM
Hello guys

I have a trouble with phpminer
After I installed it I'm getting 'could not find driver' at the top:
http://bestpics.ru/full/Snimok-ekrana-ot-2014-03-23-21:23:57.png

Please advise
Thanks in advance

P.S.
BAMT 1.3
Phpminer 1.3.1
php5-mysql is installed


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: Sk1llS on March 23, 2014, 06:52:54 PM
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).


Title: Re: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support
Post by: Jerkson on April 24, 2014, 03:41:56 PM
I too would gladly donate 1 LTC once it's working for me :(

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.