Giter VIP home page Giter VIP logo

Comments (9)

cloudpanel-io avatar cloudpanel-io commented on September 1, 2024

I have created a patch, please test and confirm:

Login via ssh and execute the following command as root:

curl https://gist.githubusercontent.com/swieczorek/95df2d058bb5c048e1c608b88dbcd9e5/raw/3b2d666a3f4af855fbbcce6c492da9e6e82bbc31/gistfile1.txt > /home/clp/htdocs/app/files/src/Controller/Admin/FirewallController.php

Thanks :-)

from cloudpanel-ce.

BakirGracic avatar BakirGracic commented on September 1, 2024

Executing the command with root user, rebooting the server and replicating the bug was not successful!
Patch was of no help

Maybe the problem was with my configuration? Have you been able to replicate the error yourself?

Keep in mind this is not a major problem, just a mild inconvenience, since editing a firewall port has an extra step of deleting the old one and creating a new one xD

I'm available to provide any additional help/info to solve this!
Thank you for creating this software!

from cloudpanel-ce.

smartlocaliza avatar smartlocaliza commented on September 1, 2024

It also appeared for me in Ubuntu 24.04,
I resolved it by removing the ssh port within the Cloud panel and registering it again.

it worked out

from cloudpanel-ce.

cloudpanel-io avatar cloudpanel-io commented on September 1, 2024

@BakirGracic, can you please get in touch with me on Discord (stefan.wieczorek)?

I want to check the patch with you.

from cloudpanel-ce.

cloudpanel-io avatar cloudpanel-io commented on September 1, 2024

It also appeared for me in Ubuntu 24.04, I resolved it by removing the ssh port within the Cloud panel and registering it again.

it worked out

I have updated the patch. Can you please apply again and confirm that it's working for you?

from cloudpanel-ce.

smartlocaliza avatar smartlocaliza commented on September 1, 2024

Captura de tela 2024-05-22 110433

The error appeared again when I went to edit the SSH port.
To work I delete the SSH port within the Panel and register again.

Only this way will it work.

from cloudpanel-ce.

smartlocaliza avatar smartlocaliza commented on September 1, 2024

v2.4.2 - [2024-05-21]

I have this version

from cloudpanel-ce.

cloudpanel-io avatar cloudpanel-io commented on September 1, 2024

@smartlocaliza Please see this message:

#462 (comment)

from cloudpanel-ce.

BakirGracic avatar BakirGracic commented on September 1, 2024

@cloudpanel-io

The new patch has solved the issue!

I've ran the patch command again as root user from the previous comment, rebooted the server, edited the port number and in response got the green success notification!

But still there is the issue with the custom port label I mentioned before. When editing the Custom port, on the edit page it automatically changes the port label to "SSH/SFTP"

The third issue of session terminating has also been resolved with the patch, i.e. when I successfuly edit the port number, my session perists.

And I've messaged you on Discord via DM

from cloudpanel-ce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.