Bitcoin Forum
October 31, 2024, 10:35:56 AM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 »
  Print  
Author Topic: cryptoGlance [v2.1] :: Open-source, self-hosted, multi-rig monitoring tool!  (Read 130268 times)
bittalc1
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
December 17, 2015, 11:17:18 PM
 #501

First great job! Smiley

Slush pool does not work, with the newest version. it says all fields are required and i can not save that pool.
And it would be nice if we can monitor the x counts from our ants, and also the real temperatures, all of them like the mdude monitor does, because the highest temp is not the same reading like the miners web shows me.


Moria843
Sr. Member
****
Offline Offline

Activity: 442
Merit: 250


Found Lost beach - quiet now


View Profile
December 18, 2015, 01:13:22 AM
 #502

Slush pool monitoring works great for me. Are you using your API token?

Hot time, summer in the city, back of my mine getting hot & gritty!!!
KolluM
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 18, 2015, 02:16:58 AM
 #503

this is mining without GPU . Right Huh
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 18, 2015, 02:20:00 AM
 #504

this is mining without GPU . Right Huh

No. This app monitors your mining gear.

aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


View Profile
December 18, 2015, 09:35:41 AM
 #505

i saw an update and i took it.. but it seems to be stuck

Code:
==> Starting Update...Please be patient
==> Creating temporary directory to download update and unzip: update/v2.2.1-beta
==> Successfully created temporary directory!
==> Downloading: https://github.com/cryptoGlance/cryptoGlance-web-app/archive/nightly.zip
==> Download Successful!
==> Starting unzip process...
==> Unzipping archive to: update/v2.2.1-beta
==> Update Unzipped!
==> Deleting update archive file!
==> Deleted update archive file: /var/www/html/update/v2.2.1-beta.zip
----------
==> Updating cryptoGlance...
==> Deleting old files:

edit, ive rebooted and tried it several times.. i left it there for more then an hour and it wont go any farther.
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 18, 2015, 09:09:42 PM
 #506

i saw an update and i took it.. but it seems to be stuck

Code:
==> Starting Update...Please be patient
==> Creating temporary directory to download update and unzip: update/v2.2.1-beta
==> Successfully created temporary directory!
==> Downloading: https://github.com/cryptoGlance/cryptoGlance-web-app/archive/nightly.zip
==> Download Successful!
==> Starting unzip process...
==> Unzipping archive to: update/v2.2.1-beta
==> Update Unzipped!
==> Deleting update archive file!
==> Deleted update archive file: /var/www/html/update/v2.2.1-beta.zip
----------
==> Updating cryptoGlance...
==> Deleting old files:

edit, ive rebooted and tried it several times.. i left it there for more then an hour and it wont go any farther.


You run ssh into that box and run:
ls -l /var/www/html/

Paste the output here

aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


View Profile
December 18, 2015, 09:33:11 PM
 #507

i saw an update and i took it.. but it seems to be stuck

Code:
==> Starting Update...Please be patient
==> Creating temporary directory to download update and unzip: update/v2.2.1-beta
==> Successfully created temporary directory!
==> Downloading: https://github.com/cryptoGlance/cryptoGlance-web-app/archive/nightly.zip
==> Download Successful!
==> Starting unzip process...
==> Unzipping archive to: update/v2.2.1-beta
==> Update Unzipped!
==> Deleting update archive file!
==> Deleted update archive file: /var/www/html/update/v2.2.1-beta.zip
----------
==> Updating cryptoGlance...
==> Deleting old files:

edit, ive rebooted and tried it several times.. i left it there for more then an hour and it wont go any farther.


You run ssh into that box and run:
ls -l /var/www/html/

Paste the output here

Code:
total 180
-rw-r--r-- 1 www-data www-data   955 Nov 30 17:03 ajax.php
-rw-r--r-- 1 www-data www-data  8077 Nov 30 17:03 CHANGELOG.md
d-wxr----t 2 www-data www-data  4096 Nov 30 17:03 css
-rw-r--r-- 1 www-data www-data  4062 Nov 30 17:03 debug.php
-rw-r--r-- 1 www-data www-data  1271 Nov 30 17:03 favicon.png
d-wxr----t 2 www-data www-data  4096 Nov 30 17:03 fonts
-rw-r--r-- 1 www-data www-data  1651 Nov 30 17:03 help.php
d-wxr----t 7 www-data www-data  4096 Nov 30 17:03 images
d-wxr----t 3 www-data www-data  4096 Nov 30 17:03 includes
-rw-r--r-- 1 www-data www-data  3428 Nov 30 17:03 index.php
-rw-r--r-- 1 www-data www-data   229 Nov 30 17:03 install-linux-dependencies.sh
d-wxr----t 6 www-data www-data  4096 Nov 30 17:03 js
-rw-r--r-- 1 www-data www-data 17542 Nov 30 17:03 LICENSE
-rw-r--r-- 1 www-data www-data  5288 Nov 30 17:03 login.php
d-wxr----t 2 www-data www-data  4096 Nov 30 17:03 Michelf
-rw-r--r-- 1 www-data www-data   160 Nov 30 17:03 permissionfix.sh
-rw-r--r-- 1 www-data www-data 14208 Nov 30 17:03 README.md
-rw-r--r-- 1 www-data www-data 26550 Nov 30 17:03 rig.php
-rw-r--r-- 1 www-data www-data 13028 Nov 30 17:03 settings.php
d-wxr----t 4 www-data www-data  4096 Nov 30 17:03 templates
drwxr-xr-x 3 www-data www-data  4096 Dec 18 02:24 update
-rw-r--r-- 1 www-data www-data 19814 Nov 30 17:03 update.php
drwxrwxrwx 6 www-data www-data  4096 Dec  6 12:24 user_data
VirosaGITS
Legendary
*
Offline Offline

Activity: 1302
Merit: 1068



View Profile
December 18, 2015, 10:04:15 PM
 #508

So i'm messing some more with the API stuff.

Coinmine (https://www2.coinmine.pl/) is powered by MPOS so i would of thought using the MPOS pool option would work for it, but it does not. Do i have the wrong url somehow or is the API perhaps still different?

I could give you an active API for it if you want to compare/interested in checking it out in the first place.


                      ▄▄█████▄▄
                    ▐████████████▄
                   ▄█▀▀▀▀▀▀▀██████▌
             █▄  ▄█▀           ▀▀█
              ▀▀▀███▄▄▄▄▄▄▄▄▄▄   █▄   ▄

               ▄▀▀         ▀▀▀▀▀▀▀██▀▀▀
         ▄▄▄▄▄█▄▄ ▄▀▀▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▄▄
         ████▒▒███    ████▒▒████▌
    ▀█▄ ▀
███████▄ ███▒▒███      ██▒▒█████       ▀█▄
 ███████ ▀█▒▒████     ▄█▒▒█████▀         ▀█ ▄  ▄▄
  ██████  ▌▀▀█████▄▄▄███████▀▀            ███▄███▌
 █████████  █████▀▀█▀▀██████▌             ██████▀
 ▀█████████ ███▄  ███   ▐███▌ ▄██       ▄█████▀
     ▀▀    ▀▀███████████████▄▄████▄▄▄▄█▀▀▀▀▀
               ▀▀▀███▀▀▀      ██████▄
                               ▀▀▀▀▀

▄█████████████████████████████▄
███████████████████████████████
███████████████████████████████
███████████████████████████████
█████████▀▀█████████▀▀█████████
███████ ▄▀▀         ▀▀▄ ███████
██████                   ██████
█████▌     ▄▄     ▄▄     ▐█████
█████     ████   ████     █████
█████      ▀▀     ▀▀      █████
█████▄   ▀▄▄▄     ▄▄▄▀   ▄█████
████████▄▄▄█████████▄▄▄████████
███████████████████████████████
███████████████████████████████
███████████████████████████████
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ █
█ █
█ █
█ █
█ █
Moria843
Sr. Member
****
Offline Offline

Activity: 442
Merit: 250


Found Lost beach - quiet now


View Profile
December 19, 2015, 12:55:19 AM
 #509

Running V2.1. All working great except wallet showing 1 BTC = 0 USD. So shows BTC value correctly but always shows $0 fiat value.

Hot time, summer in the city, back of my mine getting hot & gritty!!!
Moria843
Sr. Member
****
Offline Offline

Activity: 442
Merit: 250


Found Lost beach - quiet now


View Profile
December 19, 2015, 02:28:24 AM
 #510

I can see all of my S3s except for one that I upgraded with a kano cgminer. I get the notice that it must be offline but I know it's not from the pool stats and browser interface.

Has anyone else seen this problem and know how to fix?

Or, is only fix to go back to the old cgminer?

Sounds like the API isn't giving access to cryptoGlance. How is cgminer being ran on the s3? Is the config different or the command line?

When I look in the process section of the Antminer S3 GUI for 2 of my miners I see the following command based on my inputs:

cgminer --bitmain-options 115200:32:8 --bitmain-freq 18:225:0882 -o stratum.bitcoin.cz:3333 -O XXX.S35:S35 -o us1.ghash.io:3333 -O XXX.rigS35:S35 -o stratum.mining.eligius.st:3334 -O XXX_S35:S35 --api-listen --api-allow W:127.0.0.1 --bitmain-checkn2diff --bitmain-hwerror --bitmaintempoverctrl --quiet

cgminer --bitmain-options 115200:32:8:33:125:0983 -o stratum.bitcoin.cz:3333 -O XXX.S31:31 -o us1.ghash.io:3333 -O XXX.rigS31:31 -o stratum.mining.eligius.st:3334 -O XXX_S31:31 --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --version-file /usr/bin/compile_time --queue 4096

The top one doesn't work; the bottom one does. Do I need to change something in the top one? Thanks.


Remote this part from the top one, see if it works: W:127.0.0.1

I got to work by changing to --api-allow R0/0

Thanks for the guidance that showed me what switch to look at

Hot time, summer in the city, back of my mine getting hot & gritty!!!
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 19, 2015, 04:38:10 AM
 #511

Aarons6, ill dig deeper into your issue in the next few days.


So i'm messing some more with the API stuff.

Coinmine (https://www2.coinmine.pl/) is powered by MPOS so i would of thought using the MPOS pool option would work for it, but it does not. Do i have the wrong url somehow or is the API perhaps still different?

I could give you an active API for it if you want to compare/interested in checking it out in the first place.
If you could PM me this information, i would gladly add support Smiley


Running V2.1. All working great except wallet showing 1 BTC = 0 USD. So shows BTC value correctly but always shows $0 fiat value.
Update to v2.2.1-beta. Before we used to depend on a 3rd party platform,  but they have since shutdown. We have created our own api specificly for cryptoglance,  paying out of our own pocket to keep it online for users as we feel its very important information Smiley



I got to work by changing to --api-allow R0/0

Thanks for the guidance that showed me what switch to look at
I highly do NOT recommend using R:0/0. Anyone with your ip address can control your miner. I suggest you change this rule to be specific to your internal network.  For example,  my internal network is 192.168.0.###, so i use: W:192.168.0/24

kano
Legendary
*
Offline Offline

Activity: 4606
Merit: 1851


Linux since 1997 RedHat 4


View Profile
December 19, 2015, 05:02:52 AM
 #512

R:0/0 isn't all that bad - it's only read access.
But it does give anyone read access.

The problem is when people use W:0/0
(like bitmain defaults in their antminers ...)
That gives anyone access to change anything.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Subw
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


View Profile
December 19, 2015, 02:56:30 PM
 #513

will we see graphs for self-hosted version?
Moria843
Sr. Member
****
Offline Offline

Activity: 442
Merit: 250


Found Lost beach - quiet now


View Profile
December 19, 2015, 04:25:16 PM
 #514


Running V2.1. All working great except wallet showing 1 BTC = 0 USD. So shows BTC value correctly but always shows $0 fiat value.
Update to v2.2.1-beta. Before we used to depend on a 3rd party platform,  but they have since shutdown. We have created our own api specificly for cryptoglance,  paying out of our own pocket to keep it online for users as we feel its very important information Smiley


Upgrading to beta version is working but BTC price off by 20USD. Why don't you use the free public use API from https://bitcoinaverage.com/api? It's showing the correct conversion rate and may save you money.

Hot time, summer in the city, back of my mine getting hot & gritty!!!
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 19, 2015, 05:41:02 PM
 #515

will we see graphs for self-hosted version?
Graphs are on the roadmap, just no timeframe. Has to happen after we finish a way to do background tasks.



Running V2.1. All working great except wallet showing 1 BTC = 0 USD. So shows BTC value correctly but always shows $0 fiat value.
Update to v2.2.1-beta. Before we used to depend on a 3rd party platform,  but they have since shutdown. We have created our own api specificly for cryptoglance,  paying out of our own pocket to keep it online for users as we feel its very important information Smiley


Upgrading to beta version is working but BTC price off by 20USD. Why don't you use the free public use API from https://bitcoinaverage.com/api? It's showing the correct conversion rate and may save you money.
Our prices are calculated the same way they calculate theirs, however a few of our exchanges are reporting higher prices. Most likely just a difference of exchanges last sell price.

We would like to keep costs low, however we convert all coins in cryptoglance to any other coin. EG: BURST to CAD, or BURST to RDD.

Moria843
Sr. Member
****
Offline Offline

Activity: 442
Merit: 250


Found Lost beach - quiet now


View Profile
December 19, 2015, 09:04:18 PM
 #516

R:0/0 isn't all that bad - it's only read access.
But it does give anyone read access.

The problem is when people use W:0/0
(like bitmain defaults in their antminers ...)
That gives anyone access to change anything.

Thanks for the info and your great program Kano. I'm using your [CGMiner] => 4.9.2,  [API] => 3.6 and my goal is to allow cryptoGlance to be able to send commands to restart the miner etc.

My internal network is also 192.168.0.###, with this particular miner being 192.168.0.91, so i tried: W:192.168.0/24 as suggested by cryptoGlance.

But when I did, the browser interface miner status stayed blank no matter how many times I tried to refresh. I set it back to R:0/0 to get it to work again.

Should we be using something different than, or in a different format, than W:192.168.0/24?

Or could it have something to do with the API port left at 4028?


Hot time, summer in the city, back of my mine getting hot & gritty!!!
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 19, 2015, 10:04:06 PM
 #517

R:0/0 isn't all that bad - it's only read access.
But it does give anyone read access.

The problem is when people use W:0/0
(like bitmain defaults in their antminers ...)
That gives anyone access to change anything.

Thanks for the info and your great program Kano. I'm using your [CGMiner] => 4.9.2,  [API] => 3.6 and my goal is to allow cryptoGlance to be able to send commands to restart the miner etc.

My internal network is also 192.168.0.###, with this particular miner being 192.168.0.91, so i tried: W:192.168.0/24 as suggested by cryptoGlance.

But when I did, the browser interface miner status stayed blank no matter how many times I tried to refresh. I set it back to R:0/0 to get it to work again.

Should we be using something different than, or in a different format, than W:192.168.0/24?

Or could it have something to do with the API port left at 4028?


The Bitmain browser interface or CryptoGlance browser?

kano
Legendary
*
Offline Offline

Activity: 4606
Merit: 1851


Linux since 1997 RedHat 4


View Profile
December 19, 2015, 10:16:00 PM
 #518

...
My internal network is also 192.168.0.###, with this particular miner being 192.168.0.91, so i tried: W:192.168.0/24 as suggested by cryptoGlance.
...

There was a bug introduced (by someone else - the one time I didn't completely vet an API change by someone else external to cgminer - the addition of IPv6) that wasn't fixed until master cgminer 4.9.2

I've no idea who's cgminer fork you are using or if it is master.
If it isn't master then they may or may not have included the fix I put in before master 4.9.2 was released

In the bug case: if you did w:192.168.0/24 it wouldn't work but w:192.168.0.0/24 would work
(the ipv6 coder removed that 0 padding I had and commented for ipv4 in the code Tongue)

This was the fix:
https://github.com/ckolivas/cgminer/commit/b3b1fc3fb881d0760fe02c598d0907b1f1256d6f

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 19, 2015, 11:01:39 PM
 #519

...
My internal network is also 192.168.0.###, with this particular miner being 192.168.0.91, so i tried: W:192.168.0/24 as suggested by cryptoGlance.
...

There was a bug introduced (by someone else - the one time I didn't completely vet an API change by someone else external to cgminer - the addition of IPv6) that wasn't fixed until master cgminer 4.9.2

I've no idea who's cgminer fork you are using or if it is master.
If it isn't master then they may or may not have included the fix I put in before master 4.9.2 was released

In the bug case: if you did w:192.168.0/24 it wouldn't work but w:192.168.0.0/24 would work
(the ipv6 coder removed that 0 padding I had and commented for ipv4 in the code Tongue)

This was the fix:
https://github.com/ckolivas/cgminer/commit/b3b1fc3fb881d0760fe02c598d0907b1f1256d6f

Thanks for the heads up Kano!

aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


View Profile
December 20, 2015, 04:12:50 PM
 #520

@cryptoglance.

i just SSH in and copied the files from the update folder to the main html folder.. seems to work.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 »
  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!