UnamWebPanel icon indicating copy to clipboard operation
UnamWebPanel copied to clipboard

webpanel dont show miner list

Open hara2214 opened this issue 2 years ago • 17 comments

Thanks to your reply, I solved the exe problem. However, we faced the webpanel problem.

I put https://mysite.com/api/endpoint.php in the api endpoint url.

image

image

However, it is not displayed on the webpanel.

The site is all normal.

image

  1. It is not displayed on the panel.
  2. What are Configurations?

hara2214 avatar Sep 05 '22 00:09 hara2214

  1. Make sure that your files have the correct permissions for your setup, you can test if it's able to write to the database by going to the "Configurations" tab and then adding a new configuration (you can use {} as the data), if you can then find it in the "Edit Configurations" list then it can write, if not then it can't. Also make sure that you're not forcing redirections from http to https. Also make sure that the miner is actually running by using the checker.
  2. It's to change the miners configurations (settings), it's formatted exactly the same as the "Remote Configuration": https://github.com/UnamSanctam/SilentCryptoMiner/wiki/ETH-Miner#remote-configuration https://github.com/UnamSanctam/SilentCryptoMiner/wiki/XMR-Miner#remote-configuration

UnamSanctam avatar Sep 05 '22 01:09 UnamSanctam

How do I verify that I have permissions? I opened the web server using xampp in ubuntu 18. And I tried using both http and https, but I failed. I added the configuration, but it doesn't seem to be saved in the database. It doesn't come up.

image

image

image

hara2214 avatar Sep 05 '22 01:09 hara2214

Yes then it's not able to write to your database (inside db\unamwebpanel.db), you'll have to set up the correct write permissions for your webserver user, in Linux you (usually) have to set up all the permissions.

UnamSanctam avatar Sep 05 '22 01:09 UnamSanctam

Yes then it's not able to write to your database (inside db\unamwebpanel.db), you'll have to set up the correct write permissions for your webserver user, in Linux you (usually) have to set up all the permissions.

Uhhh, I have the same problem as him but I can add Screenshot_2023-01-09-16-16-42-44 Screenshot_2023-01-09-16-16-32-36

samogost avatar Jan 09 '23 09:01 samogost

Uhhh, I have the same problem as him but I can add

Make sure that your webhost isn't forcing JavaScript or something like it, and make sure to only use https if you have a certificate (like your last site).

UnamSanctam avatar Jan 09 '23 09:01 UnamSanctam

Uhhh, I have the same problem as him but I can add

Make sure that your webhost isn't forcing JavaScript or something like it, and make sure to only use https if you have a certificate (like your last site).

my site doesn't have ssl

samogost avatar Jan 09 '23 09:01 samogost

Uhhh, I have the same problem as him but I can add

Make sure that your webhost isn't forcing JavaScript or something like it, and make sure to only use https if you have a certificate (like your last site).

If I make my site private, will the web panel work or not?

samogost avatar Jan 09 '23 10:01 samogost

my site doesn't have ssl

Then make sure you use http when you enter the URL.

If I make my site private, will the web panel work or not?

You mean some sort of private option on your webhost? Then most likely nothing will be able to connect to it I would assume.

UnamSanctam avatar Jan 09 '23 10:01 UnamSanctam

my site doesn't have ssl

Then make sure you use http when you enter the URL.

If I make my site private, will the web panel work or not?

You mean some sort of private option on your webhost? Then most likely nothing will be able to connect to it I would assume.

I want my site to be private to keep it from being discovered by the web host creator (It's useless though). The web panel doesn't show the miners list, which is quite difficult to fix, and I don't know what is the cause. So what causes my web panel not to show the list of miners?...I shouldn't have asked you about these issues, and I think the best way is to stop using WebPanel.

samogost avatar Jan 09 '23 11:01 samogost

I want my site to be private to keep it from being discovered by the web host creator. (It's useless though.) I think the web panel doesn't show the miners list, which is quite difficult to fix, and I don't know what is the cause. So what causes my web panel not to show the list of miners?...I shouldn't have asked you about these issues, and I think the best way is to stop using WebPanel.

Well you can never hide it from the one hosting it. Make sure that there's no option enabled on your webhost that forces JavaScript to be enabled. And make sure that you're using http:// when entering the URL into the miner (since you said that you have no SSL).

UnamSanctam avatar Jan 09 '23 11:01 UnamSanctam

I want my site to be private to keep it from being discovered by the web host creator. (It's useless though.) I think the web panel doesn't show the miners list, which is quite difficult to fix, and I don't know what is the cause. So what causes my web panel not to show the list of miners?...I shouldn't have asked you about these issues, and I think the best way is to stop using WebPanel.

Well you can never hide it from the one hosting it. Make sure that there's no option enabled on your webhost that forces JavaScript to be enabled. And make sure that you're using http:// when entering the URL into the miner (since you said that you have no SSL).

Yes, thank you. I will continue to fix the site on my own and will not give up. Have a nice day!

samogost avatar Jan 09 '23 11:01 samogost

Alright great, hopefully it works out. I hope you have a nice day too.

UnamSanctam avatar Jan 09 '23 11:01 UnamSanctam

Alright great, hopefully it works out. I hope you have a nice day too.

I just started editing the website now because I'm too busy in real life. I have enabled web error display and I see these lines, do you know the cause? IMG_20230109_221017

samogost avatar Jan 09 '23 15:01 samogost

Are you sure no files are missing (like the assets/php/safety-check.php file)? If not then it could also be due to the include path being weird.

UnamSanctam avatar Jan 09 '23 15:01 UnamSanctam

Are you sure no files are missing (like the assets/php/safety-check.php file)? If not then it could also be due to the include path being weird.

Ah, it's because I'm missing the file. But when I go to the login page and enter the information, I get an error. Screenshot_2023-01-09-22-42-00-37

samogost avatar Jan 09 '23 15:01 samogost

Are you sure no files are missing (like the assets/php/safety-check.php file)? If not then it could also be due to the include path being weird.

It's because I loaded files one by one, and maybe I missed something. I tried to transfer all files in, and it worked and my webpanel finally shows the list of miners.

samogost avatar Jan 09 '23 16:01 samogost

Great.

UnamSanctam avatar Jan 09 '23 20:01 UnamSanctam