Pages:
Author

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

newbie
Activity: 12
Merit: 0
I have picked up an error during my install, probably related more to my apache configuration

Code:
[Mon Jan 13 09:00:13 2014] [alert] [client 10.0.0.10] /var/www/phpminer/.htaccess: AddDefaultCharset not allowed here
[Mon Jan 13 09:00:13 2014] [alert] [client 10.0.0.10] /var/www/phpminer/views/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration,
[Mon Jan 13 09:00:13 2014] [alert] [client 10.0.0.10] /var/www/phpminer/templates/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration,

If I remove the AddDefaultCharset from /var/www/phpminer/.htaccess
and delete the other 2 .htaccess files the page seems to load fine, though I am not sure what else I have broken
member
Activity: 111
Merit: 10
Somekind better timeout for sockets would be nice too. If my ip rig changes and it has ip where it can't connect it will freeze for many many minutes.

Thy for the report and direct fix Smiley
Will check that timeout thing.
member
Activity: 111
Merit: 10
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.
member
Activity: 96
Merit: 10
Edit and Delete button at Mining rig not working:

[05:06:27.747] POST https://xxx/main/get_rig_data.json [HTTP/1.1 404 Not Found 2ms]
[05:06:29.747] POST https://xxx/main/delete_rig.json [HTTP/1.1 404 Not Found 2ms]

views/main/init.js:            ajax_request('/main/get_rig_data.json', {rig: $(this).data('rig')}, function(rig_results) {
                                    ajax_request('/main/delete_rig.json', {rig: rig}, function() {
Changing it to:
ajax_request(murl('main', 'get_rig_data'), {rig: $(this).data('rig')}, function(rig_results) {
ajax_request(murl('main', 'delete_rig'), {rig: rig}, function() {

fixed the bug.

There is bug on version check too:
A new version is available, current version 1.0.6 - latest version 1.0.5. Download. After updating to a new version, do not forget to copy the new index.php from the phpminer_rpcclient and restart the service."

Somekind better timeout for sockets would be nice too. If my ip rig changes and it has ip where it can't connect it will freeze for many many minutes.
member
Activity: 111
Merit: 10
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 Smiley
member
Activity: 111
Merit: 10
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.
member
Activity: 111
Merit: 10
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.
member
Activity: 111
Merit: 10
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.
member
Activity: 111
Merit: 10
New version available: 1.0.2

Changes:
  - Multi rig support
  - Latest version check

Also it was now tested successfully under windows.
member
Activity: 111
Merit: 10
If you are on freenode irc. Please join #phpminer so we can diskuss the issues which maybe are.
newbie
Activity: 51
Merit: 0
going to try it out under windows right now.

I'll let you know.
member
Activity: 111
Merit: 10
The things which requires Linux are:

- restart cgminer of not running
- reboot machine of defunc function exists

Also I didn't tested it on Windows, so I don't want to tell it will work when I can not be sure.

I think I will test it in some days under Windows.
newbie
Activity: 51
Merit: 0
Looks really nice.
What are the requirements that make this a Linux only solution?
member
Activity: 111
Merit: 10
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 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

Any questions?
Please use this thread:
https://bitcointalksearch.org/topic/ann-phpminer-for-cgminer-v372-sgminer-410-with-multi-rig-support-400589 There all support questions will be answered.
Pages:
Jump to: