Pages:
Author

Topic: [GUIDE] Setup your own Ethereum mining pool. - page 6. (Read 30140 times)

full member
Activity: 301
Merit: 106
Hello guys i have problem.
My pool was working well, but today it start show incorrect Network Difficulty: 694.337G instead 11.9T.
Whats happened how to fix that ?
newbie
Activity: 3
Merit: 0
Hello all
How i can change open-ethereum-pool to Solo mining ? I can not find this options in config. Read all helps but can not find. Thanks
newbie
Activity: 8
Merit: 0
full member
Activity: 142
Merit: 100
ok i have now "Stats API Temporarily Down"

example:
http://giotto.acc-pool.pw/


geth --rpc
is running an pool run with
./build/bin/open-ethereum-pool config.json

newbie
Activity: 47
Merit: 0
You only need one file.

/etc/nginx/nginx.conf

change
root home/pool/open-ethereum-pool/www/dist;
to
root /home/pool/open-ethereum-pool/www/dist;

For api to work you need to edit your

/home/pool/open-ethereum-pool/www/config/environment.js

In particular you need something like:
ApiUrl: '//ubiqpool.servehttp.com:8080/',

Also something like
server_name ubiqpool.servehttp.com;
in nginx.conf

Your config.json must also reflect correct ports. But this is
at least a start for you to get on track..
full member
Activity: 142
Merit: 100
Can anyone help me.

the ngixx part ist terrible. I got not website only error 500 Internal Server Error
Path to www/dist is correct.

and if i start   ember server --port 8082 --environment development
then i got the api error page

can anyone help me with a newer guide?
I use ubuntu 16.04 server but i think its another nginx version. I have not the same paths

my default file in /etc/nginx/sites-available


upstream api {
   server 127.0.0.1:8080;
}


server {
   listen 80 default_server;
   listen [::]:80 default_server;

   root /home/pool/open-ethereum-pool/www/dist;

   

   server_name _;


location /api {
                proxy_pass http://api;
        }

   location / {
      # First attempt to serve request as file, then
      # as directory, then fall back to displaying a 404.
      try_files $uri $uri/ =404;
   }

   # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
   #
   #location ~ \.php$ {
   #   include snippets/fastcgi-php.conf;
   #
   #   # With php7.0-cgi alone:
   #   fastcgi_pass 127.0.0.1:9000;
   #   # With php7.0-fpm:
   #   fastcgi_pass unix:/run/php/php7.0-fpm.sock;
   #}

   # deny access to .htaccess files, if Apache's document root
   # concurs with nginx's one
   #
   #location ~ /\.ht {
   #   deny all;
   #}
}



 the second file /etc/nginx/nginx.conf

user www-data;
worker_processes auto;
pid /run/nginx.pid;


events {
        worker_connections 768;
        # multi_accept on;
}



http {

   sendfile on;
   tcp_nopush on;
   tcp_nodelay on;
   keepalive_timeout 65;
   types_hash_max_size 2048;
   # server_tokens off;

   # server_names_hash_bucket_size 64;
   # server_name_in_redirect off;

   include /etc/nginx/mime.types;
   default_type application/octet-stream;

   ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
   #ssl_prefer_server_ciphers on;

   access_log /var/log/nginx/access.log;
   error_log /var/log/nginx/error.log;

   gzip on;
   gzip_disable "msie6";


   upstream api {
   server 127.0.0.1:8080;
   }

   server {
   listen 0.0.0.0:80;
   root home/pool/open-ethereum-pool/www/dist;
   index index.html index.htm;

   server_name localhost;

        location /api {
                proxy_pass http://api;
        }


   location / {
      try_files $uri $uri/ /index.html;
   }

   }

}

full member
Activity: 301
Merit: 106
what can you with this ?
member
Activity: 166
Merit: 10
September 27, 2017, 04:22:54 PM
I have strange problem with payouts:
My server wallet after payouts loosing coins.
Even if i set 1% pool fee i am still losing musiccoins after payouts.
Looks like instead of pay 314 coins i am paying 320 coins.

How to fix that ?


got the same problem, how did u solved?


its called gas
full member
Activity: 301
Merit: 106
September 25, 2017, 02:42:04 PM
i didn't solved
i have no idea how to fix that
newbie
Activity: 4
Merit: 0
September 25, 2017, 01:53:00 PM
I have strange problem with payouts:
My server wallet after payouts loosing coins.
Even if i set 1% pool fee i am still losing musiccoins after payouts.
Looks like instead of pay 314 coins i am paying 320 coins.

How to fix that ?


got the same problem, how did u solved?
newbie
Activity: 2
Merit: 0
September 23, 2017, 05:24:56 PM
Thanks for the Awesome Guide,
I have few issues though! While rendering web page using nginx, the styles are not applied in the main webpage (though I am seeing all the stats sample site: http://ubuntu1sea.southeastasia.cloudapp.azure.com/ )

But, when I run
Code:
ember server --port 8082 --environment production

then the webpage at port 8082 is fine with proper styles and with correct stats.

I am not sure what I am missing with main web page using nginx. My Nginx Config is as follows
 
Code:
upstream api {
                server 127.0.0.1:8080;
        }

        server {
                listen 0.0.0.0:80;
                root /open-ethereum-pool/www/dist;
                index index.html index.htm;

                server_name localhost;

                location /api {
                        proxy_pass http://api;
                }

                location / {
                        try_files $uri $uri/ /index.html;
                }
        }



Seems silly but it drives me nuts. Do any of you face this issue.

It got resolved when I have edited index.hbs in the 'templates' folder. and executed ./build.sh from 'www' folder Thank you.
newbie
Activity: 2
Merit: 0
September 23, 2017, 04:29:36 PM
Thanks for the Awesome Guide,
I have few issues though! While rendering web page using nginx, the styles are not applied in the main webpage (though I am seeing all the stats sample site: http://ubuntu1sea.southeastasia.cloudapp.azure.com/ )

But, when I run
Code:
ember server --port 8082 --environment production

then the webpage at port 8082 is fine with proper styles and with correct stats.

I am not sure what I am missing with main web page using nginx. My Nginx Config is as follows
 
Code:
upstream api {
                server 127.0.0.1:8080;
        }

        server {
                listen 0.0.0.0:80;
                root /open-ethereum-pool/www/dist;
                index index.html index.htm;

                server_name localhost;

                location /api {
                        proxy_pass http://api;
                }

                location / {
                        try_files $uri $uri/ /index.html;
                }
        }



Seems silly but it drives me nuts. Do any of you face this issue.
full member
Activity: 301
Merit: 106
September 21, 2017, 09:35:35 PM
I have strange problem with payouts:
My server wallet after payouts loosing coins.
Even if i set 1% pool fee i am still losing musiccoins after payouts.
Looks like instead of pay 314 coins i am paying 320 coins.

How to fix that ?
member
Activity: 195
Merit: 10
September 18, 2017, 04:09:52 AM
both of you thanks for your help.

done and all working fine now getting full 314 coins instead of 5 coins.

Thanks once again.
full member
Activity: 224
Merit: 100
September 17, 2017, 11:08:53 AM
everything done restarted it and also the entire system. no changes strange.
any other suggestion or should i reformat and try again?
Is not necessary reformat, i has the same problem.. and resolved, changing the file unlocker.go and then ./build.sh


and then..

make clean
make

As you know, ./build.sh only builds the web pages.

It's true, sorry i forgot this part
newbie
Activity: 47
Merit: 0
September 17, 2017, 07:51:44 AM
everything done restarted it and also the entire system. no changes strange.
any other suggestion or should i reformat and try again?
Is not necessary reformat, i has the same problem.. and resolved, changing the file unlocker.go and then ./build.sh


and then..

make clean
make

As you know, ./build.sh only builds the web pages.
full member
Activity: 224
Merit: 100
September 16, 2017, 05:09:04 AM
everything done restarted it and also the entire system. no changes strange.
any other suggestion or should i reformat and try again?
Is not necessary reformat, i has the same problem.. and resolved, changing the file unlocker.go and then ./build.sh
member
Activity: 195
Merit: 10
September 16, 2017, 05:03:39 AM
everything done restarted it and also the entire system. no changes strange.
any other suggestion or should i reformat and try again?
full member
Activity: 224
Merit: 100
September 16, 2017, 04:52:55 AM
Restart unlocker instance..
member
Activity: 195
Merit: 10
September 16, 2017, 04:05:15 AM
#99
var constReward = math.MustParseBig256("314000000000000000000")

changed in unlocker.go and rebuild still no change and getting 5 coins
so flushed the redis and tried same results no change
stuck at 5 coins instead of 314
Pages:
Jump to: