Bitcoin Forum
December 11, 2024, 07:30:53 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 »  All
  Print  
Author Topic: [ANN] PHPMiner for CGMiner v3.7.2 / SGMiner 4.1.0+ with multi rig support  (Read 8359 times)
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
January 27, 2014, 02:53:10 PM
 #41

I have an issue were if I click the setup button I get asked to provide my rig details instead of it taking me to my cgminer.conf files ?


Is the rig available when you clicked on the link? PHPMiner checks every time for the connection to your configurated rig's. If it fails it provides you with such dialog. I need to remove this because this was a good idea when it was only for 1 rig and not for multple rig's.
For now you need to make sure that your configurated rig's are online.
icaros
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
January 27, 2014, 03:12:29 PM
 #42

There is bug with hashrate jumping sometimes weirdly.

prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
January 27, 2014, 08:18:44 PM
 #43

There is bug with hashrate jumping sometimes weirdly.



Thx

I fixed the output. The CGMiner API response sometimes with such a value, I now manually round the value to a max of 2 decimals.
Will be fixed in the next version. I will collect some changes now. Maybe at Wednesday or something arround I will update.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
January 29, 2014, 08:37:32 PM
 #44

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.
jackderipper
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 29, 2014, 10:27:11 PM
 #45

Hello All,

What a cool monitoring solution! Smiley
I've just upgraded to the latest version 1.1.1. And like the Hash statistics very much.
I hoped that it would solve my problem and got the below error message:

Error message
Could not connect to PHPMiner RPC, please check IP and port settings for PHPMiner RPC
 
I'm using 12 BAMT systems version 1.1 and some 1.3.
I know that I've to create a service on every system and have to configure the config.php.
Also already updated the index.php on the BAM machines.

With version 1.0.9, I was able to connect to the RPC port from my PHPMiner machine and was able to add and configure pools, etc.
Only now after a coldreboot of my BAMT machines, the RPC service port is not active.

When I use the command:
service phpminer_rpcclient status

It says:
PHPMiner RPC Client is running

Only not the configured port 11111 is listening on 0.0.0.0 when I look with netstat -an

Does someone know what I'm doing wrong?

My config.php looks like:
$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;

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

// 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'] = '/etc/bamt/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'] = '/opt/miners/cgminer';

Part of my phpminer_rpcclient config looks like:
# for example this should look like PROGRAM=/var/www/php_cgminer/phpminer_rpcclient/index.php
PROGRAM=/etc/bamt/phpminer_rpcclient/index.php

# for example this should look like USER=myriguser
USER=user

Currently I'm able to see my RIG active in the PHPMiner, and see the active information, but not able to push some pool or intensity changes.

Hope that someone can help me with this ?

Thanks, Jeffrey

prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
January 30, 2014, 02:49:48 PM
 #46

Hello All,

What a cool monitoring solution! Smiley
I've just upgraded to the latest version 1.1.1. And like the Hash statistics very much.
I hoped that it would solve my problem and got the below error message:

...


Will check it, i know there is something wrong with the service autostart.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
January 30, 2014, 10:42:36 PM
 #47

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.
icaros
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
February 01, 2014, 07:47:25 AM
 #48

Settings -> System Settings -> Save config button not working.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 01, 2014, 10:13:56 AM
 #49

Settings -> System Settings -> Save config button not working.

Checked it on my side and it works. Can you please open chrome console and after saving please send me the response output of the created request and also check the console tab for errors. If there is one please send it to me too.
icaros
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
February 01, 2014, 12:16:12 PM
 #50

Hi,

There is nothing on web console seems like the button would not do anything.

I did also try to reinstall phpminer and the problem still exists.

/phpminer/templates/js/jquery-1.10.2.min.map there  is 404 error when going to the Settings page. This could be the problem?
ballot
Hero Member
*****
Offline Offline

Activity: 969
Merit: 1000



View Profile
February 01, 2014, 04:46:23 PM
 #51

is it possible to build a web server remote accessable without port forwarding
does tor .onion do that  Huh
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 02, 2014, 08:54:32 PM
 #52

Hi,

There is nothing on web console seems like the button would not do anything.

I did also try to reinstall phpminer and the problem still exists.

/phpminer/templates/js/jquery-1.10.2.min.map there  is 404 error when going to the Settings page. This could be the problem?


No this has no effect. This comes from jquery.
When you go to the "network" tab in the console and then pressing the notworking button. A new entry will appear with the ajax request.
Can you click on that new entry. At the right side there are then some other tabs. Switch to "response" and give me the output please.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 02, 2014, 08:57:05 PM
 #53

is it possible to build a web server remote accessable without port forwarding
does tor .onion do that  Huh

No. You have as a normal customer 1 Public IP address. This IP-Address points to your router. All connections which are sent to this public ip will go to your router and your router does not know what to do with this request if you don't tell them.
And with portforwarding you tell the router "If something comes in with destination port XY then please forward those connections to internal machine with ip ZY."
micabg
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 03, 2014, 12:26:17 AM
 #54

Is anywhere how to for dummies?
It would be nice to make a tutorial with pictures or video
compile
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 07, 2014, 03:32:32 AM
 #55

Welp its not working for me anymore.

I suggest you make an actual rpc client for windows, because the documentation is lacking severely for it.

An automated install for windows would be perfect to be honest.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 07, 2014, 07:52:48 AM
 #56

Welp its not working for me anymore.

I suggest you make an actual rpc client for windows, because the documentation is lacking severely for it.

An automated install for windows would be perfect to be honest.

An auto win install is not possible currently because I don't have so much knowledge in windows shell and it take much time to create such thing.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 10, 2014, 10:31:28 PM
 #57

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.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 13, 2014, 09:22:51 PM
 #58

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
Mylo
Full Member
***
Offline Offline

Activity: 196
Merit: 100

%insert your text% soon!


View Profile
February 17, 2014, 11:35:41 AM
 #59

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

Hey man, haven't you tried installing your script under Windows? Will Apache + PHP w/ mod_rewrite will suffice?
I'm eager to use it but need more insight too.
prdatur (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
February 17, 2014, 08:48:00 PM
 #60

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

Hey man, haven't you tried installing your script under Windows? Will Apache + PHP w/ mod_rewrite will suffice?

I have test installed under windows with xampp which is in general a apache + php.
Make sure you add all dependend php modules as it is written on the readme.

I'm eager to use it but need more insight too.
What more information you need?
Pages: « 1 2 [3] 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!