Page 1 of 1

unable to edit all things in virtual gateway after save

Posted: 30 May 2020, 11:17
by miami1983
Hi HSNM Support

we have HSNM with version 7.0.193 Stable

when we add new virtual gateway , we can set the new template and add all setting we need , dhcp pool , ip ,etc.. using option with multiple SSID service

but after save the new virtual-gateway and try to edit we see the option go to "with Multiple Authentication Method " and the option we use is gone

also we don't see the "Fields for Configuring the Gateway" , just only the wireless option , but we can edit or modify the DHCP pool or modify the templates needed to save and see that in gateway downloaded file that will be applied to mikrotik

see attach of issue after save the virtual gateway
virtual-gateway after save.PNG

Re: unable to edit all things in virtual gateway after save

Posted: 04 Jun 2020, 11:59
by HSNMSupport
Dear Miami,
please ensure that all data under "Fields for Configuring the Gateway" are correct.
We have tried to replicate your issue under your Gw and everything works correctly.
Have a nice day.

Re: unable to edit all things in virtual gateway after save

Posted: 13 Jun 2020, 10:24
by miami1983
Dear Miami,
please ensure that all data under "Fields for Configuring the Gateway" are correct.
We have tried to replicate your issue under your Gw and everything works correctly.
Have a nice day.
ok
but if i need to change or modify it after save the new virtual gateway .. i can't do anything and because i have external mysql db ,so i go there and change the ID of virtual gateway template to what i need

so it be sure to fixed and working directly from hSNM

Re: unable to edit all things in virtual gateway after save

Posted: 16 Jun 2020, 09:56
by HSNMSupport
Hi miami1983
Problem is probably due by some DB field missing on your external DB. Can you check under "System LOG" if you have any query error" If yes, can you provide us please?
Anyway I suggest you to execute a DB Upadate thrugh this URL http://HSNM_IP_OR_FQDN/functions/updatedb.php.

Best regards

Re: unable to edit all things in virtual gateway after save

Posted: 17 Jun 2020, 12:01
by miami1983
Hi,

here is the error i see ,

Error! Query error: Can't create/write to file './hsnm/db.opt' (Errcode: 2 - No such file or directory) (1) Query: ALTER DATABASE hsnm CHARACTER SET utf8 COLLATE utf8_unicode_ci (::functions::updatedb ->DbUpgrade::db->query)

Re: unable to edit all things in virtual gateway after save

Posted: 17 Jun 2020, 12:10
by HSNMSupport
Do you have only this error? or there are others?
As written into manual, your dbuser has al permission on the DB?
Thank you

Re: unable to edit all things in virtual gateway after save

Posted: 01 Jul 2020, 10:55
by miami1983
Do you have only this error? or there are others?
As written into manual, your dbuser has al permission on the DB?
Thank you
only this error
but using external db there are many and will request new ticket per each problem

Re: unable to edit all things in virtual gateway after save

Posted: 01 Jul 2020, 11:02
by HSNMSupport
Please check dbuser permissions on the db.
Then try to execute updatedb.php.
Let us know.