Pages:
Author

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

newbie
Activity: 33
Merit: 0
Is anywhere how to for dummies?
It would be nice to make a tutorial with pictures or video
member
Activity: 111
Merit: 10
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."
member
Activity: 111
Merit: 10
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.
hero member
Activity: 969
Merit: 1000
is it possible to build a web server remote accessable without port forwarding
does tor .onion do that  Huh
member
Activity: 96
Merit: 10
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?
member
Activity: 111
Merit: 10
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.
member
Activity: 96
Merit: 10
Settings -> System Settings -> Save config button not working.
member
Activity: 111
Merit: 10
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.
member
Activity: 111
Merit: 10
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.
newbie
Activity: 8
Merit: 0
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

member
Activity: 111
Merit: 10
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.
member
Activity: 111
Merit: 10
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.
member
Activity: 96
Merit: 10
There is bug with hashrate jumping sometimes weirdly.

member
Activity: 111
Merit: 10
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.
newbie
Activity: 12
Merit: 0
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 ?
member
Activity: 111
Merit: 10
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.
newbie
Activity: 11
Merit: 0
Nice thing you got here!  Smiley

Thanks, ee.
full member
Activity: 200
Merit: 100
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 !!

This is for GPU mining, hence the v3.7.2 support, not asic hardware.

Closed mind ! + asic hardware can have some cgminer version & also work on api cgminer ( i use cgminer 3.9.0 on all my asic atm + cgremote & all work well) . Just for your knowledge.
member
Activity: 87
Merit: 10
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 !!

This is for GPU mining, hence the v3.7.2 support, not asic hardware.
newbie
Activity: 51
Merit: 0
Got it working on windows, its beautiful.

No idea how to install it on Bamt though, I can't get it to connect (service command isn't found).
Pages:
Jump to: