PHP Tuning

In the new version v1.7.1 I can not enable PHP Tuning for any domain.


No tags can be used in the forum:

WIll investigate and take care of this.

WIll investigate and take care of this.

I found the cause.
The PHP Tuning and LiteSpeed Tuning function works immediately after installation with the default password of 1234567. After changing the password, both functions stop working.

Me too.
New installation 1.7.1
After changing the panel’s password, tuning stop working.

You need to create a new user. It will work on it.

After deleting the admin user, I can not restore backups.
This bug with a password needs to be repaired.

Patched, will come as a fix with next release: bug fix to tuning · usmannasir/cyberpanel@357502b · GitHub

@Nencio you can try with raw file: https://github.com/usmannasir/cyberpanel/blob/v1.7.1-dev/tuning/views.py

I managed this:
Table

Change


On

Now I have problems with restoring backups. DNS entries are doubled when restoring.

Did you assign any ACL to this user? It should be acl id 1. And don’t delete the ‘admin’ user.

By default, after installation, the admin account has type = 0 in the table:


The change type = 1 fixes the blockade of PHP Tuning and LiteSpeed Tuning.

OK. It works.

I just checked it thoroughly.
After installation, type = 1. When changing the password (saving), the value changes to type = 0. Here is mistake.
So by default it should be type = 1.

I just checked it thoroughly. After installation, type = 1. When changing the password (saving), the value changes to type = 0. Here is mistake. So by default it should be type = 1.

That variable is not used anymore, I’ve patched this bug and now acl_id is used, you can replace the file with the patched file or wait for a new release, this release will mostly be bug fixes.

Patched, will come as a fix with next release: https://github.com/usmannasir/cyberpanel/commit/357502bd9a50767bbc2a6eb4e3f4299dab95ba40

@Nencio you can try with raw file: https://github.com/usmannasir/cyberpanel/blob/v1.7.1-dev/tuning/views.py

You write about this amendment, that it does not matter here. Yes, it does not matter if it’s type = 0 or type = 1.
I also checked.