Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] imunifyav does not run after upgrading CyberPanel everytime #1098

Closed
TheMukeshPatel opened this issue Jul 31, 2023 · 9 comments
Closed

Comments

@TheMukeshPatel
Copy link

Describe the bug
Every time, after upgrading CyberPanel, imunifyav stops working. It shows below error code -
sh: 1: /usr/local/CyberCP/public/imunifyav/classes/panels/…/…/bin/execute.py: Permission denied

Please solve it so we don't need to run the below code always.

Solution
We have to run the below code every time after upgrading CyberPanel to fix it -

  1. Run this in SSH terminal
    cd /usr/local/CyberCP/public/imunifyav
  2. Run this to fix
    chmod +x ./bin/execute.py

CyberPanel version:
CyberPanel v2.3.4

@usmannasir
Copy link
Owner

checking

@shbs9
Copy link

shbs9 commented Jul 31, 2023

i tried to reproduce this using ubuntu 22 os and i cant reproduce this @TheMukeshPatel can you tell me the OS of our server

@TheMukeshPatel
Copy link
Author

On Ubuntu 22.04 LTS.
Just run CyberPanel upgrade command and after upgrading, try to open imunifyav. You will get my point.

@shbs9
Copy link

shbs9 commented Jul 31, 2023

Yes did the same i can share login with you as well that i tested come in platform open a ticket

@TheMukeshPatel
Copy link
Author

Run below upgrade script in the SSH terminal and after that reboot the server. After this, login to CyberPanel, go to Security > ImunifyAV and Click on the Access button. Now, try to log in with your username and password. You will get my point.
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

@TheMukeshPatel
Copy link
Author

See this (I ran upgrade script on just fresh new cyberpanel setup) -
image

@shbs9
Copy link

shbs9 commented Aug 9, 2023

Tesest with a new installation, old installation after upgrade all seems fine but as per imunifyav is a free product of imunify team so warnings from imunify can be happen other then that from CyberPanel side all is good now @usmannasir @TheMukeshPatel

@usmannasir
Copy link
Owner

I am closing our internal ticket and this issue as resolved now.

@irockbot
Copy link

irockbot commented Feb 4, 2024

@usmannasir @TheMukeshPatel This issue is not solved yet. Ran upgrade to latest 2.3.5 and imunify360 throws the same permission denied error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants