› Forums › Network Management › Signal a BUG › https port not change after boot
- This topic is empty.
-
AuthorPosts
-
January 10, 2013 at 3:45 pm #43544
kirck
MemberHello,
I want to change my https port to access to zeroshell. When I edit the https port and click save, the old https port value load again. Then I reboot the zeroshell but the port access don’t change it, and I have to access with the old port value.
My Release is 1.0.beta16
Sorry for my bad english, and thanks in advance.
September 6, 2016 at 7:18 pm #52609pgbuz
Participantconfirm the problem. This happen when I try to change https port from https web page management connection. Cannot use http connection.
Kernel 4.4.13-ZS
Release 3.6.0September 9, 2016 at 2:02 am #52610iulyb
MemberHi,
I just did a few unit tests and I can confirm your bug.
I created a new branch for bugs https://github.com/jb68/zeroshell-ui/tree/bugfix
and uploaded a 2 lines change fix for this.You can create a patch and apply it to sethttps script
https://github.com/jb68/zeroshell-ui/commit/b318da683954cc563d24dd270bd7dc4951dd88e0You can also change every time both http and https port and should work.
September 13, 2016 at 5:48 am #52611pgbuz
Participantiulyb wrote:Hi,
a 2 lines change fix for this.
quote]I added the two lines at the file /root/kerbynet.cgi/scripts/sethttps and the correction is deleted after reboot. So I couldn’t use it.
Can you help me about the patch making? I have to use the cron script editor? how? Thank you
September 15, 2016 at 4:39 am #52612iulyb
MemberI have to admin a patch is not that simple so I did it for you.
If you are interested you can check http://tamsler.blogspot.ca/2009/02/patching-with-git-diff.htmlI created the patch and uploaded it so all you need is to save it on a directory that is not rewrite on reboot and apply it every time.
Login to zs then
mkdir -p /DB/opt/patch && cd /DB/opt/patch
wget http://jb68.com/pkg/sethttps_ui-ZS-3.6.0.patchNow on ZS web interface on preboot script add
cd /root/kerbynet.cgi && patch -p0 </DB/opt/patch/sethttps_ui-ZS-3.6.0.patchSeptember 15, 2016 at 5:25 am #52613pgbuz
ParticipantIulyB, you made a very easy way to solve. Solved for https port.
I cannot entry with 8080 default http port. I didn’t understood yet if is a browser problem. Some people can confirm functionality of http port?
Thank you very much and Best regards -
AuthorPosts
- You must be logged in to reply to this topic.