UnamSanctam / UnamWebPanel

MIT License
175 stars 58 forks source link

Error in the new version #224

Closed masterjek closed 1 year ago

masterjek commented 1 year ago

Good evening Unam. Just installed version 1.7.1 In folder Logs file with the following error ENDPOINT ERROR: SQLSTATE[HY000]: General error: 5 database is locked, LINE: 72 ENDPOINT ERROR: SQLSTATE[HY000]: General error: 5 database is locked, LINE: 72

UnamSanctam commented 1 year ago

Hmm I don't get any of them, how many do you get?

UnamSanctam commented 1 year ago

And you can also disable hashrate history if you don't need it, since it will speed it up by a ton (because it does not have to save all the history),

masterjek commented 1 year ago

Since the launch of the web panel, only two that I have already thrown off do not appear anymore. The web panel works for about 10 minutes. I immediately turned off the hashrate history before launching.

UnamSanctam commented 1 year ago

Alright then it shouldn't be a problem, it can happen if your database is temporarily doing something that requires locking for some longer time.

masterjek commented 1 year ago

Understood. Thank you. I'll ask here, and the statistics panel should be updated with a delay? At me after 10 minutes of operation looks as follows. 2

UnamSanctam commented 1 year ago

It updates immediately, but maybe it's checking the creation date and not the connection date? Try replacing the statisticsAjax.php file with this one: statisticsAjax.zip

masterjek commented 1 year ago

Thank you. This worked for me, now the stats are updated right away.

UnamSanctam commented 1 year ago

Alright great!